Add AMD GPU support to accelpath (WIP)#205
Conversation
|
|
|
My personal computer: My notebook: OACISS Odyssey (MI300A): OACISS Illyad (H100 + MI210): OACISS Instinct (M40 + MI100 + A770): |
| if [[ $? -eq 0 ]]; then | ||
| log "DEBUG" "accelpath: result: ${nv_res}" | ||
| echo "$nv_res" | ||
| return 0 |
There was a problem hiding this comment.
Hmm, we haven't really thought about it yet...but what happens when there are multiple GPUs of different generations, or both AMD and NVIDIA GPUs?
I guess you just have to use an override, but it would be nice if we supported a mode that listed all the possibilities for the override (and explained how to set it).
There was a problem hiding this comment.
Not necessarily for this PR, but worth an issue once this is merged
There was a problem hiding this comment.
For now (for simplicity), we discussed to prefer NVIDIA over AMD and choose the first accelerator that is found.
However, it is true that users might want to override this.
Due to how a system might lay out the accelerators, one might detect some integrated graphics over the dedicated accelerator, or a user might prefer a certain accelerator because of performance advantages for his use case.
In most cases, especially in HPC, I do not expect to see different kinds of accelerators on a node.
In the consumer space, this is a lot more common, especially with integrated graphics.
Temporarily disabled nvidia_smi to run amd code
amdgcn_ccusingamd-smiamdgcn_cc