KhronosGroup / SYCL-Docs

SYCL Open Source Specification
Other
109 stars 67 forks source link

A definition of a GPU #545

Open al42and opened 5 months ago

al42and commented 5 months ago

Very minor nitpick:

Currently, the spec says that a GPU is:

A device that can also be used to accelerate a 3D graphics API.

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:

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"?

tomdeakin commented 5 months ago

Discussed and will work on an update.