Using enums, while safe in most place, can be an ABI issue due to compiler specific behavior regarding enums backing type. This removes the cl_icld_infoenum type and maps it to a cl_uint to keep coherence with the rest of the OpenCL API/ABI.
This could break clinfo on 16bit big endian platforms if one exists.
I am keeping the test as it is currently. It should trigger on problematic platforms, hopefully someone will report such a platform.
Using enums, while safe in most place, can be an ABI issue due to compiler specific behavior regarding enums backing type. This removes the
cl_icld_info
enum
type and maps it to acl_uint
to keep coherence with the rest of the OpenCL API/ABI.This could break
clinfo
on 16bit big endian platforms if one exists.I am keeping the test as it is currently. It should trigger on problematic platforms, hopefully someone will report such a platform.