Remove possibility of accessing directly USM device memory in debug logs
clEnqueueSVMMemFill() is utilized by clEnqueueMemFillINTEL(). The latter may receive USM device pointers. If anyone passed such pointer then SEGMENTATION_FAULT would occur. Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
This commit is contained in:
parent
6175a3e785
commit
46e0317548
|
@ -4740,7 +4740,7 @@ cl_int CL_API_CALL clEnqueueSVMMemFill(cl_command_queue commandQueue,
|
||||||
API_ENTER(&retVal);
|
API_ENTER(&retVal);
|
||||||
|
|
||||||
DBG_LOG_INPUTS("commandQueue", commandQueue,
|
DBG_LOG_INPUTS("commandQueue", commandQueue,
|
||||||
"svmPtr", NEO::fileLoggerInstance().infoPointerToString(svmPtr, size),
|
"svmPtr", svmPtr,
|
||||||
"pattern", NEO::fileLoggerInstance().infoPointerToString(pattern, patternSize),
|
"pattern", NEO::fileLoggerInstance().infoPointerToString(pattern, patternSize),
|
||||||
"patternSize", patternSize,
|
"patternSize", patternSize,
|
||||||
"size", size,
|
"size", size,
|
||||||
|
|
Loading…
Reference in New Issue