mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
refactor: clSetKernelArgSVMPtr ptr error if debug var set
Related-To: NEO-12988 Signed-off-by: John Falkowski <john.falkowski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
23394ad330
commit
764fd33a46
@@ -155,6 +155,8 @@ std::string getOclVersionCompilerInternalOption(unsigned int oclVersion) {
|
||||
cl_version getOclCExtensionVersion(std::string name, cl_version defaultVer) {
|
||||
if (name.compare("cl_khr_integer_dot_product") == 0) {
|
||||
return CL_MAKE_VERSION(2u, 0, 0);
|
||||
} else if (name.compare("cl_intel_unified_shared_memory") == 0) {
|
||||
return CL_MAKE_VERSION(1u, 1u, 0);
|
||||
} else if (name.compare("cl_khr_external_memory") == 0) {
|
||||
return CL_MAKE_VERSION(0, 9u, 1u);
|
||||
} else {
|
||||
|
||||
@@ -317,6 +317,7 @@ DECLARE_DEBUG_VARIABLE(int32_t, EnablePidFdOrSocketsForIpc, -1, "-1: default, 0:
|
||||
DECLARE_DEBUG_VARIABLE(int32_t, OverrideCopyOffloadMode, -1, "-1: default, 0: disabled, >=1: if enabled, override to any value from CopyOffloadModes enum")
|
||||
DECLARE_DEBUG_VARIABLE(int32_t, UseSingleListForTemporaryAllocations, -1, "-1: default, 0: disabled, 0: enabled. If enabled, use single list, instead of per CSR for tracking temporary allocations")
|
||||
DECLARE_DEBUG_VARIABLE(int32_t, OverrideMaxMemAllocSizeMb, -1, "-1: default, >=0 override reported max mem alloc size in MB")
|
||||
DECLARE_DEBUG_VARIABLE(int32_t, DetectIncorrectPointersOnSetArgCalls, -1, "-1: default do not detect, 0: do not detect, 1: detect incorrect pointers and return error")
|
||||
|
||||
/*LOGGING FLAGS*/
|
||||
DECLARE_DEBUG_VARIABLE(int32_t, PrintDriverDiagnostics, -1, "prints driver diagnostics messages to standard output, value corresponds to hint level")
|
||||
|
||||
Reference in New Issue
Block a user