Closed AStupidBear closed 8 years ago
Are you simply trying to compile a CUDA file to PTX code?
If so, try looking at this.
@ranjanan
rluser@highchain-Z10PE-D8-WS:~/.julia/v0.4/Mocha/src/cuda/kernels$ nvcc -arch compute_11 kernels.cu
logistic_loss.impl(34): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (float *, float)
binary_cross_entropy_loss.impl(32): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (float *, float)
binary_accuracy.impl(24): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (float *const __restrict__, float)
l1.impl(10): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (float *, float)
4 errors detected in the compilation of "/tmp/tmpxft_00007e6e_00000000-6_kernels.cpp1.ii".
rluser@highchain-Z10PE-D8-WS:~/.julia/v0.4/Mocha/src/cuda/kernels$ nvcc -arch compute_12 kernels.cu
logistic_loss.impl(34): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (float *, float)
binary_cross_entropy_loss.impl(32): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (float *, float)
binary_accuracy.impl(24): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (float *const __restrict__, float)
l1.impl(10): error: no instance of overloaded function "atomicAdd" matches the argument list
argument types are: (float *, float)
4 errors detected in the compilation of "/tmp/tmpxft_00007e80_00000000-6_kernels.cpp1.ii".
@pluskid Cannot get through this. Help?
Hi, @AStupidBear I think cuda 5.5 is too old to compile this. You might need at least cuda 6.5~7.5 and cuDNN v4 to run Mocha.jl.
@pluskid Thank you!