From 0558148937134f82a186b683ebf6b026035df626 Mon Sep 17 00:00:00 2001 From: Alejandro Gallo Date: Thu, 8 Sep 2022 15:36:10 +0200 Subject: [PATCH] Fix small syntactic bug --- src/atrip/Atrip.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/atrip/Atrip.cxx b/src/atrip/Atrip.cxx index f2905d9..e7c85c0 100644 --- a/src/atrip/Atrip.cxx +++ b/src/atrip/Atrip.cxx @@ -108,9 +108,9 @@ Atrip::Output Atrip::run(Atrip::Input const& in) { printf("\n" "CUDA CARD RANK %d\n" "=================\n" - "\tnumber: %1$d\n" + "\tnumber: %1$ld\n" "\tname: %s\n" - "\tMem. clock rate (KHz): %d\n" + "\tMem. clock rate (KHz): %ld\n" "\tShared Mem Per Block (KB): %f\n" "\tAvail. Free/Total mem (GB): %f/%f\n" "\tFree memory (GB): %f\n" @@ -595,8 +595,7 @@ Atrip::Output Atrip::run(Atrip::Input const& in) { tabhh.unwrapSlice(Slice::AC, abc), tabhh.unwrapSlice(Slice::BC, abc), // -- TIJK - (DataFieldType*)Tijk, - ); + (DataFieldType*)Tijk); WITH_RANK << iteration << "-th doubles done\n"; )) } @@ -618,7 +617,7 @@ Atrip::Output Atrip::run(Atrip::Input const& in) { WITH_CHRONO("singles", #if defined(HAVE_CUDA) singlesContribution<<<1,1>>>(No, Nv, abc[0], abc[1], abc[2], - (DataFieldType*)Tai + (DataFieldType*)Tai, #else singlesContribution(No, Nv, abc[0], abc[1], abc[2], Tai.data(),