Closed vahya closed 2 years ago
The CUDA backend for X10 hasn't been maintained for years. That being said, you might be able to get around this by updating the code here https://github.com/x10-lang/x10/blob/master/x10.compiler/src/x10cpp/postcompiler/CXXCommandBuilder.java#L428-#L467 that tries to figure out the CUDA architecture.
I just commented all the lines in CXXCommandBuilder.java
file and added ans.add("sm_61")
and it worked.
Thanks for the response.
I've built x10 from source with the
-DX10RT_CUDA=true -Doptimize=true
options and the build was successful, but when I try to run the sample CUDA programs, I get the following error:I've googled but found nothing. How do I fix this?
I have an Nvidia GeForce GTX 1050 laptop, and
nvcc --version
shows: