Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A definition of a GPU #545

Open
al42and opened this issue Mar 20, 2024 · 1 comment
Open

A definition of a GPU #545

al42and opened this issue Mar 20, 2024 · 1 comment

Comments

@al42and
Copy link

al42and commented Mar 20, 2024

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
Copy link
Contributor

Discussed and will work on an update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants