Skip to content

Commit 10cef0c

Browse files
committed
add tracing for clSetCommandQueueProperty
1 parent c80a191 commit 10cef0c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

intercept/src/dispatch.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,12 @@ CL_API_ENTRY cl_int CL_API_CALL CLIRN(clSetCommandQueueProperty)(
942942
if( pIntercept && pIntercept->dispatch().clSetCommandQueueProperty )
943943
{
944944
GET_ENQUEUE_COUNTER();
945-
CALL_LOGGING_ENTER();
945+
CALL_LOGGING_ENTER( "queue = %p, properties = %s (%llX), enable = %s, old_properties = %p",
946+
command_queue,
947+
pIntercept->enumName().name_command_queue_properties( properties ).c_str(),
948+
properties,
949+
enable ? "CL_TRUE" : "CL_FALSE",
950+
old_properties );
946951
HOST_PERFORMANCE_TIMING_START();
947952

948953
cl_int retVal = pIntercept->dispatch().clSetCommandQueueProperty(

0 commit comments

Comments
 (0)