Message boards :
Number crunching :
Step by Step, compile NVIDIA/MB CUDA app under Linux (Fedora 19)
Message board moderation
Previous · 1 · 2
Author | Message |
---|---|
ivan Send message Joined: 5 Mar 01 Posts: 783 Credit: 348,560,338 RAC: 223 |
**And again, I get "Compiling entry function...sm_10, sm_11, sm_12, sm_13, sm_21, and sm_20", but nothing for sm_30 or sm_35 Maxwell Compatability Guide says to use /usr/local/cuda/bin/nvcc -gencode=arch=compute_20,code=sm_20 -gencode=arch=compute_30,code=sm_30 -gencode=arch=compute_35,code=sm_35 -gencode=arch=compute_35,code=compute_35 -O2 -o mykernel.o -c mykernel.cu Note the omission of the 1xs -- on compiling my hologram application with CUDA 6 on Windows (haven't upgraded Linux yet) I got warnings that they are deprecated and soon to be removed. OTOH, after putting all the recommended options into the Windows compile my GTX 750 Ti still ran my reconstructions at exactly the same speed. |
petri33 Send message Joined: 6 Jun 02 Posts: 1668 Credit: 623,086,772 RAC: 156 |
How about Maxwell being compute 50 ... -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_50,code=compute_50 Just a guess. To overcome Heisenbergs: "You can't always get what you want / but if you try sometimes you just might find / you get what you need." -- Rolling Stones |
ivan Send message Joined: 5 Mar 01 Posts: 783 Credit: 348,560,338 RAC: 223 |
How about Maxwell being compute 50 ... Now that's a puzzle. Yes, my results are saying "computeCap 5.0". I'll have to check tomorrow whether the URL I quoted matches the documentation I have on my Windows systems. [Edit] Actually, due to the wonders of broadband, ssh, and cygwin: admD405@W7-SE-D304-01 /cygdrive/d/ProgramData/HoloMov/HoloMovie $ grep sm HoloMovie_vs2010.vcxproj <CodeGeneration>compute_10,sm_10;compute_20,sm_20</CodeGeneration> <CodeGeneration>compute_10,sm_10;compute_20,sm_20</CodeGeneration> <CodeGeneration>compute_10,sm_10;compute_20,sm_20</CodeGeneration> <CodeGeneration>compute_20,sm_20;compute_30,sm_30;compute_35,sm_35;compute_50,sm_50;compute_50,compute_50</CodeGeneration>so yes, my latest docs did specify sm_50 -- but I still need to check that I actually applied it to x64 Release version... [/Edit] |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.