[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Preprocessor / hip-host-cpu-macros.cu
blob7c255103db02e06bfd5a47fd840567a9bb228491
1 // REQUIRES: x86-registered-target
2 // REQUIRES: amdgpu-registered-target
4 #ifdef __HIP_DEVICE_COMPILE__
5 DEVICE __SSE3__
6 #else
7 HOST __SSE3__
8 #endif
10 // RUN: %clang -x hip -E -target x86_64-linux-gnu -msse3 --cuda-gpu-arch=gfx803 -nogpulib -nogpuinc -nobuiltininc -o - %s 2>&1 | FileCheck %s
12 // CHECK-NOT: SSE3