nvcc
CUDA: Unaligned Memory Access Not Supported: What am I missing?
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;[详细]
2023-02-27 02:01 分类:问答Close a file pointer in Cuda (nvcc)
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.[详细]
2023-02-24 21:07 分类:问答Weird error compiling code that calls Surface low-level CUDA API
This minimal example: int main() { struct surfaceReference* surfaceReferencePointer; cudaGetSurfaceReference(&surfaceReferencePointer, \"surfaceReference\");[详细]
2023-02-19 18:59 分类:问答Cuda code #define error, expected a ")"
In the following code, if I bring the #define N 65536 above the #if FSIZE, then I get the following error:[详细]
2023-02-10 03:59 分类:问答What are the default values for arch and code options when using nvcc?
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:[详细]
2023-02-03 17:09 分类:问答VS2010 compiler and cuda error: linkage specification is incompatible with previous "hypot"
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.[详细]
2023-01-16 04:08 分类:问答nvcc -Xptxas –v compiler flag has no effect
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.[详细]
2023-01-16 02:34 分类:问答VS2010 compiler and cuda error: linkage specification is incompatible with previous “hypot”
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.[详细]
2023-01-15 09:38 分类:问答NVCC refuses to link my object files
I am trying to compile a project by compiling object files and then linking them together, nothing fancy:[详细]
2023-01-05 20:56 分类:问答Why can't nvcc find my Visual C++ installation?
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[详细]
2022-12-29 14:43 分类:问答