summaryrefslogtreecommitdiffstats
path: root/cuda/3d/rounding.h
diff options
context:
space:
mode:
Diffstat (limited to 'cuda/3d/rounding.h')
-rw-r--r--cuda/3d/rounding.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/cuda/3d/rounding.h b/cuda/3d/rounding.h
new file mode 100644
index 0000000..b7ccc1c
--- /dev/null
+++ b/cuda/3d/rounding.h
@@ -0,0 +1,11 @@
+#include <cuda_fp16.h>
+
+#define texto __float2half
+#define texfrom __half2float
+#define textype half
+
+
+//#define texto
+//#define texfrom
+//#define textype float
+