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 84f0f11 commit 3f70dedCopy full SHA for 3f70ded
sycl/test/check_device_code/device_global_const.cpp
@@ -13,8 +13,8 @@ device_global<const int> DeviceGlobalVar;
13
int main() {
14
queue Q;
15
Q.single_task([]() {
16
- // CHECK-CONST: (ptr addrspace(4) @DeviceGlobalVar
17
- // CHECK: (ptr addrspace(1) @DeviceGlobalVar
+ // CHECK-CONST: addrspace(4) @DeviceGlobalVar
+ // CHECK: addrspace(1) @DeviceGlobalVar
18
volatile int ReadVal = DeviceGlobalVar;
19
});
20
return 0;
0 commit comments