# HIP Invalid device error, ROCm failure

**URL:** <https://pyfr.discourse.group/t/hip-invalid-device-error-rocm-failure/738>\
**Category:** Errors\
**Created:** [11 January 2023 09:34 UTC](https://pyfr.discourse.group/t/hip-invalid-device-error-rocm-failure/738 "2023-01-11T09:34:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yujif1Aero](https://yyz2.discourse-cdn.com/free1/user_avatar/pyfr.discourse.group/yujif1aero/32/448_2.png) [@Yujif1Aero](https://pyfr.discourse.group/u/Yujif1Aero)\
**Post date:** [11 January 2023 09:34 UTC](https://pyfr.discourse.group/t/hip-invalid-device-error-rocm-failure/738/1 "2023-01-11T09:34:28Z")

</div>

Hi All!,

We have tried to use HIP with AMD GPU.  
However, We got an error which we cannot solve.  
The details are below.

Driver infomation is here;

 ![image (3)](https://global.discourse-cdn.com/free1/uploads/pyfr/original/1X/d76f8de884791b067d1753a600383d78c8386ffd.png)

Error mesage which we came across is here;

 ![image (2)](https://global.discourse-cdn.com/free1/uploads/pyfr/original/1X/209cf12b834a4c12fe0bb9706829a2ac4f03ef84.png)

Do you have any idea in order to solve this problem?

Best,  
Yuji

---

<div class="post-metadata">

**Author:** ![fdw](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fdw](https://pyfr.discourse.group/u/fdw)\
**Post date:** [11 January 2023 14:06 UTC](https://pyfr.discourse.group/t/hip-invalid-device-error-rocm-failure/738/2 "2023-01-11T14:06:56Z")

</div>

Can you confirm if HIP is working? As in can you run any of the HIP sample applications?

Regards, Freddie.

---

<div class="post-metadata">

**Author:** ![Yujif1Aero](https://yyz2.discourse-cdn.com/free1/user_avatar/pyfr.discourse.group/yujif1aero/32/448_2.png) [@Yujif1Aero](https://pyfr.discourse.group/u/Yujif1Aero)\
**Post date:** [11 January 2023 14:54 UTC](https://pyfr.discourse.group/t/hip-invalid-device-error-rocm-failure/738/3 "2023-01-11T14:54:44Z")

</div>

Dear Prof. Freddie,

Thanks quick your reply.  
We will try other HIP examples.  
Do you have a recommendation HIP sample?

Best,  
Yuji

---

<div class="post-metadata">

**Author:** ![fdw](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@fdw](https://pyfr.discourse.group/u/fdw)\
**Post date:** [11 January 2023 18:00 UTC](https://pyfr.discourse.group/t/hip-invalid-device-error-rocm-failure/738/4 "2023-01-11T18:00:08Z")

</div>

Any of these should do the trick: [GitHub - ROCm-Developer-Tools/HIP-Examples: Examples for HIP](https://github.com/ROCm-Developer-Tools/HIP-Examples)

Regards, Freddie.
