forked from OSchip/llvm-project
d54e7b731e
Add the `memory_scope_all_devices` enum value, which is restricted to OpenCL 3.0 or newer and the `__opencl_c_atomic_scope_all_devices` feature. Also guard `memory_scope_all_svm_devices` accordingly, which is already available in OpenCL 2.0. The `__opencl_c_atomic_scope_all_devices` feature is header-only, so set its define to 1 in `opencl-c-base.h`. This is done unconditionally at the moment, as the mechanism for disabling header-only options hasn't been decided yet. This patch only adds a negative test for now. Ideally adding a CL3.0 run line to atomic-ops.cl should suffice as a positive test, but we cannot do that yet until (at least) generic address spaces and program scope variables are supported in OpenCL 3.0 mode. Differential Revision: https://reviews.llvm.org/D103241 |
||
---|---|---|
.. | ||
access-qualifier.cl | ||
address-spaces-conversions-cl2.0.cl | ||
address-spaces.cl | ||
amdgpu-attrs.cl | ||
arithmetic-conversions.cl | ||
arm-integer-dot-product.cl | ||
array-init.cl | ||
array-parameters.cl | ||
as_type.cl | ||
atomic-init.cl | ||
atomic-ops.cl | ||
block-array-capturing.cl | ||
bool-vectors.cl | ||
builtin.cl | ||
builtins-amdgcn-error-ci.cl | ||
builtins-amdgcn-error-f16.cl | ||
builtins-amdgcn-error-flat-address-space.cl | ||
builtins-amdgcn-error-gfx9.cl | ||
builtins-amdgcn-error-gfx10-param.cl | ||
builtins-amdgcn-error-gfx10.cl | ||
builtins-amdgcn-error-gfx90a-param.cl | ||
builtins-amdgcn-error-gfx908-param.cl | ||
builtins-amdgcn-error-vi.cl | ||
builtins-amdgcn-error.cl | ||
cl20-device-side-enqueue.cl | ||
clang-builtin-version.cl | ||
clk_event_t.cl | ||
cond.cl | ||
convergent.cl | ||
endian-attr.cl | ||
event_t.cl | ||
event_t_overload.cl | ||
ext_vectors.cl | ||
extension-begin.cl | ||
extension-begin.h | ||
extension-version.cl | ||
fdeclare-opencl-builtins.cl | ||
features.cl | ||
format-strings-fixit.cl | ||
fp-options.cl | ||
fp64-fp16-options.cl | ||
func.cl | ||
half.cl | ||
images.cl | ||
init.cl | ||
intel-subgroup-avc-ext-types.cl | ||
invalid-assignment-constant-address-space.cl | ||
invalid-block.cl | ||
invalid-constant.cl | ||
invalid-image.cl | ||
invalid-kernel-attrs.cl | ||
invalid-kernel-parameters.cl | ||
invalid-kernel.cl | ||
invalid-pipe-builtin-cl2.0.cl | ||
invalid-pipes-cl1.2.cl | ||
invalid-pipes-cl2.0.cl | ||
invalid-vector-literals.cl | ||
lit.local.cfg | ||
multistep-explicit-cast.cl | ||
nosvm.cl | ||
null_literal.cl | ||
null_queue.cl | ||
numbered-address-space.cl | ||
operators.cl | ||
predefined-expr.cl | ||
printf-format-string-warnings.cl | ||
printf-format-strings.cl | ||
queue_t_overload.cl | ||
recovery-expr.cl | ||
sampler_t.cl | ||
sampler_t_overload.cl | ||
shifts.cl | ||
sizeof.cl | ||
storageclass-cl20.cl | ||
storageclass.cl | ||
str_literals.cl | ||
to_addr_builtin.cl | ||
types.cl | ||
unroll-hint.cl | ||
unsupported.cl | ||
usm-address-spaces-conversions.cl | ||
vec_compare.cl | ||
vec_step.cl | ||
vector-conv.cl | ||
vector_inc_dec_ops.cl | ||
vector_swizzle_length.cl | ||
warn-missing-prototypes.cl |