You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HI,
I have a question about running the example
I run the "make " in the example , it says cannot find -lhsa-runtime-ext64,
g++ -Wl,--unresolved-symbols=ignore-in-shared-libs main.o -L/opt/hsa/lib -lhsa-runtime64 -lhsa-runtime-ext64 -o hof_example
/usr/bin/ld: cannot find -lhsa-runtime-ext64
collect2: error: ld returned 1 exit status
make: *** [hof_example] Error 1
Then I check the lib, it seem there has libhsa-runtime64.so.1
CHOserver:~/HSAFoundation/HSA-HOF-AMD/example$ ls /opt/hsa/lib
libhsa-ext-finalize64.so libhsa-ext-image64.so libhsa-runtime64.so libhsa-runtime-tools64.so
libhsa-ext-finalize64.so.1 libhsa-ext-image64.so.1 libhsa-runtime64.so.1 libhsa-runtime-tools64.so.1
Is there something I can try with it ?
The text was updated successfully, but these errors were encountered:
Previous versions of the HSA Runtime included hsa-runtime-ext64 library.
More recent versions don't include it anymore.
To build the example just remove -lhsa-runtime-ext64 from Makefile and run make again.
I have the latest HSA Runtime and with this change the example works.
However,while I am trying to run the example : ./hof_example , Segmentation fault (core dumped)emerges.
Does it only work with specific hardware like AMD A10-7850 APU (KV) or AMD FX-8800P ?
Besides,
I used the hof covert the globals.hsail to globals.o .
Is there disassembler can be used for globals.o (kv format) ?
I want to compare hsail with KV isa if there is lots of differences.
HI,
I have a question about running the example
I run the "make " in the example , it says cannot find -lhsa-runtime-ext64,
g++ -Wl,--unresolved-symbols=ignore-in-shared-libs main.o -L/opt/hsa/lib -lhsa-runtime64 -lhsa-runtime-ext64 -o hof_example
/usr/bin/ld: cannot find -lhsa-runtime-ext64
collect2: error: ld returned 1 exit status
make: *** [hof_example] Error 1
Then I check the lib, it seem there has libhsa-runtime64.so.1
CHOserver:~/HSAFoundation/HSA-HOF-AMD/example$ ls /opt/hsa/lib
libhsa-ext-finalize64.so libhsa-ext-image64.so libhsa-runtime64.so libhsa-runtime-tools64.so
libhsa-ext-finalize64.so.1 libhsa-ext-image64.so.1 libhsa-runtime64.so.1 libhsa-runtime-tools64.so.1
Is there something I can try with it ?
The text was updated successfully, but these errors were encountered: