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.
clang/test/CodeGenOpenCL/builtins-amdgcn-gfx1250.cl
1 parent 38aec4f commit c72507dCopy full SHA for c72507d
clang/test/CodeGenOpenCL/builtins-amdgcn-gfx1250.cl
@@ -2,6 +2,10 @@
2
// RUN: %clang_cc1 -cl-std=CL2.0 -O0 -triple amdgcn-unknown-unknown -target-cpu gfx1250 -emit-llvm -o - %s | FileCheck %s
3
// REQUIRES: amdgpu-registered-target
4
5
+#pragma OPENCL EXTENSION cl_khr_fp16 : enable
6
+
7
+typedef half __attribute__((ext_vector_type(2))) half2;
8
9
// CHECK-LABEL: @test_setprio_inc_wg(
10
// CHECK-NEXT: entry:
11
// CHECK-NEXT: call void @llvm.amdgcn.s.setprio.inc.wg(i16 10)
0 commit comments