summaryrefslogtreecommitdiffstats
path: root/test/CodeGenOpenCL/ptx-calls.cl
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenOpenCL/ptx-calls.cl')
-rw-r--r--test/CodeGenOpenCL/ptx-calls.cl7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/CodeGenOpenCL/ptx-calls.cl b/test/CodeGenOpenCL/ptx-calls.cl
index 34a21c6..d990451 100644
--- a/test/CodeGenOpenCL/ptx-calls.cl
+++ b/test/CodeGenOpenCL/ptx-calls.cl
@@ -2,11 +2,12 @@
void device_function() {
}
-// CHECK: define ptx_device void @device_function()
+// CHECK: define void @device_function()
__kernel void kernel_function() {
device_function();
}
-// CHECK: define ptx_kernel void @kernel_function()
-// CHECK: call ptx_device void @device_function()
+// CHECK: define void @kernel_function()
+// CHECK: call void @device_function()
+// CHECK: !{{[0-9]+}} = metadata !{void ()* @kernel_function, metadata !"kernel", i32 1}
OpenPOWER on IntegriCloud