Home | History | Annotate | Download | only in CodeGenOpenCL
      1 // RUN: %clang_cc1 %s -triple ptx32-unknown-unknown -emit-llvm -o - | FileCheck %s
      2 
      3 void device_function() {
      4 }
      5 // CHECK: define ptx_device void @device_function()
      6 
      7 __kernel void kernel_function() {
      8 }
      9 // CHECK: define ptx_kernel void @kernel_function()
     10 
     11