summaryrefslogtreecommitdiff
path: root/test/performance/routines/level2/xtpsv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/performance/routines/level2/xtpsv.cpp')
-rw-r--r--test/performance/routines/level2/xtpsv.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/performance/routines/level2/xtpsv.cpp b/test/performance/routines/level2/xtpsv.cpp
index db956c9d..0dab8ff6 100644
--- a/test/performance/routines/level2/xtpsv.cpp
+++ b/test/performance/routines/level2/xtpsv.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: throw std::runtime_error("Unsupported precision mode");
case clblast::Precision::kSingle:
clblast::RunClient<clblast::TestXtpsv<float>, float, float>(argc, argv); break;