Skip to content
Snippets Groups Projects
Verified Commit 35113747 authored by Guilherme Amadio's avatar Guilherme Amadio
Browse files

Avoid including SIMD headers when compiling with nvcc

parent c5bc627b
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,10 @@ ...@@ -14,7 +14,10 @@
#endif #endif
#include "CUDA.h" #include "CUDA.h"
#include "SIMD.h"
#ifndef VECCORE_CUDA
# include "SIMD.h"
#endif
#ifdef _MSC_VER #ifdef _MSC_VER
#define __restrict__ __restrict #define __restrict__ __restrict
......
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
#include "Backend/Scalar.h" #include "Backend/Scalar.h"
#include "Backend/ScalarWrapper.h" #include "Backend/ScalarWrapper.h"
#include "Backend/SIMD.h"
#if !defined(VECCORE_CUDA) #if !defined(VECCORE_CUDA)
#include "Backend/SIMD.h"
#include "Backend/SIMDSizes.h" #include "Backend/SIMDSizes.h"
#include "Backend/Vc.h" #include "Backend/Vc.h"
#include "Backend/UMESimd.h" #include "Backend/UMESimd.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment