DeepBind icon indicating copy to clipboard operation
DeepBind copied to clipboard

Error in kangaroo_smat make

Open msuardi opened this issue 7 years ago • 2 comments

When I try to make in kangaroo_smat, the first execution of nvcc raise an error: nvcc -c -o ../build/release/obj/KANGAROO_SMAT/autotune.o -I. -I/usr/local/cuda/include -I../../smat/src -DKANGAROO_SMAT_EXPORTS -use_fast_math -gencode arch=compute_50,code=sm_50 -include nvcc_preinclude.h -maxrregcount 64 -Xcompiler -m64,-fPIC,-fvisibility=hidden,--param,max-inline-recursive-depth=24,--param,max-inline-recursive-depth-auto=24,-O3, autotune.cu /usr/local/cuda/include/cuda.h(60): error: "uint64_t" is ambiguous

1 error detected in the compilation of "/tmp/tmpxft_000020b5_00000000-7_autotune.cpp1.ii". makefile:159: recipe for target '../build/release/obj/KANGAROO_SMAT/autotune.o' failed make: *** [../build/release/obj/KANGAROO_SMAT/autotune.o] Error 2

What about it? I don't know where is the problem. Thanks! Mauro

msuardi avatar Jul 05 '17 14:07 msuardi

i got the same issue. did it get resolved?

samridhim avatar Oct 27 '18 13:10 samridhim

I also encountered this issue. I tried it with a variety of CUDA versions (8.0.44, 8.0.61, 9.0.176.1, 9.1.85.2, etc) but only managed to get it working with a CUDA 7 version, 7.0.28. There seem to be several issues in the code related to CUDA version (issue #4) so I'd recommend using CUDA 7.

The risk with CUDA 7 though, seems to be known issues with cuda 7.0 and 7.5's random number generator on GPUs that use the pascal architecture.

mrendleman avatar Nov 26 '18 21:11 mrendleman