There are a few questions similar to this but in this case, its a bit weird; NVCC 3.1 doesn\'t like this but 3.2 and 4.0RC do;
In gcc, the close function is used to close the file pointer. However my nvcc complier will not allow that. I can\'t seem to find a cuda-specific call or alias.
This minimal example: int main() { struct surfaceReference* surfaceReferencePointer; cudaGetSurfaceReference(&surfaceReferencePointer, \"surfaceReference\");
In the following code, if I bring the #define N 65536 above the #if FSIZE, then I get the following error:
When compiling your CUDA code, you have to select for which architecture your code is being generated. nvcc provides two parameters to specify this architecture, basically:
When I try to build my project on a 64 bit Windows 7 using VS 2010 in Debug 64 bit configuration I get this error along with two other errors.
I have a CUDA project. It consists of several .cpp files that contain my application logic and one .cu file that contains multiple kernels plus a __host__ function that invokes them.
When I try to build my project on a 64 bit Windows 7 using VS 2010 in Debug 64 bit configuration I get this error along with two other errors.
I am trying to compile a project by compiling object files and then linking them together, nothing fancy:
I\'m running Windows 7 Pro x64 on a Core i5 with a NVIDIA 3100m, which is CUDA compatible. I\'ve tried installing both the 32-bit and 64-bit CUDA toolkits from NVIDIA, unfortunately from with either