Updating that parallel_gpu_execute.sh script such that it works as expected for AMD GPus
This commit is contained in:
parent
9c3a30dfff
commit
d3a74940b3
@ -68,6 +68,7 @@ for j in `seq 0 $((TF_TESTS_PER_GPU-1))`; do
|
|||||||
# This export only works within the brackets, so it is isolated to one
|
# This export only works within the brackets, so it is isolated to one
|
||||||
# single command.
|
# single command.
|
||||||
export CUDA_VISIBLE_DEVICES=$i
|
export CUDA_VISIBLE_DEVICES=$i
|
||||||
|
export HIP_VISIBLE_DEVICES=$i
|
||||||
echo "Running test $TEST_BINARY $* on GPU $CUDA_VISIBLE_DEVICES"
|
echo "Running test $TEST_BINARY $* on GPU $CUDA_VISIBLE_DEVICES"
|
||||||
"$TEST_BINARY" $@
|
"$TEST_BINARY" $@
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user