summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCNugteren <web@cedricnugteren.nl>2015-10-13 08:29:45 +0200
committerCNugteren <web@cedricnugteren.nl>2015-10-13 08:29:45 +0200
commit0d4091fdfbb6ed29c5b6f73b4d272fdaa01c3ba8 (patch)
tree61ebab5da9b8807ad1d085e2a249df39b861db0e /src
parentf74c9a564074174b6cb43d3f261be82ace6538d5 (diff)
Added guards for routine-specific level-3 pad kernels
Diffstat (limited to 'src')
-rw-r--r--src/kernels/level3/pad.opencl6
1 files changed, 5 insertions, 1 deletions
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