mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
feat(zebin): code improvements
- Set initial value for ArgIndexT index in KernelArgMiscInfoT struct - Add check for arg index in extended metadata in order to avoid OOB accesses - Fix missing: populating ArgTypeTraits + refactor ULTs in order to check it - Add missing ULTs for Program::callPopulateZebinExtendedArgsMetadataOnce Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2d229f3fea
commit
a12251d464
@@ -790,9 +790,9 @@ using namespace Kernel::ExecutionEnv;
|
||||
} // namespace Function
|
||||
|
||||
namespace Miscellaneous {
|
||||
using ArgIndexT = uint32_t;
|
||||
using ArgIndexT = int32_t;
|
||||
struct KernelArgMiscInfoT {
|
||||
ArgIndexT index;
|
||||
ArgIndexT index = -1;
|
||||
std::string kernelName;
|
||||
std::string argName;
|
||||
std::string accessQualifier;
|
||||
|
||||
Reference in New Issue
Block a user