Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

Downgrade CUDA SDK to 9.0 #1390

Closed
chfast opened this issue Jul 26, 2018 · 9 comments
Closed

Downgrade CUDA SDK to 9.0 #1390

chfast opened this issue Jul 26, 2018 · 9 comments

Comments

@chfast
Copy link
Contributor

chfast commented Jul 26, 2018

Currently we build binaries with CUDA 9.2. This is problematic because the ethminer does not work with a bit older Nvidia drivers. There are also no performance gains of using 9.2 over 9.0.

Downgrade the CUDA SDK used in CI builds to 9.0.

@smurfy
Copy link
Collaborator

smurfy commented Jul 26, 2018

Not sure but is it possible to support multiple cuda versions at once and then choose the kernel based on which version is available.

@chfast
Copy link
Contributor Author

chfast commented Jul 26, 2018

It's not about the kernel but about the cuda runtime library that is linked with the ethminer.

@smurfy
Copy link
Collaborator

smurfy commented Jul 26, 2018

Ah, ok. I'm all for compatibility, if performance is not affected. So by all means, change #1374 to be an downgrade instead.

@Zenitur
Copy link

Zenitur commented Aug 6, 2018

I trying to compile ethminer 0.15 branch with CUDA 8.0.

[ 33%] Building NVCC (Device) object libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o
nvcc fatal   : Unsupported gpu architecture 'compute_70'

If remove "compute_70" from CMakeLists.txt: https://pastebin.com/xRDzPnRj

@AndreaLanfranchi
Copy link
Collaborator

@Zenitur CUDA 8.0 is not supported anymore.
You need CUDA 9 or better.

@jean-m-cyr
Copy link
Contributor

No remaining issue here... closing

@XhmikosR
Copy link
Contributor

@XhmikosR XhmikosR reopened this Aug 18, 2018
@jean-m-cyr
Copy link
Contributor

Ah sorry. Also CUDA 9.1 is fine. 9.2 introduced new driver dependencies.

@chfast
Copy link
Contributor Author

chfast commented Aug 24, 2018

Downgraded to 9.1 on Travis CI.

@chfast chfast closed this as completed Aug 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants