[llvm] [Offload] Define additional device info properties (PR #152533)

Ross Brunton via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 8 02:55:49 PDT 2025


================
@@ -951,13 +951,20 @@ struct CUDADeviceTy : public GenericDeviceTy {
 
     Info.add("Vendor Name", "NVIDIA", "", DeviceInfo::VENDOR);
 
+    Info.add("Vendor ID", uint64_t{4318}, "", DeviceInfo::VENDOR_ID);
----------------
RossBrunton wrote:

Might be worth adding that to the enum description.

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


More information about the llvm-commits mailing list