1
0
forked from boostorg/mp11

Add -D__device__=__attribute__((device))

This commit is contained in:
Peter Dimov
2018-04-26 15:20:30 +03:00
parent be199cd943
commit dec6df008c

View File

@@ -196,7 +196,7 @@ matrix:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0
script:
- clang++-5.0 -I . -c -x cuda -nocudainc -nocudalib --cuda-gpu-arch=sm_30 -std=c++11 libs/mp11/test/mp11.cpp
- clang++-5.0 -I . -c -x cuda -nocudainc -nocudalib --cuda-gpu-arch=sm_30 -D__device__="__attribute__((device))" -std=c++11 libs/mp11/test/mp11.cpp
- os: osx
compiler: clang++