Skip to content

Clarity on differences between 32-bit atomic extensions and core functions #1013

@oddhack

Description

@oddhack

The extensions spec describes the functions provided by the extensions as

These extensions became core features in OpenCL 1.1, except the built-in atomic function names are changed to use the atomic_ prefix instead of atom_ and the volatile qualifier was added to the pointer parameter p.

However, the OpenCL C spec isn't entirely consistent with this - it describes both atomic_ and atom_ functions, and all of them (with one exception which looks like an editing inconsistency) have the volatile qualifier. To complete the extension integration with the C spec, I'd like to figure out:

  • Does the core provide only the atomic_ variants, or both atomic_ and atom_ variants of these functions?
  • Do the atom_ variants as provided by the extensions indeed not have the volatile qualifier?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions