-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cuda Version discrepancy #4
Comments
I am puzzled by the same problem, have you solved it by changing the version of CUDA? Thanks! |
Nope. I tried running it with cuda 8. It gave me an "ld" linking error on the smat cu file |
maybe the code isn't compatible for higher cuda versions. |
I tried running makefile with cuda7.0 on ubuntu16.04, then the new error came out: /usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const void*, size_t)’: I think it's also due to the version of cuda. |
Doing something similar to this link solved the issue for me. I'm compiling with CUDA 9.2 as well. However, still haven't found a solution of the error from kangaroo_smat. |
Hello ljyang. Could you explain what exactly you did to get it to work? Best, |
When I run make on libs/smat/src I get the following error -
./smat_cuda/launch_util.h(67): error: function "atomicAdd(double *, double)" has already been defined
1 error detected in the compilation of "/tmp/tmpxft_00000e6b_00000000-4_reduce.cpp4.ii".
makefile:230: recipe for target '../build/release/obj/SMAT_CUDA/reduce.o' failed
make: *** [../build/release/obj/SMAT_CUDA/reduce.o] Error 2
I think it is happening because I am using CUDA 9.2 and the code doesn't support it. The CUDA samples from NVIDIA were running perfectly. Please look into it.
Thanks
The text was updated successfully, but these errors were encountered: