Add simple cuda bench configuration

This commit is contained in:
Alejandro Gallo 2022-12-06 20:57:34 +01:00
parent 895cd02778
commit 418fd9d389
2 changed files with 24 additions and 4 deletions

View File

@ -87,7 +87,10 @@ sed "s/^# //; s/^# *$//; /^$/d"
and without computing slices.
- only-dgemm ::
This only runs the computation part that involves dgemms.
- slices-on-gpu-only-dgemm ::
- cuda-only-dgemm ::
This is the naive CUDA implementation compiling only the dgemm parts
of the compute.
- cuda-slices-on-gpu-only-dgemm ::
This configuration tests that slices reside completely on the gpu
and it should use a CUDA aware MPI implementation.
It also only uses the routines that involve dgemm.

View File

@ -98,10 +98,27 @@ EOF
create_config $tmp only-dgemm
rm $tmp
#
# begin doc
#
# - slices-on-gpu-only-dgemm ::
# - cuda-only-dgemm ::
# This is the naive CUDA implementation compiling only the dgemm parts
# of the compute.
#
# end doc
tmp=`mktemp`
cat <<EOF > $tmp
--enable-cuda
--enable-only-dgemm
--disable-slice
EOF
create_config $tmp cuda-only-dgemm
rm $tmp
# begin doc
#
# - cuda-slices-on-gpu-only-dgemm ::
# This configuration tests that slices reside completely on the gpu
# and it should use a CUDA aware MPI implementation.
# It also only uses the routines that involve dgemm.
@ -117,7 +134,7 @@ cat <<EOF > $tmp
--disable-slice
EOF
create_config $tmp sources-in-gpu
create_config $tmp cuda-slices-on-gpu-only-dgemm
rm $tmp
############################################################