| Package | Description |
|---|---|
| org.bytedeco.cuda.cudart | |
| org.bytedeco.cuda.global |
| Modifier and Type | Method and Description |
|---|---|
__half2 |
__half2.getPointer(long i) |
__half2 |
__half2.position(long position) |
__half2 |
__half2.put(__half2_raw h2r) |
__half2 |
__half2.put(__half2 src) |
__half2 |
__half2.x(__half setter) |
__half2 |
__half2.y(__half setter) |
| Modifier and Type | Method and Description |
|---|---|
__half2 |
__half2.put(__half2 src) |
| Constructor and Description |
|---|
__half2(__half2 src) |
| Modifier and Type | Method and Description |
|---|---|
static __half2 |
cudart.__float2half2_rn(float a)
\ingroup CUDA_MATH__HALF_MISC
\brief Converts input to half precision in round-to-nearest-even mode and
populates both halves of \p half2 with converted value.
|
static __half2 |
cudart.__floats2half2_rn(float a,
float b)
\ingroup CUDA_MATH__HALF_MISC
\brief Converts both input floats to half precision in round-to-nearest-even
mode and returns \p half2 with converted values.
|
| Modifier and Type | Method and Description |
|---|---|
static float |
cudart.__high2float(__half2 a)
\ingroup CUDA_MATH__HALF_MISC
\brief Converts high 16 bits of \p half2 to float and returns the result
\details Converts high 16 bits of \p half2 input \p a to 32 bit floating point number
and returns the result.
|
static float |
cudart.__low2float(__half2 a)
\ingroup CUDA_MATH__HALF_MISC
\brief Converts low 16 bits of \p half2 to float and returns the result
\details Converts low 16 bits of \p half2 input \p a to 32 bit floating point number
and returns the result.
|
Copyright © 2020. All rights reserved.