diff --git a/include/VecCore/Common.h b/include/VecCore/Common.h index a7e5163..893ec30 100644 --- a/include/VecCore/Common.h +++ b/include/VecCore/Common.h @@ -14,7 +14,10 @@ #endif #include "CUDA.h" -#include "SIMD.h" + +#ifndef VECCORE_CUDA +# include "SIMD.h" +#endif #ifdef _MSC_VER #define __restrict__ __restrict diff --git a/include/VecCore/VecCore b/include/VecCore/VecCore index 03e17b3..097a9f1 100644 --- a/include/VecCore/VecCore +++ b/include/VecCore/VecCore @@ -14,9 +14,9 @@ #include "Backend/Scalar.h" #include "Backend/ScalarWrapper.h" -#include "Backend/SIMD.h" #if !defined(VECCORE_CUDA) +#include "Backend/SIMD.h" #include "Backend/SIMDSizes.h" #include "Backend/Vc.h" #include "Backend/UMESimd.h"