summaryrefslogtreecommitdiff
path: root/src/routines/level1/xswap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/routines/level1/xswap.cc')
-rw-r--r--src/routines/level1/xswap.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/routines/level1/xswap.cc b/src/routines/level1/xswap.cc
index bfc4a739..8844abff 100644
--- a/src/routines/level1/xswap.cc
+++ b/src/routines/level1/xswap.cc
@@ -20,6 +20,7 @@ namespace clblast {
// =================================================================================================
// Specific implementations to get the memory-type based on a template argument
+template <> const Precision Xswap<half>::precision_ = Precision::kHalf;
template <> const Precision Xswap<float>::precision_ = Precision::kSingle;
template <> const Precision Xswap<double>::precision_ = Precision::kDouble;
template <> const Precision Xswap<float2>::precision_ = Precision::kComplexSingle;
@@ -105,6 +106,7 @@ StatusCode Xswap<T>::DoSwap(const size_t n,
// =================================================================================================
// Compiles the templated class
+template class Xswap<half>;
template class Xswap<float>;
template class Xswap<double>;
template class Xswap<float2>;