Mercurial > hg > CbC > CbC_llvm
view clang/test/CodeGenCUDA/norecurse.cu @ 266:00f31e85ec16 default tip
Added tag current for changeset 31d058e83c98
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 14 Oct 2023 10:13:55 +0900 |
parents | 0572611fdcc8 |
children |
line wrap: on
line source
// REQUIRES: amdgpu-registered-target // REQUIRES: nvptx-registered-target // RUN: %clang_cc1 -triple nvptx-nvidia-cuda -fcuda-is-device \ // RUN: -emit-llvm -disable-llvm-passes -o - %s | FileCheck %s // RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -fcuda-is-device \ // RUN: -emit-llvm -disable-llvm-passes -o - -x hip %s | FileCheck %s #include "Inputs/cuda.h" __global__ void kernel1(int a) {} // CHECK: define{{.*}}@_Z7kernel1i{{.*}}#[[ATTR:[0-9]*]] // CHECK: attributes #[[ATTR]] = {{.*}}norecurse