diff options
Diffstat (limited to 'include/internal/utilities.h')
-rw-r--r-- | include/internal/utilities.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/internal/utilities.h b/include/internal/utilities.h index 6dba24e1..d9fdb9ab 100644 --- a/include/internal/utilities.h +++ b/include/internal/utilities.h @@ -198,6 +198,12 @@ bool IsMultiple(const size_t a, const size_t b); size_t GetBytes(const Precision precision); // ================================================================================================= + +// Returns false is this precision is not supported by the device +template <typename T> +bool PrecisionSupported(const Device &device); + +// ================================================================================================= } // namespace clblast // CLBLAST_UTILITIES_H_ |