Closed matyas-streamhpc closed 13 hours ago
The device enumeration section is perhaps slightly imprecise when it comes to systems that have both AMD and Nvidia GPUs, because the HIP runtime cannot see both at the same time, yet the page says: "The host queries the system to count and list all connected GPUs," A binary using HIP compiled with
HIP_PLATFORM=amd
will only see amd devices, and withHIP_PLATFORM=nvidia
only Nvidia; or at least that is what I experience when I run it on my hybrid system.
Thank you, it's a nice catch! Updated.
The device enumeration section is perhaps slightly imprecise when it comes to systems that have both AMD and Nvidia GPUs, because the HIP runtime cannot see both at the same time, yet the page says: "The host queries the system to count and list all connected GPUs," A binary using HIP compiled with
HIP_PLATFORM=amd
will only see amd devices, and withHIP_PLATFORM=nvidia
only Nvidia; or at least that is what I experience when I run it on my hybrid system.