1 // RUN: %clang_cc1 %s -triple nvptx-unknown-unknown -emit-llvm -o - | FileCheck %s 2 3 void device_function() { 4 } 5 // CHECK-LABEL: define void @device_function() 6 7 __kernel void kernel_function() { 8 } 9 // CHECK-LABEL: define void @kernel_function() 10 11 // CHECK: !{{[0-9]+}} = !{void ()* @kernel_function, !"kernel", i32 1} 12