diff options
author | Suren A. Chilingaryan <csa@ipecompute4.ands.kit.edu> | 2022-07-26 23:32:36 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@ipecompute4.ands.kit.edu> | 2022-07-26 23:32:36 +0200 |
commit | accc4439d9dd035765ed77d94a0ceece3270cc0b (patch) | |
tree | 886507357f95680e8a6a7dc80aefe04ca42c5b2d /cuda/3d/rounding.h | |
parent | bfceef4da377c32cd59d1e51efb9aa1a21c7f4bd (diff) | |
download | astra-tnv.tar.gz astra-tnv.tar.bz2 astra-tnv.tar.xz astra-tnv.zip |
Half-precision back-/forward-projection for parallel geometrytnv
Diffstat (limited to 'cuda/3d/rounding.h')
-rw-r--r-- | cuda/3d/rounding.h | 11 |
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 + |