Commit 508dab43 authored by peastman's avatar peastman
Browse files

Merge pull request #955 from peastman/definepi

Fixed a compilation error on some compilers
parents ec19df0e 4200d228
......@@ -75,6 +75,7 @@ CudaFFT3D::CudaFFT3D(CudaContext& context, int xsize, int ysize, int zsize, bool
defines["PACKED_XSIZE"] = context.intToString(packedXSize);
defines["PACKED_YSIZE"] = context.intToString(packedYSize);
defines["PACKED_ZSIZE"] = context.intToString(packedZSize);
defines["M_PI"] = context.doubleToString(M_PI);
CUmodule module = context.createModule(CudaKernelSources::vectorOps+CudaKernelSources::fftR2C, defines);
packForwardKernel = context.getKernel(module, "packForwardData");
unpackForwardKernel = context.getKernel(module, "unpackForwardData");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment