- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't run HIP Examples on Nvidia GPU
I try to install amd rocm(6.0.2) and hip to my laptop (it was way harder than cuda ) then I try to work with hipfy (cuda to hip converter) but I cant run the code successfully.
here what I do :
denizdius@denizdius-Precision-3561:~/Documents/hip-tests/samples/0_Intro/square$ /opt/rocm/bin/hipify-perl square.cu > square.cpp
denizdius@denizdius-Precision-3561:~/Documents/hip-tests/samples/0_Intro/square$ /opt/rocm/bin/hipcc square.cpp -o square.out.static
denizdius@denizdius-Precision-3561:~/Documents/hip-tests/samples/0_Intro/square$ /opt/rocm/bin/hipcc -use-staticlib square.cpp -o square.out.static
Warning: The -use-staticlib option has been deprecated and is no longer needed.
denizdius@denizdius-Precision-3561:~/Documents/hip-tests/samples/0_Intro/square$ ./square.out
error: 'invalid device ordinal'(101) at square.cpp:61
How can I solve this issue
- Labels:
-
ROCm Discussions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HIPFY的资料太少了,百度浏览器搜索,出来一堆不相干的数据。
希望能检索到有用的数据。
