diff options
author | Suren A. Chilingaryan <csa@ipecompute4.ands.kit.edu> | 2022-07-26 23:29:12 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@ipecompute4.ands.kit.edu> | 2022-07-26 23:29:12 +0200 |
commit | 9888385e475a747250ab802ee137b76f2b87925d (patch) | |
tree | 9fd968221e25d71dec56cb285e0d5942b5751c38 /cuda/3d/rounding.h | |
parent | 0bad868e66827f94ae93a909dc8ea330a8540a11 (diff) | |
download | astra-half.tar.gz astra-half.tar.bz2 astra-half.tar.xz astra-half.zip |
Half-precision back-/forward-projection for parallel geometryhalf
Diffstat (limited to 'cuda/3d/rounding.h')
-rw-r--r-- | cuda/3d/rounding.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cuda/3d/rounding.h b/cuda/3d/rounding.h new file mode 100644 index 0000000..a263f84 --- /dev/null +++ b/cuda/3d/rounding.h @@ -0,0 +1,9 @@ +#include <cuda_fp16.h> + +#define texto __float2half +#define texfrom __half2float +#define textype half + +//#define texto +//#define texfrom +//#define textype float |