From f07a676028e369fa6c3f31cd7cd68c9e85d8b87a Mon Sep 17 00:00:00 2001
From: Stephan Seitz <stephan.seitz@fau.de>
Date: Mon, 2 Sep 2019 11:19:45 +0200
Subject: [PATCH] Fix complex_helper.hpp for CUDA (in terms of not implemeted
 (yet))

---
 pystencils/include/complex_helper.hpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/pystencils/include/complex_helper.hpp b/pystencils/include/complex_helper.hpp
index 92b8f7c5..2950c385 100644
--- a/pystencils/include/complex_helper.hpp
+++ b/pystencils/include/complex_helper.hpp
@@ -7,6 +7,10 @@
 
 #pragma once
 
+extern "C++" {
+#ifdef __CUDA_ARCH__
+// TODO
+#else
 #include <complex>
 
 template <class U, class V>
@@ -64,3 +68,5 @@ auto operator/(const V &scalar, const std::complex<U> &complexNumber)
   return std::complex<U>{scalar, 0} / complexNumber;
 }
 
+#endif
+}
-- 
GitLab