From 39c49bf4f977427de42fdfe27e8a2ed41ae4923e Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Sun, 27 Nov 2016 11:00:29 +0100 Subject: Made it possible to use the command-line environmental variables for each executable and without re-running CMake --- test/performance/routines/level2/xtbmv.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/performance/routines/level2/xtbmv.cpp') diff --git a/test/performance/routines/level2/xtbmv.cpp b/test/performance/routines/level2/xtbmv.cpp index ed9d26a8..5fb3ea14 100644 --- a/test/performance/routines/level2/xtbmv.cpp +++ b/test/performance/routines/level2/xtbmv.cpp @@ -18,7 +18,8 @@ using double2 = clblast::double2; // Main function (not within the clblast namespace) int main(int argc, char *argv[]) { - switch(clblast::GetPrecision(argc, argv, clblast::Precision::kSingle)) { + const auto command_line_args = clblast::RetrieveCommandLineArguments(argc, argv); + switch(clblast::GetPrecision(command_line_args, clblast::Precision::kSingle)) { case clblast::Precision::kHalf: clblast::RunClient, half, half>(argc, argv); break; case clblast::Precision::kSingle: -- cgit v1.2.3