From 6b625f8915ce0596d65187bd3a8eb47e91a0084e Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Mon, 10 Apr 2017 22:54:14 +0200 Subject: Added reference implementations for performance-testing against cuBLAS --- test/correctness/tester.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'test/correctness/tester.cpp') diff --git a/test/correctness/tester.cpp b/test/correctness/tester.cpp index b352c1aa..d1f3cbb2 100644 --- a/test/correctness/tester.cpp +++ b/test/correctness/tester.cpp @@ -117,9 +117,15 @@ Tester::Tester(const std::vector &arguments, const bool silent options_ = options; // Determines which reference is the default - auto default_clblas = 0; - auto default_cblas = 0; - auto default_cublas = 0; + #if defined(CLBLAST_REF_CBLAS) + auto default_cblas = 0; + #endif + #if defined(CLBLAST_REF_CLBLAS) + auto default_clblas = 0; + #endif + #if defined(CLBLAST_REF_CUBLAS) + auto default_cublas = 0; + #endif #if defined(CLBLAST_REF_CBLAS) default_cblas = 1; #elif defined(CLBLAST_REF_CLBLAS) -- cgit v1.2.3