diff --git a/intercept/src/clIntercept.def b/intercept/src/clIntercept.def index 5fbc4e6e..8f28d410 100644 --- a/intercept/src/clIntercept.def +++ b/intercept/src/clIntercept.def @@ -85,6 +85,7 @@ EXPORTS clGetKernelArgInfo clGetKernelInfo clGetKernelSubGroupInfo + clGetKernelSuggestedLocalWorkSize clGetKernelWorkGroupInfo clGetMemObjectInfo clGetPipeInfo diff --git a/intercept/src/clIntercept.map b/intercept/src/clIntercept.map index cedb8158..a009bc2e 100644 --- a/intercept/src/clIntercept.map +++ b/intercept/src/clIntercept.map @@ -164,3 +164,8 @@ OPENCL_3.0 { clCreateImageWithProperties; clSetContextDestructorCallback; } OPENCL_2.2; + +OPENCL_3.1 { + global: + clGetKernelSuggestedLocalWorkSize; +} OPENCL_3.0; diff --git a/intercept/src/cliprof_init.cpp b/intercept/src/cliprof_init.cpp index b242af98..d30efe5a 100644 --- a/intercept/src/cliprof_init.cpp +++ b/intercept/src/cliprof_init.cpp @@ -171,6 +171,7 @@ DWORD cliprof_init( void* dummy ) REPLACE_FUNCTION( name, clGetKernelArgInfo ); REPLACE_FUNCTION( name, clGetKernelInfo ); REPLACE_FUNCTION( name, clGetKernelSubGroupInfo ); + REPLACE_FUNCTION( name, clGetKernelSuggestedLocalWorkSize ); REPLACE_FUNCTION( name, clGetKernelWorkGroupInfo ); REPLACE_FUNCTION( name, clGetMemObjectInfo ); REPLACE_FUNCTION( name, clGetPipeInfo );