brintos

brintos / llvm-project-archived public Read only

0
0
Text · 527 B · b56a482 Raw
8 lines · plain
1// RUN: %clang_cc1 -cl-std=CL2.0 -triple nvptx-unknown-unknown -Wpedantic-core-features %s 2> %t2// RUN: FileCheck --check-prefixes=CHECK-C < %t %s3// RUN: %clang_cc1 -cl-std=CLC++ -triple nvptx-unknown-unknown -Wpedantic-core-features %s 2> %t4// RUN: FileCheck --check-prefixes=CHECK-CPP < %t %s5 6// CHECK-C: cl_khr_3d_image_writes is a core feature in OpenCL C version 2.0 but not supported on this target7// CHECK-CPP: cl_khr_3d_image_writes is a core feature in C++ for OpenCL version 1.0 but not supported on this target8