diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-04-17 16:44:00 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-04-17 16:47:15 +0200 |
commit | 409a5a2ad09a5904a083059f9b1e00e53e1019d9 (patch) | |
tree | 5db2ee93fd9c828b89bdbbc9dab58fa9fe49f179 /src/utilities | |
parent | 3e2faa5db8eabd6f5a5c6c835fda84f9b79b8b3b (diff) |
Fixed a namespace clash with CUDA FP16 for the half-datatype
Diffstat (limited to 'src/utilities')
-rw-r--r-- | src/utilities/utilities.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utilities/utilities.hpp b/src/utilities/utilities.hpp index b40ec541..09394cf3 100644 --- a/src/utilities/utilities.hpp +++ b/src/utilities/utilities.hpp @@ -31,6 +31,9 @@ namespace clblast { // ================================================================================================= +// Shorthands for half-precision +using half = cl_half; // based on the OpenCL type, which is actually an 'unsigned short' + // Shorthands for complex data-types using float2 = std::complex<float>; using double2 = std::complex<double>; |