Unverified Commit 7e48ad34 authored by Yuting Jiang's avatar Yuting Jiang Committed by GitHub
Browse files

Bug: Fix bug - fix bug of hipBusBandwidth build (#193)

**Description**
fix bug of hipBusBandwidth building

**Major Revision**
- it failed to enter the check 'hip/samples/1_Utils/hipBusBandwidth/CMakeLists.txt' when building docker, so removed this check
- add sb_micro_path for rocm_bandwidthTest
parent ee5c7662
...@@ -87,9 +87,7 @@ endif ...@@ -87,9 +87,7 @@ endif
# Build hipBusBandwidth. # Build hipBusBandwidth.
# HIP is released with rocm, like rocm-4.2.0 and so on. # HIP is released with rocm, like rocm-4.2.0 and so on.
# The version we use is the released tag which is consistent with the rocm version in the environment or docker. # The version we use is the released tag which is consistent with the rocm version in the environment or docker.
rocm_bandwidthTest: rocm_bandwidthTest: sb_micro_path
cp -r -v $(shell hipconfig -p) ./ cp -r -v $(shell hipconfig -p)/samples/1_Utils/hipBusBandwidth ./
ifneq (, $(wildcard hip/samples/1_Utils/hipBusBandwidth/CMakeLists.txt)) cd ./hipBusBandwidth/ && mkdir -p build && cd build && cmake .. && make
cd ./hip/samples/1_Utils/hipBusBandwidth/ && mkdir -p build && cd build && cmake .. && make cp -v ./hipBusBandwidth/build/hipBusBandwidth $(SB_MICRO_PATH)/bin/
cp -v ./hip/samples/1_Utils/hipBusBandwidth/build/hipBusBandwidth $(SB_MICRO_PATH)/bin/
endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment