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