Skip to content

Commit

Permalink
add tracing for clSetCommandQueueProperty (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbaug authored Nov 26, 2024
1 parent c80a191 commit 22701a8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion intercept/src/dispatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 22701a8

Please sign in to comment.