Loading src/Benchmarks/BLAS/tnl-benchmark-blas.h +4 −3 Original line number Diff line number Diff line Loading @@ -168,11 +168,12 @@ main( int argc, char* argv[] ) mode |= std::ios::app; std::ofstream logFile( logFileName, mode ); // init benchmark and common metadata // init benchmark and set parameters Benchmark<> benchmark( logFile, loops, verbose ); // prepare global metadata Logging::MetadataMap metadata = getHardwareMetadata(); // write global metadata into a separate file std::map< std::string, std::string > metadata = getHardwareMetadata(); writeMapAsJson( metadata, logFileName, ".metadata.json" ); if( precision == "all" || precision == "float" ) runBlasBenchmarks< float >( benchmark, metadata, minSize, maxSize, sizeStepFactor ); Loading src/Benchmarks/DistSpMV/tnl-benchmark-distributed-spmv.h +4 −3 Original line number Diff line number Diff line Loading @@ -333,11 +333,12 @@ main( int argc, char* argv[] ) if( rank == 0 ) logFile.open( logFileName, mode ); // init benchmark and common metadata // init benchmark and set parameters Benchmark<> benchmark( logFile, loops, verbose ); // prepare global metadata Logging::MetadataMap metadata = getHardwareMetadata(); // write global metadata into a separate file std::map< std::string, std::string > metadata = getHardwareMetadata(); writeMapAsJson( metadata, logFileName, ".metadata.json" ); // TODO: implement resolveMatrixType // return ! Matrices::resolveMatrixType< MainConfig, Loading src/Benchmarks/LinearSolvers/tnl-benchmark-linear-solvers.h +4 −3 Original line number Diff line number Diff line Loading @@ -613,11 +613,12 @@ main( int argc, char* argv[] ) if( rank == 0 ) logFile.open( logFileName, mode ); // init benchmark and common metadata // init benchmark and set parameters Benchmark<> benchmark( logFile, loops, verbose ); // prepare global metadata Logging::MetadataMap metadata = getHardwareMetadata(); // write global metadata into a separate file std::map< std::string, std::string > metadata = getHardwareMetadata(); writeMapAsJson( metadata, logFileName, ".metadata.json" ); // TODO: implement resolveMatrixType // return ! Matrices::resolveMatrixType< MainConfig, Loading src/Benchmarks/NDArray/tnl-benchmark-ndarray-boundary.h +4 −3 Original line number Diff line number Diff line Loading @@ -442,11 +442,12 @@ int main( int argc, char* argv[] ) mode |= std::ios::app; std::ofstream logFile( logFileName, mode ); // init benchmark and common metadata // init benchmark and set parameters Benchmark<> benchmark( logFile, loops, verbose ); // prepare global metadata Logging::MetadataMap metadata = getHardwareMetadata(); // write global metadata into a separate file std::map< std::string, std::string > metadata = getHardwareMetadata(); writeMapAsJson( metadata, logFileName, ".metadata.json" ); const String devices = parameters.getParameter< String >( "devices" ); if( devices == "all" || devices == "host" ) Loading src/Benchmarks/NDArray/tnl-benchmark-ndarray.h +4 −3 Original line number Diff line number Diff line Loading @@ -430,11 +430,12 @@ int main( int argc, char* argv[] ) mode |= std::ios::app; std::ofstream logFile( logFileName, mode ); // init benchmark and common metadata // init benchmark and set parameters Benchmark<> benchmark( logFile, loops, verbose ); // prepare global metadata Logging::MetadataMap metadata = getHardwareMetadata(); // write global metadata into a separate file std::map< std::string, std::string > metadata = getHardwareMetadata(); writeMapAsJson( metadata, logFileName, ".metadata.json" ); const String devices = parameters.getParameter< String >( "devices" ); if( devices == "all" || devices == "host" ) Loading Loading
src/Benchmarks/BLAS/tnl-benchmark-blas.h +4 −3 Original line number Diff line number Diff line Loading @@ -168,11 +168,12 @@ main( int argc, char* argv[] ) mode |= std::ios::app; std::ofstream logFile( logFileName, mode ); // init benchmark and common metadata // init benchmark and set parameters Benchmark<> benchmark( logFile, loops, verbose ); // prepare global metadata Logging::MetadataMap metadata = getHardwareMetadata(); // write global metadata into a separate file std::map< std::string, std::string > metadata = getHardwareMetadata(); writeMapAsJson( metadata, logFileName, ".metadata.json" ); if( precision == "all" || precision == "float" ) runBlasBenchmarks< float >( benchmark, metadata, minSize, maxSize, sizeStepFactor ); Loading
src/Benchmarks/DistSpMV/tnl-benchmark-distributed-spmv.h +4 −3 Original line number Diff line number Diff line Loading @@ -333,11 +333,12 @@ main( int argc, char* argv[] ) if( rank == 0 ) logFile.open( logFileName, mode ); // init benchmark and common metadata // init benchmark and set parameters Benchmark<> benchmark( logFile, loops, verbose ); // prepare global metadata Logging::MetadataMap metadata = getHardwareMetadata(); // write global metadata into a separate file std::map< std::string, std::string > metadata = getHardwareMetadata(); writeMapAsJson( metadata, logFileName, ".metadata.json" ); // TODO: implement resolveMatrixType // return ! Matrices::resolveMatrixType< MainConfig, Loading
src/Benchmarks/LinearSolvers/tnl-benchmark-linear-solvers.h +4 −3 Original line number Diff line number Diff line Loading @@ -613,11 +613,12 @@ main( int argc, char* argv[] ) if( rank == 0 ) logFile.open( logFileName, mode ); // init benchmark and common metadata // init benchmark and set parameters Benchmark<> benchmark( logFile, loops, verbose ); // prepare global metadata Logging::MetadataMap metadata = getHardwareMetadata(); // write global metadata into a separate file std::map< std::string, std::string > metadata = getHardwareMetadata(); writeMapAsJson( metadata, logFileName, ".metadata.json" ); // TODO: implement resolveMatrixType // return ! Matrices::resolveMatrixType< MainConfig, Loading
src/Benchmarks/NDArray/tnl-benchmark-ndarray-boundary.h +4 −3 Original line number Diff line number Diff line Loading @@ -442,11 +442,12 @@ int main( int argc, char* argv[] ) mode |= std::ios::app; std::ofstream logFile( logFileName, mode ); // init benchmark and common metadata // init benchmark and set parameters Benchmark<> benchmark( logFile, loops, verbose ); // prepare global metadata Logging::MetadataMap metadata = getHardwareMetadata(); // write global metadata into a separate file std::map< std::string, std::string > metadata = getHardwareMetadata(); writeMapAsJson( metadata, logFileName, ".metadata.json" ); const String devices = parameters.getParameter< String >( "devices" ); if( devices == "all" || devices == "host" ) Loading
src/Benchmarks/NDArray/tnl-benchmark-ndarray.h +4 −3 Original line number Diff line number Diff line Loading @@ -430,11 +430,12 @@ int main( int argc, char* argv[] ) mode |= std::ios::app; std::ofstream logFile( logFileName, mode ); // init benchmark and common metadata // init benchmark and set parameters Benchmark<> benchmark( logFile, loops, verbose ); // prepare global metadata Logging::MetadataMap metadata = getHardwareMetadata(); // write global metadata into a separate file std::map< std::string, std::string > metadata = getHardwareMetadata(); writeMapAsJson( metadata, logFileName, ".metadata.json" ); const String devices = parameters.getParameter< String >( "devices" ); if( devices == "all" || devices == "host" ) Loading