Skip to content

Commit 3c623ab

Browse files
fixup name
1 parent a733b91 commit 3c623ab

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

devops/actions/run-tests/benchmark/action.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,12 @@ runs:
131131
export CMPLR_ROOT=$SYCL_DIR
132132
echo "CMPLR_ROOT=$CMPLR_ROOT" >> $GITHUB_ENV
133133
else
134-
echo "WARNING: SYCL directory '$SYCL_DIR' does not exist or is missing libsycl.so"
134+
echo "INFO: SYCL directory '$SYCL_DIR' does not exist or is missing libsycl.so"
135135
echo "Checking if SYCL is installed in the system..."
136136
which sycl-ls
137137
sycl-ls
138138
export CMPLR_ROOT="$(dirname $(dirname $(which sycl-ls)))"
139-
echo "Using SYCL from: $CMPLR_ROOT"
139+
echo "Using SYCL from: $CMPLR_ROOT !"
140140
echo "CMPLR_ROOT=$CMPLR_ROOT" >> $GITHUB_ENV
141141
fi
142142
- name: Set NUMA node to run benchmarks on
@@ -262,9 +262,9 @@ runs:
262262
# Build and run benchmarks
263263
264264
echo "::group::setup_workdir"
265-
export WORKDIR="$(realpath ./llvm_test_workdir)"
266-
echo "WORKDIR=$WORKDIR" >> $GITHUB_ENV
267-
if [ -n "$WORKDIR" ] && [ -d "$WORKDIR" ] && [[ "$WORKDIR" == *llvm_test_workdir* ]]; then rm -rf "$WORKDIR" ; fi
265+
export BENCH_WORKDIR="$(realpath ./llvm_test_workdir)"
266+
echo "BENCH_WORKDIR=$BENCH_WORKDIR" >> $GITHUB_ENV
267+
if [ -n "$BENCH_WORKDIR" ] && [ -d "$BENCH_WORKDIR" ] && [[ "$BENCH_WORKDIR" == *llvm_test_workdir* ]]; then rm -rf "$BENCH_WORKDIR" ; fi
268268
269269
# Clean up potentially existing, old summary files
270270
[ -f "github_summary_exe.md" ] && rm github_summary_exe.md
@@ -274,7 +274,7 @@ runs:
274274
echo "::group::run_benchmarks"
275275
276276
numactl --cpunodebind "$NUMA_NODE" --membind "$NUMA_NODE" \
277-
./devops/scripts/benchmarks/main.py "$WORKDIR" \
277+
./devops/scripts/benchmarks/main.py "$BENCH_WORKDIR" \
278278
--sycl "$(realpath $CMPLR_ROOT)" \
279279
--ur "$(realpath ./ur/install)" \
280280
--adapter "$FORCELOAD_ADAPTER" \
@@ -313,7 +313,7 @@ runs:
313313
314314
# NOTE: Each integration test prints its own group name as part of test script
315315
export LLVM_BENCHMARKS_UNIT_TESTING=1
316-
export COMPUTE_BENCHMARKS_BUILD_PATH=$WORKDIR/compute-benchmarks-build
316+
export COMPUTE_BENCHMARKS_BUILD_PATH=$BENCH_WORKDIR/compute-benchmarks-build
317317
python3 ./devops/scripts/benchmarks/tests/test_integration.py
318318
- name: Cache changes and upload github summary
319319
if: always()

0 commit comments

Comments
 (0)