ROCm / ROCm

AMD ROCm™ Software - GitHub Home

Home Page:https://rocm.docs.amd.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Issue]: hipDeviceProp_t name attribute is empty

abagusetty opened this issue · comments

Problem Description

Reopening since the attribute name for the device string is empty with rocm-6.0.0 on MI250, MI100, MI250x. Tagging @nartmada

HIP version: 6.0.32830-d62f6a171
AMD clang version 17.0.0 (https://github.com/RadeonOpenCompute/llvm-project roc-6.0.0 23483 7208e8d15fbf218deb74483ea8c549c67ca4985e)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /soft/compilers/rocm/rocm-6.0.0/llvm/bin
Configuration file: /soft/compilers/rocm/rocm-6.0.0/lib/llvm/bin/clang++.cfg

Operating System

openSUSE Leap 15.4

CPU

AMD EPYC 7543 32-Core Processor

GPU

AMD Instinct MI250X, AMD Instinct MI250, AMD Instinct MI100

ROCm Version

ROCm 6.0.0

ROCm Component

HIP

Steps to Reproduce

#include<iostream>
#include <hip/hip_runtime.h>
int main(){
  hipDeviceProp_t deviceProp;
  hipGetDeviceProperties(&deviceProp, 0);
  std::cout << deviceProp.name << std::endl;
}

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

Mentioned in these issues: #1625, #1778

@abagusetty, can you please try ROCm 6.1.0? Thanks.
image