An OpenCL device similar to a GPU (Graphics Processing Unit). Many systems include a dedicated processor for graphics or rendering that may be considered a GPU OpenCL device.
Which is a bit tautological, but SYCL already defines aspect::cpu as "A device that runs on a CPU." (which is an awkward phrasing, IMO, but it gets the point across).
Perhaps it would be better to redefine aspect::gpu as "A GPU or a device with GPU-like architecture"?
Very minor nitpick:
Currently, the spec says that a GPU is:
That implies some kind of interoperability with graphics APIs and also that, e.g., NVIDIA A100 in MIG mode is not a GPU.
For the reference, OpenCL defines
CL_DEVICE_TYPE_GPU
as:Which is a bit tautological, but SYCL already defines
aspect::cpu
as "A device that runs on a CPU." (which is an awkward phrasing, IMO, but it gets the point across).Perhaps it would be better to redefine
aspect::gpu
as "A GPU or a device with GPU-like architecture"?