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