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