From accc4439d9dd035765ed77d94a0ceece3270cc0b Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 26 Jul 2022 23:32:36 +0200 Subject: Half-precision back-/forward-projection for parallel geometry --- cuda/3d/rounding.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cuda/3d/rounding.h (limited to 'cuda/3d/rounding.h') 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 + +#define texto __float2half +#define texfrom __half2float +#define textype half + + +//#define texto +//#define texfrom +//#define textype float + -- cgit v1.2.3