diff --git a/.travis.yml b/.travis.yml index eb4b833..5bc42d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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++