We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8aceb1 commit 84f0f11Copy full SHA for 84f0f11
sycl/test/check_device_code/device_global_const.cpp
@@ -1,6 +1,6 @@
1
// RUN: %clangxx -fsycl -fsycl-device-only %if cuda %{ -fsycl-targets=nvptx64-nvidia-cuda %} %if hip-amd %{ -fsycl-targets=amdgcn-amd-amdhsa -Xsycl-target-backend --offload-arch=gfx90a %} -S -emit-llvm %s -o - | FileCheck %s %if cuda || hip-amd %{ --check-prefixes=CHECK-CONST %}
2
3
-// Tests that const T device_global uses const address space for cuda/hip and
+// Tests that device_global<const T> uses const address space for cuda/hip and
4
// global address space otherwise
5
6
#include <sycl/sycl.hpp>
0 commit comments