From 10cef0c298c272abf6ec1d4f6bb22ab7ee73a0e0 Mon Sep 17 00:00:00 2001 From: Ben Ashbaugh Date: Tue, 26 Nov 2024 10:19:46 -0800 Subject: [PATCH] add tracing for clSetCommandQueueProperty --- intercept/src/dispatch.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/intercept/src/dispatch.cpp b/intercept/src/dispatch.cpp index b91ce1f..ed78182 100644 --- a/intercept/src/dispatch.cpp +++ b/intercept/src/dispatch.cpp @@ -942,7 +942,12 @@ CL_API_ENTRY cl_int CL_API_CALL CLIRN(clSetCommandQueueProperty)( if( pIntercept && pIntercept->dispatch().clSetCommandQueueProperty ) { GET_ENQUEUE_COUNTER(); - CALL_LOGGING_ENTER(); + CALL_LOGGING_ENTER( "queue = %p, properties = %s (%llX), enable = %s, old_properties = %p", + command_queue, + pIntercept->enumName().name_command_queue_properties( properties ).c_str(), + properties, + enable ? "CL_TRUE" : "CL_FALSE", + old_properties ); HOST_PERFORMANCE_TIMING_START(); cl_int retVal = pIntercept->dispatch().clSetCommandQueueProperty(