You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clvk has a conflict between what it exposes in CL_DEVICE_DOUBLE_FP_CONFIG and the cl_khr_fp64.
At the moment, cl_khr_fp64 is never exposed, while CL_DEVICE_DOUBLE_FP_CONFIG is not 0 when fp64 is supported.
I see two ways forward:
Always return 0 when CL_DEVICE_DOUBLE_FP_CONFIG is queried
Implement proper support for cl_khr_fp64:
2.1 Expose cl_khr_fp64 when fp64 is supported
2.2 Set CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE and CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE to something else that 0 when fp64 is supported
I would prefer solution 1 because as cl_khr_fp64 is never exposed at the moment, it means that the CTS is not testing clvk on fp64. Enabling those tests would add lots of work to pass CTS in the future.
The text was updated successfully, but these errors were encountered:
clvk
has a conflict between what it exposes inCL_DEVICE_DOUBLE_FP_CONFIG
and thecl_khr_fp64
.At the moment,
cl_khr_fp64
is never exposed, whileCL_DEVICE_DOUBLE_FP_CONFIG
is not0
whenfp64
is supported.I see two ways forward:
0
whenCL_DEVICE_DOUBLE_FP_CONFIG
is queriedcl_khr_fp64
:2.1 Expose
cl_khr_fp64
whenfp64
is supported2.2 Set
CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE
andCL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE
to something else that0
whenfp64
is supportedI would prefer solution 1 because as
cl_khr_fp64
is never exposed at the moment, it means that the CTS is not testingclvk
onfp64
. Enabling those tests would add lots of work to pass CTS in the future.The text was updated successfully, but these errors were encountered: