brintos

brintos / llvm-project-archived public Read only

0
0
Text · 265 B · eac0df4 Raw
10 lines · plain
1// RUN: %clang_cc1 %s -triple nvptx-unknown-unknown -emit-llvm -o - | FileCheck %s2 3void device_function() {4}5// CHECK-LABEL: define{{.*}} void @device_function()6 7__kernel void kernel_function() {8}9// CHECK-LABEL: define{{.*}} ptx_kernel void @kernel_function()10