You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* initial version of USM checking
When USMChecking is enabled, log the type of USM allocation and
its associated device when it is set as a kernel argument.
* fix typo
Copy file name to clipboardExpand all lines: docs/controls.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -207,6 +207,10 @@ If set to a nonzero value, the Intercept Layer for OpenCL Applications will chec
207
207
208
208
If set to a nonzero value, the Intercept Layer for OpenCL Applications will check for leaks of various OpenCL objects, such as memory objects and events.
209
209
210
+
##### `USMChecking` (bool)
211
+
212
+
If set to a nonzero value, the Intercept Layer for OpenCL Applications will check for incorrect usage of Unified Shared Memory (USM) pointers.
213
+
210
214
##### `CLInfoLogging` (bool)
211
215
212
216
If set to a nonzero value, logs information about the platforms and devices in the system on the first call to clGetPlatformIDs().
Copy file name to clipboardExpand all lines: intercept/src/controls.h
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,7 @@ CLI_CONTROL( cl_uint, ContextHintLevel, 0, "If s
50
50
CLI_CONTROL( bool, EventCallbackLogging, false, "If set to a nonzero value, the Intercept Layer for OpenCL Applications will install its own callback for every event callback and log the call to the event callback. The application's event callback will be invoked after the Intercept Layer for OpenCL Applications' event callback." )
51
51
CLI_CONTROL( bool, EventChecking, false, "If set to a nonzero value, the Intercept Layer for OpenCL Applications will check and log any events in an event wait list that are invalid or in an error state. This can help to debug complex event dependency issues." )
52
52
CLI_CONTROL( bool, LeakChecking, false, "If set to a nonzero value, the Intercept Layer for OpenCL Applications will check for leaks of various OpenCL objects, such as memory objects and events." )
53
+
CLI_CONTROL( bool, USMChecking, false, "If set to a nonzero value, the Intercept Layer for OpenCL Applications will check for incorrect usage of Unified Shared Memory (USM) pointers." )
53
54
CLI_CONTROL( bool, CLInfoLogging, false, "If set to a nonzero value, logs information about the platforms and devices in the system on the first call to clGetPlatformIDs()." )
54
55
CLI_CONTROL( std::string, DumpDir, "", "If set, the Intercept Layer for OpenCL Applications will emit logs and dumps to this directory instead of the default directory. The default log and dump directory is \"%SYSTEMDRIVE%\\Intel\\CLIntercept_Dump\\<Process Name>\" on Windows and \"~/CLIntercept_Dump/<Process Name>\" on other operating systems. The log and dump directory must be writeable, otherwise the Intercept Layer for OpenCL Applications will not be able to create or modify log or dump files." )
55
56
CLI_CONTROL( bool, AppendPid, false, "If set, the Intercept Layer for OpenCL Applications will append process ID to the log directory name." )
0 commit comments