From 12e5f4d035f8ac7ac7d52cc78111dfec04f06d7d Mon Sep 17 00:00:00 2001
From: Michael Kuron <mkuron@icp.uni-stuttgart.de>
Date: Wed, 18 Sep 2019 11:39:50 +0200
Subject: [PATCH] fix CUDA Philox test

---
 pystencils/include/philox_rand.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/pystencils/include/philox_rand.h b/pystencils/include/philox_rand.h
index 642cc9aa5..5df48abb0 100644
--- a/pystencils/include/philox_rand.h
+++ b/pystencils/include/philox_rand.h
@@ -14,12 +14,11 @@
 
 #ifndef __CUDA_ARCH__
 #define QUALIFIERS inline
+#include "myintrin.h"
 #else
 #define QUALIFIERS static __forceinline__ __device__
 #endif
 
-#include "myintrin.h"
-
 #define PHILOX_W32_0   (0x9E3779B9)
 #define PHILOX_W32_1   (0xBB67AE85)
 #define PHILOX_M4x32_0 (0xD2511F53)
-- 
GitLab