Hi every body,
I am pretty new with alglib and Cuda. I am trying to use Alglib for nonlinear list square fitting. codes are working when I compile it in C++(.cpp) but when I am trying to compile sami code but in a cuda file (.cu) it gives me this error :
Error 6 error C2668: 'round' : ambiguous call to overloaded function Error 7 error C2668: 'round' : ambiguous call to overloaded function Error 8 error C2668: 'round' : ambiguous call to overloaded function Error 9 error C2668: 'trunc' : ambiguous call to overloaded function Error 10 error MSB3721: The command ""D:\NVIDIA\bin\nvcc.exe" -gencode=arch=compute_10,code=\"sm_10,compute_10\" --use-local-env --cl-version 2012 -ccbin "D:\Programme (x86)\Microsoft Visual Studio 11.0\VC\bin" -ID:\NVIDIA\include -ID:\NVIDIA\include --keep-dir Release -maxrregcount=0 --machine 32 --compile -cudart static -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /Zi /MD " -o Release\min.cu.obj "...\min.cu"" exited with code 2. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\BuildCustomizations\CUDA 6.0.targets 597 9 Cuda_lsfit any solution would be appreciated.
Thanks, Mohsen
|