[llvm] [Offload] For AMDGPU driver, use product name (PR #155632)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 27 08:24:51 PDT 2025


jhuber6 wrote:

> I've pushed up a change which leaves NAME as is, but adds `PRODUCT_NAME` as a new property.
> 
> For my AMD device, `NAME` will be `gfx1100` while `PRODUCT_NAME` will be "Radeon RX 7900 GRE". On Nvidia, both `NAME` and `PRODUCT_NAME` will be something like "NVIDIA GeForce GT 1030" and the host device will have both values as "Virtual Host Device".
> 
> Although, would `ARCH` be a better name than `NAME`?

`rocminfo` calls it `name` so it should be fine.

https://github.com/llvm/llvm-project/pull/155632


More information about the llvm-commits mailing list