Skip to content
Commit 11516c0b authored by Kévin Petit's avatar Kévin Petit Committed by alan-baker
Browse files

Validate storage class OpenCL environment rules for atomics (#2750)



This change refactors all storage class validation for atomics
to reflect the similar refactoring in the specification.

It is currently not possible to write a test for the check
rejecting Generic in an OpenCL 1.2 environment as the required
GenericPointer capability isn't allowed there. I've decided
to keep the check nonetheless to guard against the capability
becoming available without the rules for atomics being updated.

The ID changes in existing tests aren't ideal but introducing
names drags in a substantial refactoring of this file.

Contributes to #2595.

Signed-off-by: default avatarKevin Petit <kevin.petit@arm.com>
parent bac82f49
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment