Deus
July 14, 2010, 7:11pm
1
Hello,
I used CUDA 3.0 and CUDPP 1.1.1 and its work fine. After installing of CUDA 3.1, it was not possible to compile CUDPP, because it return following error:
…
Compiling with CUDA Build Rule…
“C:\CUDA\bin\nvcc.exe” -m32 -gencode=arch=compute_20,code=sm_20 -gencode=arch=compute_10,code=sm_10 -ccbin “C:\Program Files\Microsoft Visual Studio 9.0\VC\bin” -I"C:\CUDA\include" -I"./" -I"…/…/common/inc" -I"…/…/…/shared/inc" -I"C:\CUDA\include" -I"./" -I"…/common/inc" -I"./src" -I"./include" -Xcompiler "/EHsc /W3 /nologo /O2 /Zi /MT " -maxrregcount=32 --compile -o “Release\segmented_scan_app.cu.obj” “c:\cudpp-1_1\cudpp_src_1.1.1\cudpp\src\app\segmented_scan_app.cu”
segmented_scan_app.cu
tmpxft_00000634_00000000-6_segmented_scan_app.compute_10.cudafe1.gpu
tmpxft_00000634_00000000-10_segmented_scan_app.compute_10.cudafe2.gpu
segmented_scan_app.cu
tmpxft_00000634_00000000-3_segmented_scan_app.compute_20.cudafe1.gpu
tmpxft_00000634_00000000-14_segmented_scan_app.compute_20.cudafe2.gpu
C:/Users/…/AppData/Local/Temp/tmpxft_00000634_00000000-15_segmented_scan_app.compute_20.cpp3.i(0): Error: Writing intermediate compiler file (C:/Users/…/AppData/Local/Temp/ccBI#.a05072): Unknown error
Project : error PRJ0019: A tool returned an error code from “Compiling with CUDA Build Rule…”
What is the problem?
Deus
July 15, 2010, 5:37am
2
I comment out the lines 987-1112 of the “warpSegScan”-function and the compilation was succesful.
But why?
PS: A work around is compile with CUDA 3.0 and use with CUDA 3.1, but it is a bad solution…