:wacko: i want use cudaHostAlloc() and cudaHostAllocWriteCombined, but the following error was shown: (I had included cuda.h and cuda_runtime.h or cuda_runtime_api.h)
nvcc -lcufft -lg2c -c rlft3_cuda.cu -o rlft3_cuda.o
rlft3_cuda.cu(155): error: identifier “cudaHostAllocWriteCombined” is undefined
rlft3_cuda.cu(155): error: identifier “cudaHostAlloc” is undefined
the cuda manual never shows any extra header files should be included.