summaryrefslogtreecommitdiff
path: root/test/wrapper_cuda.hpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-10-17 20:29:23 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2017-10-17 20:29:23 +0200
commit9d879c949a04102d536e0e7980b0ce78f5cf1be1 (patch)
tree00edd5f412e19bf1416e47e49aa3f8df9cfbed9d /test/wrapper_cuda.hpp
parentb1270f04b89c3271aca11594501f7e997848e394 (diff)
Fix an incompatibility with CUDA's FP16 definition
Diffstat (limited to 'test/wrapper_cuda.hpp')
-rw-r--r--test/wrapper_cuda.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/wrapper_cuda.hpp b/test/wrapper_cuda.hpp
index c97ae3ef..12417cdd 100644
--- a/test/wrapper_cuda.hpp
+++ b/test/wrapper_cuda.hpp
@@ -22,6 +22,7 @@
#include "utilities/utilities.hpp"
#ifdef CLBLAST_REF_CUBLAS
+ #define CUDA_NO_HALF
#include <cuda_runtime.h>
#include <cublas_v2.h>
#endif