From 0941d46c3ba2cb03bae9fe0df0b1e12af97b2291 Mon Sep 17 00:00:00 2001 From: Ben Ashbaugh Date: Tue, 11 Aug 2026 13:31:54 -0700 Subject: [PATCH] a few more minor OpenCL 3.1 related changes --- intercept/src/clIntercept.def | 1 + intercept/src/clIntercept.map | 5 +++++ intercept/src/cliprof_init.cpp | 1 + 3 files changed, 7 insertions(+) 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 );