From 8399568edfeba41912b87642def96f6e8bc4f838 Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Fri, 27 Dec 2013 18:19:29 +0400 Subject: [PATCH] disabled GEMM test if library was built without CUBLAS --- modules/gpu/perf/perf_core.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/gpu/perf/perf_core.cpp b/modules/gpu/perf/perf_core.cpp index e38196b994..ae6ed865b1 100644 --- a/modules/gpu/perf/perf_core.cpp +++ b/modules/gpu/perf/perf_core.cpp @@ -1303,6 +1303,8 @@ PERF_TEST_P(Sz_3Depth, Core_AddWeighted, ////////////////////////////////////////////////////////////////////// // GEMM +#ifdef HAVE_CUBLAS + CV_FLAGS(GemmFlags, 0, GEMM_1_T, GEMM_2_T, GEMM_3_T) #define ALL_GEMM_FLAGS Values(0, CV_GEMM_A_T, CV_GEMM_B_T, CV_GEMM_C_T, CV_GEMM_A_T | CV_GEMM_B_T, CV_GEMM_A_T | CV_GEMM_C_T, CV_GEMM_A_T | CV_GEMM_B_T | CV_GEMM_C_T) @@ -1351,6 +1353,8 @@ PERF_TEST_P(Sz_Type_Flags, Core_GEMM, } } +#endif + ////////////////////////////////////////////////////////////////////// // Transpose