OpenCL: 'Unhandled exception: Procedure not found' when calling clCreateUserEvent

Hi,

I couldn’t find a dedicated OpenCL forum, if I need to be somewhere else please let me know.

I’ve received a crash report from a user of my application which tells me the application crashed with a ‘Procedure note found’ while calling clCreateUserEvent(). Until that point the application appears to be working fine, it must have been able to schedule kernels, allocate buffers etc.

Since clCreateUserEvent is an OpenCL 1.1 specific function and the error is Procedure not found, it seems my application is somehow calling into an OpenCL 1.0 DLL. But the OpenCL info clearly states that his platform is OpenCL1.2 capable. See details below. OS is Win7 64 bit. Any ideas?

Thanks
Joost

— OpenCL: —
Platform 0:
CL_PLATFORM_PROFILE: FULL_PROFILE
CL_PLATFORM_VERSION:
CL_PLATFORM_NAME: NVIDIA CUDA
CL_PLATFORM_VENDOR: NVIDIA Corporation
CL_PLATFORM_EXTENSIONS: cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d9_sharing cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts
Device 0:
NAME: GeForce GTX 970
CL_DEVICE_ADDRESS_BITS: 64
CL_DEVICE_AVAILABLE: true
CL_DEVICE_COMPILER_AVAILABLE: true
CL_DEVICE_ENDIAN_LITTLE: true
CL_DEVICE_ERROR_CORRECTION_SUPPORT: false
CL_DEVICE_EXECUTION_CAPABILITIES: 1
CL_DEVICE_EXTENSIONS: cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d9_sharing cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts
CL_DEVICE_GLOBAL_MEM_CACHE_SIZE: 212992
CL_DEVICE_GLOBAL_MEM_CACHE_TYPE: 2
CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE: 128
CL_DEVICE_GLOBAL_MEM_SIZE: 4294967296
CL_DEVICE_HALF_FP_CONFIG: OpenCL error: CL_INVALID_VALUE (-30) in function clgetDeviceInfo

CL_DEVICE_HOST_UNIFIED_MEMORY: false
CL_DEVICE_IMAGE_SUPPORT: true
CL_DEVICE_IMAGE2D_MAX_HEIGHT: 16384
CL_DEVICE_IMAGE2D_MAX_WIDTH: 16384
CL_DEVICE_IMAGE3D_MAX_DEPTH: 4096
CL_DEVICE_IMAGE3D_MAX_HEIGHT: 4096
CL_DEVICE_IMAGE3D_MAX_WIDTH: 4096
CL_DEVICE_LOCAL_MEM_SIZE: 49152
CL_DEVICE_LOCAL_MEM_TYPE: 1
CL_DEVICE_MAX_CLOCK_FREQUENCY: 1342
CL_DEVICE_MAX_COMPUTE_UNITS: 13
CL_DEVICE_MAX_CONSTANT_ARGS: 9
CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE: 65536
CL_DEVICE_MAX_MEM_ALLOC_SIZE: 1073741824
CL_DEVICE_MAX_PARAMETER_SIZE: 4352
CL_DEVICE_MAX_READ_IMAGE_ARGS: 256
CL_DEVICE_MAX_SAMPLERS: 32
CL_DEVICE_MAX_WORK_GROUP_SIZE: 1024
CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS: 3
CL_DEVICE_MAX_WRITE_IMAGE_ARGS: 16
CL_DEVICE_MEM_BASE_ADDR_ALIGN: 4096
CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE: 128
CL_DEVICE_NAME: GeForce GTX 970
CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR: 1
CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE: 1
CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT: 1
CL_DEVICE_NATIVE_VECTOR_WIDTH_HALF: 0
CL_DEVICE_NATIVE_VECTOR_WIDTH_INT: 1
CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG: 1
CL_DEVICE_NATIVE_VECTOR_WIDTH_SHORT: 1
CL_DEVICE_OPENCL_C_VERSION: OpenCL C 1.2 
CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR: 1
CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE: 1
CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT: 1
CL_DEVICE_PREFERRED_VECTOR_WIDTH_HALF: 0
CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT: 1
CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG: 1
CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT: 1
CL_DEVICE_PROFILE: FULL_PROFILE
CL_DEVICE_PROFILING_TIMER_RESOLUTION: 1000
CL_DEVICE_QUEUE_PROPERTIES: 3
CL_DEVICE_SINGLE_FP_CONFIG: 191
CL_DEVICE_TYPE: 4
CL_DEVICE_VENDOR_ID: 4318
CL_DEVICE_VENDOR: NVIDIA Corporation
CL_DEVICE_VERSION: OpenCL 1.2 CUDA
CL_DRIVER_VERSION: 358.91
CL_DEVICE_MAX_WORK_ITEM_SIZES: [1024, 1024, 64]