mirror of
https://github.com/augustin64/projet-tipe
synced 2025-01-24 07:36:24 +01:00
Add CUDA tests
This commit is contained in:
parent
e984ec5cdd
commit
886e61384a
5
make.sh
5
make.sh
@ -32,6 +32,11 @@ build () {
|
|||||||
$CC "$i" -o "$OUT/test_$(echo $i | awk -F. '{print $1}' | awk -F/ '{print $NF}')" $FLAGS
|
$CC "$i" -o "$OUT/test_$(echo $i | awk -F. '{print $1}' | awk -F/ '{print $NF}')" $FLAGS
|
||||||
echo "Fait."
|
echo "Fait."
|
||||||
done
|
done
|
||||||
|
for i in "test/"*".cu"; do
|
||||||
|
echo "Compilation de $i"
|
||||||
|
nvcc "$i" -o "$OUT/test_$(echo $i | awk -F. '{print $1}' | awk -F/ '{print $NF}')"
|
||||||
|
echo "Fait."
|
||||||
|
done
|
||||||
return 0
|
return 0
|
||||||
elif [[ $1 == "utils" ]]; then
|
elif [[ $1 == "utils" ]]; then
|
||||||
echo "Compilation de src/mnist/utils.c"
|
echo "Compilation de src/mnist/utils.c"
|
||||||
|
Loading…
Reference in New Issue
Block a user