From e090470293615be6cd8f2225b95ced88c9e925e6 Mon Sep 17 00:00:00 2001 From: Ben Ashbaugh Date: Tue, 29 Apr 2025 15:08:47 -0700 Subject: [PATCH] add the program object to a few missing APIs for call logging --- intercept/src/dispatch.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/intercept/src/dispatch.cpp b/intercept/src/dispatch.cpp index 0cebbb3c..b9a1c340 100644 --- a/intercept/src/dispatch.cpp +++ b/intercept/src/dispatch.cpp @@ -2564,7 +2564,8 @@ CL_API_ENTRY cl_int CL_API_CALL CLIRN(clGetProgramInfo)( if( pIntercept && pIntercept->dispatch().clGetProgramInfo ) { GET_ENQUEUE_COUNTER(); - CALL_LOGGING_ENTER( "param_name = %s (%08X)", + CALL_LOGGING_ENTER( "program = %p, param_name = %s (%08X)", + program, pIntercept->enumName().name( param_name ).c_str(), param_name ); HOST_PERFORMANCE_TIMING_START(); @@ -2601,7 +2602,8 @@ CL_API_ENTRY cl_int CL_API_CALL CLIRN(clGetProgramBuildInfo)( if( pIntercept && pIntercept->dispatch().clGetProgramBuildInfo ) { GET_ENQUEUE_COUNTER(); - CALL_LOGGING_ENTER( "param_name = %s (%08X)", + CALL_LOGGING_ENTER( "program = %p, param_name = %s (%08X)", + program, pIntercept->enumName().name( param_name ).c_str(), param_name ); HOST_PERFORMANCE_TIMING_START();