summaryrefslogtreecommitdiff
path: root/include/internal/utilities.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/internal/utilities.h')
-rw-r--r--include/internal/utilities.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/internal/utilities.h b/include/internal/utilities.h
index 82cd7f44..46d9b8f1 100644
--- a/include/internal/utilities.h
+++ b/include/internal/utilities.h
@@ -27,6 +27,9 @@
namespace clblast {
// =================================================================================================
+// Host data-type for half-precision floating-point (16-bit)
+using half = cl_half;
+
// Shorthands for complex data-types
using float2 = std::complex<float>;
using double2 = std::complex<double>;