In [ ]:
%%bash
nvidia-smi
In [ ]:
%%bash
xla_device_test &> xla_device_test.log
tail -3 xla_device_test.log
In [ ]:
%%bash
cat /root/src/main/cuda/SumArrays.cu
In [ ]:
%%bash
sum_arrays
In [ ]:
%%bash
# Don't go above 10!!
for _ in {1..5}
do
sum_arrays > /dev/null 2>&1
done
echo "...Done!"
In [ ]:
%%bash
cat /root/src/main/cuda/SumArraysAsyncMemcpy.cu
In [ ]:
%%bash
sum_arrays_async_memcpy
In [ ]:
%%bash
# Don't go above 10!!
for _ in {1..5}
do
sum_arrays_async_memcpy > /dev/null 2>&1
done
echo "...Done!"
In [ ]:
%%bash
which sum_arrays_async_memcpy
In [ ]:
%%bash
ls -l /root/scripts/
In [ ]:
%%bash
cat /root/scripts/sum_arrays_async_memcpy
In [ ]: