Hi hyperdrive developers,
I encountered an issue when I install hyperdrive(and hyperbeam) with capability of GPU (Geforce 5090, its compute capability is 12.0.). The issue was that hyperbeam and hyperdrive do not accept HYPERDRIVE_CUDA_COMPUTE=120.
To solve the issue, first I downloaded mwa_hyperbeam,
git clone https://github.com/MWATelescope/mwa_hyperbeam.git
cd mwa_hyperbeam
and I edited build.rs as
- const DEFAULT_CUDA_SMS: &[u16] = &[60, 61, 70, 75, 80, 86];
+ const DEFAULT_CUDA_SMS: &[u16] = &[60, 61, 70, 75, 80, 86, 120];
- if compute.len() != 2
+ if compute.len() != 3
.
Similarly for hyperdrive,
git clone https://github.com/MWATelescope/mwa_hyperdrive
cd mwa_hyperdrive
, and I edited build.rs as
- const DEFAULT_CUDA_SMS: &[u16] = &[60, 61, 70, 75, 80, 86];
+ const DEFAULT_CUDA_SMS: &[u16] = &[60, 61, 70, 75, 80, 86, 120];
- if compute.len() != 2
+ if compute.len() != 3
, and also Cargo.toml is edited as
- mwa_hyperbeam = "0.10.2"
+ mwa_hyperbeam = { path = "../mwa_hyperbeam" }
After these edits, I can install hyperdrive with CUDA_COMPUTE=120
export HYPERDRIVE_CUDA_COMPUTE=120
export HYPERBEAM_CUDA_COMPUTE=120
cargo install --path . --locked --features=cuda,gpu-single
It seems that the hyperdrive is working, but could you please let me know if it's dangerous?
Hi hyperdrive developers,
I encountered an issue when I install hyperdrive(and hyperbeam) with capability of GPU (Geforce 5090, its compute capability is 12.0.). The issue was that hyperbeam and hyperdrive do not accept HYPERDRIVE_CUDA_COMPUTE=120.
To solve the issue, first I downloaded mwa_hyperbeam,
git clone https://github.com/MWATelescope/mwa_hyperbeam.git cd mwa_hyperbeamand I edited build.rs as
.
Similarly for hyperdrive,
git clone https://github.com/MWATelescope/mwa_hyperdrive cd mwa_hyperdrive, and I edited build.rs as
, and also Cargo.toml is edited as
After these edits, I can install hyperdrive with CUDA_COMPUTE=120
It seems that the hyperdrive is working, but could you please let me know if it's dangerous?