ROCm / roctracer

ROCm Tracer Callback/Activity Library for Performance tracing AMD GPUs
https://rocm.docs.amd.com/projects/roctracer/en/latest/
Other
65 stars 30 forks source link

Building test fails. #2

Closed rwvo closed 4 years ago

rwvo commented 5 years ago

Building hcc, HIP and roctracer succeeded, but the subsequent building of mytest per the instructions in Readme.md failed ("make mytest"). Error messages:

/home/rvanoo/tmp/HIP/bin/hipcc -g   -c -o MatrixTranspose.o MatrixTranspose.cpp
Use of uninitialized value $HIP_RUNTIME in string eq at /home/rvanoo/tmp/HIP/bin/hipcc line 109.
Use of uninitialized value $HIP_COMPILER in string eq at /home/rvanoo/tmp/HIP/bin/hipcc line 131.
/home/rvanoo/tmp/HIP/bin/hipcc MatrixTranspose.o -o MatrixTranspose
Use of uninitialized value $HIP_RUNTIME in string eq at /home/rvanoo/tmp/HIP/bin/hipcc line 109.
Use of uninitialized value $HIP_COMPILER in string eq at /home/rvanoo/tmp/HIP/bin/hipcc line 131.
clang-9: error: no such file or directory: '/home/rvanoo/tmp/HIP/lib/libhip_hcc.so'

Is this an issue with the current HEAD of the HIP repo, or are there instructions missing (e.g. on setting environment variables)?

eshcherb commented 5 years ago

It supports ROCm 2.3