Objet : Developers list for StarPU
Archives de la liste
- From: Cyril Roelandt <cyril.roelandt@inria.fr>
- To: starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] starpufft + nvcc
- Date: Fri, 04 May 2012 16:39:30 +0200
- List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel>
- List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>
On 05/04/2012 04:24 PM, Sylvain HENRY wrote:
Hi,
I'm having troubles while compiling StarPU-1.0.0 when both starpufft and
CUDA support are enabled. NVCC is unable to compile cudaf_kernels.cu
because it includes float.h which includes fftw3.h which contains
unrecognized things (__float128...).
I don't need starpufft, so it's not really a problem for me. ;-)
Thanks for reporting this issue :)
Does the following patch fix the problem ? I do not really know the starpufft code, but I dont think nvcc really needs fftw3.h.
diff --git a/trunk/starpufft/float.h b/trunk/starpufft/float.h
index cc0f5da..1900c9c 100644
--- a/trunk/starpufft/float.h
+++ b/trunk/starpufft/float.h
@@ -18,7 +18,7 @@
#include <complex.h>
#include <starpu_config.h>
-#ifdef STARPU_HAVE_FFTW
+#ifdef STARPU_HAVE_FFTW && !defined(__CUDACC__)
#include <fftw3.h>
#endif
Cyril.
- [Starpu-devel] starpufft + nvcc, Sylvain HENRY, 04/05/2012
- Re: [Starpu-devel] starpufft + nvcc, Cyril Roelandt, 04/05/2012
Archives gérées par MHonArc 2.6.19+.