[OpenCL] clSetKernelArg
returning incorrect CL_SUCCESS
on Intel UHD GPU
#777
Labels
clSetKernelArg
returning incorrect CL_SUCCESS
on Intel UHD GPU
#777
Observed Behaviour
As per the OpenCL spec, there are 4 instances where
clSetKernelArg
should returnCL_INVALID_ARG_SIZE
:arg_size != sizeof(cl_mem)
arg_size != sizeof(cl_sampler)
Below is a reproducer for which instance 1 incorrectly returns
CL_SUCCESS
, resulting in the program to fail. I'm also observing instance 3 returnCL_SUCCESS
and can attach further reproducers for that if desired.Environment info (from
clinfo
)Code to reproduce
The text was updated successfully, but these errors were encountered: