Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deviceProp.name is an empty string for MI50 with rocm 4.5 #1625

Closed
sbalint98 opened this issue Nov 22, 2021 · 7 comments
Closed

deviceProp.name is an empty string for MI50 with rocm 4.5 #1625

sbalint98 opened this issue Nov 22, 2021 · 7 comments
Assignees
Labels
4.5.0 Verified Issue AMD verified issue that is tracked for ROCm releases

Comments

@sbalint98
Copy link

In the case of using rocm 4.5 the deviceProp.name string does not contain the expected device name.

The following code can reproduce the issue:

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

This behaviour has been observed on a system with an MI50 accelerator

@ROCmSupport
Copy link

ROCmSupport commented Nov 23, 2021

Thanks @sbalint98 for reaching out.
I certainly understood the problem.
We already found this issue internally, tracking it and fix is in progress. I will share further update soon.
Thank you.

@lanwatch
Copy link

lanwatch commented May 9, 2022

Same issue here on MI100 rocm 5.1.1

@awehrfritz
Copy link

I observed this issue as well on my local system with a Radeon Vega card. Any update on this @ROCmSupport?

@wyphan
Copy link

wyphan commented Jul 15, 2022

Same issue still happens with ROCm 5.2.0 with MI50, MI100, and MI210.

@doit-op
Copy link

doit-op commented Oct 21, 2022

This is still an issue with MI210's on 5.2.3.

@keryell
Copy link
Contributor

keryell commented Nov 30, 2022

Is this still an issue with the latest ROCm 5.3.3?

@saadrahim saadrahim added the Verified Issue AMD verified issue that is tracked for ROCm releases label Nov 30, 2022
@Naraenda Naraenda added the 4.5.0 label May 3, 2023
@nartmada
Copy link
Collaborator

nartmada commented Feb 9, 2024

Closing this ticket as it is stale. Furthermore, an internal developer has confirmed issue has been fixed for MI250 and MI300 in ROCm6.0.0. @sbalint98, please re-open the ticket if you are still seeing empty string. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.5.0 Verified Issue AMD verified issue that is tracked for ROCm releases
Projects
None yet
Development

No branches or pull requests