You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
336 B
14 lines
336 B
4 months ago
|
// REQUIRES: clang-driver
|
||
|
// REQUIRES: x86-registered-target
|
||
|
// REQUIRES: amdgpu-registered-target
|
||
|
|
||
|
#ifdef __HIP_DEVICE_COMPILE__
|
||
|
DEVICE __SSE3__
|
||
|
#else
|
||
|
HOST __SSE3__
|
||
|
#endif
|
||
|
|
||
|
// RUN: %clang -x hip -E -target x86_64-linux-gnu -msse3 --cuda-gpu-arch=gfx803 -nogpulib -nogpuinc -nobuiltininc -o - %s 2>&1 | FileCheck %s
|
||
|
|
||
|
// CHECK-NOT: SSE3
|