From 418fd9d389e192d9d8bd538a50c504077b6fd406 Mon Sep 17 00:00:00 2001 From: Alejandro Gallo Date: Tue, 6 Dec 2022 20:57:34 +0100 Subject: [PATCH] Add simple cuda bench configuration --- README.org | 5 ++++- tools/configure-benches.sh | 23 ++++++++++++++++++++--- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/README.org b/README.org index a9ac12b..37c4658 100644 --- a/README.org +++ b/README.org @@ -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. diff --git a/tools/configure-benches.sh b/tools/configure-benches.sh index 03b50d4..de78b64 100755 --- a/tools/configure-benches.sh +++ b/tools/configure-benches.sh @@ -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 < $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 < $tmp --disable-slice EOF -create_config $tmp sources-in-gpu +create_config $tmp cuda-slices-on-gpu-only-dgemm rm $tmp ############################################################