Closed
Description
SYCL device runtime code uses various "intrinsic" functionalities like getting global and local id of a work item or group, which is usually expressed via efficient hardware-mapped code sequences in the native device code. SYCL device runtime should clearly define an interface layer of such intrinsic functionality and mechanisms to implement it for various devices, including those without SPIRV support. See some discussion here:
#221 (comment)
Currently device-side APIs this functionality are defined in headers under CL/__spirv directory.