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