View Single Post
Old 2021-09-01, 20:22   #50
chris2be8
 
chris2be8's Avatar
 
Sep 2009

23·52·11 Posts
Default

And I've been having "fun" with msieve's CUDA support. The version I had been running failed saying [sort_engine.cu, 95] sort engine: (CUDA error 78: a PTX JIT compilation failed) (probably because compiled with and old version of CUDA. So I decided to install the latest version of msieve, revision 1043. Which also failed with a message saying "file not found" but of course didn't say *which* file it could not find. After a lot of puzzling I found revision 1043 notes the card is compute architecture 5.2 and tries to load stage1_core_sm52.ptx. But the Makefile as shipped is only set up to build ptx files for sm20, sm30, sm35 and sm50. So you are out of luck with any other architecture. I hacked the Makefile, first to remove sm20 which CUDA 9.0 doesn't support, then to add sm52 once I realised that was missing.

The makefile probably should build ptx files for all of this list:
Code:
~/msieve.1043/trunk> strings msieve | grep ptx
stage1_core_sm20.ptx
stage1_core_sm30.ptx
stage1_core_sm35.ptx
stage1_core_sm50.ptx
stage1_core_sm52.ptx
stage1_core_sm61.ptx
stage1_core_sm70.ptx
stage1_core_sm75.ptx
stage1_core_sm86.ptx
If I hadn't knows of the strings command I would have been stuck.
chris2be8 is offline   Reply With Quote