From 0d4091fdfbb6ed29c5b6f73b4d272fdaa01c3ba8 Mon Sep 17 00:00:00 2001 From: CNugteren Date: Tue, 13 Oct 2015 08:29:45 +0200 Subject: Added guards for routine-specific level-3 pad kernels --- src/kernels/level3/pad.opencl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/kernels/level3/pad.opencl b/src/kernels/level3/pad.opencl index 69324f20..eefddce4 100644 --- a/src/kernels/level3/pad.opencl +++ b/src/kernels/level3/pad.opencl @@ -117,6 +117,7 @@ __kernel void UnPadMatrix(const int src_one, const int src_two, } // ================================================================================================= +#if defined(ROUTINE_SYMM) // Kernel to populate a squared symmetric matrix, given that the triangle which holds the data is // stored as the lower-triangle of the input matrix. This uses the padding kernel's parameters. @@ -185,8 +186,9 @@ __kernel void SymmUpperToSquared(const int src_dim, } } +#endif // ================================================================================================= -#if PRECISION == 3232 || PRECISION == 6464 +#if defined(ROUTINE_HEMM) && (PRECISION == 3232 || PRECISION == 6464) // Kernel to populate a squared hermitian matrix, given that the triangle which holds the data is // stored as the lower-triangle of the input matrix. This uses the padding kernel's parameters. @@ -269,6 +271,7 @@ __kernel void HermUpperToSquared(const int src_dim, #endif // ================================================================================================= +#if defined(ROUTINE_TRMM) // Kernel to populate a squared triangular matrix, given that the triangle which holds the data is // stored as the lower-triangle of the input matrix. This uses the padding kernel's parameters. @@ -341,6 +344,7 @@ __kernel void TrmmUpperToSquared(const int src_dim, } } +#endif // ================================================================================================= // End of the C++11 raw string literal -- cgit v1.2.3