New to this; modeled my application on the Nvidia examples, especially reduction.
Using VS 9. Using rules that came with reduction example.
I have all 6 kernels in file: MSI_kernel.cu
I have wrappers that call kernel files in file: MSI_Cuda.cpp
Cuda.cpp contains the line: #include “MSI_kernel.cu”
near the beginning.
i have my application code in file: msi.cpp
now when I compile and build the cuda code passes first stage of compilation:
then wehn compiling the wrapper [host] code I get error messages for ALL C language extensions: dim3, threadIdx, global etc. of “undeclared identifier”
I assume i have something botched in the Project file and/or rules file? can anybody tell me where to look?
ps – the reduction example that i downloaded from nvidia compiles fine, no problems.
New to this; modeled my application on the Nvidia examples, especially reduction.
Using VS 9. Using rules that came with reduction example.
I have all 6 kernels in file: MSI_kernel.cu
I have wrappers that call kernel files in file: MSI_Cuda.cpp
Cuda.cpp contains the line: #include “MSI_kernel.cu”
near the beginning.
i have my application code in file: msi.cpp
now when I compile and build the cuda code passes first stage of compilation:
then wehn compiling the wrapper [host] code I get error messages for ALL C language extensions: dim3, threadIdx, global etc. of “undeclared identifier”
I assume i have something botched in the Project file and/or rules file? can anybody tell me where to look?
ps – the reduction example that i downloaded from nvidia compiles fine, no problems.