| 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)
\ingroup CUDA_MATH__HALF_MISC
Assignment operator from \p __half2_raw
|
__half2 |
__half2.put(__half2 src)
\ingroup CUDA_MATH__HALF_MISC
Move assignment operator, available for \p C++11 and later dialects
|
__half2 |
__half2.x(__half setter) |
__half2 |
__half2.y(__half setter) |
| Modifier and Type | Method and Description |
|---|---|
__half2 |
__half2.put(__half2 src)
\ingroup CUDA_MATH__HALF_MISC
Move assignment operator, available for \p C++11 and later dialects
|
| Constructor and Description |
|---|
__half2(__half2 src)
\ingroup CUDA_MATH__HALF_MISC
Move constructor, available for \p C++11 and later dialects
|
| Modifier and Type | Method and Description |
|---|---|
static __half2 |
cudart.__float22half2_rn(float2 a)
\ingroup CUDA_MATH__HALF_MISC
\brief Converts both components of \p float2 number to half precision in
round-to-nearest-even mode and returns \p half2 with converted values.
|
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.
|
static __half2 |
cudart.__h2div(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector division in round-to-nearest-even mode.
|
static __half2 |
cudart.__habs2(__half2 a)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Calculates the absolute value of both halves of the input \p half2 number and
returns the result.
|
static __half2 |
cudart.__hadd2_rn(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector addition in round-to-nearest-even mode.
|
static __half2 |
cudart.__hadd2_sat(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector addition in round-to-nearest-even mode, with
saturation to [0.0, 1.0].
|
static __half2 |
cudart.__hadd2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector addition in round-to-nearest-even mode.
|
static __half2 |
cudart.__half2half2(__half a)
\ingroup CUDA_MATH__HALF_MISC
\brief Returns \p half2 with both halves equal to the input value.
|
static __half2 |
cudart.__halves2half2(__half a,
__half b)
\ingroup CUDA_MATH__HALF_MISC
\brief Combines two \p half numbers into one \p half2 number.
|
static __half2 |
cudart.__heq2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs half2 vector if-equal comparison.
|
static __half2 |
cudart.__hequ2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered if-equal comparison.
|
static __half2 |
cudart.__hge2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector greater-equal comparison.
|
static __half2 |
cudart.__hgeu2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered greater-equal comparison.
|
static __half2 |
cudart.__hgt2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector greater-than comparison.
|
static __half2 |
cudart.__hgtu2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered greater-than comparison.
|
static __half2 |
cudart.__high2half2(__half2 a)
\ingroup CUDA_MATH__HALF_MISC
\brief Extracts high 16 bits from \p half2 input.
|
static __half2 |
cudart.__highs2half2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF_MISC
\brief Extracts high 16 bits from each of the two \p half2 inputs and
combines into one \p half2 number.
|
static __half2 |
cudart.__hisnan2(__half2 a)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Determine whether \p half2 argument is a NaN.
|
static __half2 |
cudart.__hle2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector less-equal comparison.
|
static __half2 |
cudart.__hleu2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered less-equal comparison.
|
static __half2 |
cudart.__hlt2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector less-than comparison.
|
static __half2 |
cudart.__hltu2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered less-than comparison.
|
static __half2 |
cudart.__hmax2_nan(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Calculates \p half2 vector maximum of two inputs, NaNs pass through.
|
static __half2 |
cudart.__hmax2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Calculates \p half2 vector maximum of two inputs.
|
static __half2 |
cudart.__hmin2_nan(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Calculates \p half2 vector minimum of two inputs, NaNs pass through.
|
static __half2 |
cudart.__hmin2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Calculates \p half2 vector minimum of two inputs.
|
static __half2 |
cudart.__hmul2_rn(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector multiplication in round-to-nearest-even mode.
|
static __half2 |
cudart.__hmul2_sat(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector multiplication in round-to-nearest-even mode,
with saturation to [0.0, 1.0].
|
static __half2 |
cudart.__hmul2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector multiplication in round-to-nearest-even mode.
|
static __half2 |
cudart.__hne2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector not-equal comparison.
|
static __half2 |
cudart.__hneg2(__half2 a)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Negates both halves of the input \p half2 number and returns the
result.
|
static __half2 |
cudart.__hneu2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered not-equal comparison.
|
static __half2 |
cudart.__hsub2_rn(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector subtraction in round-to-nearest-even mode.
|
static __half2 |
cudart.__hsub2_sat(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector subtraction in round-to-nearest-even mode,
with saturation to [0.0, 1.0].
|
static __half2 |
cudart.__hsub2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector subtraction in round-to-nearest-even mode.
|
static __half2 |
cudart.__low2half2(__half2 a)
\ingroup CUDA_MATH__HALF_MISC
\brief Extracts low 16 bits from \p half2 input.
|
static __half2 |
cudart.__lowhigh2highlow(__half2 a)
\ingroup CUDA_MATH__HALF_MISC
\brief Swaps both halves of the \p half2 input.
|
static __half2 |
cudart.__lows2half2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF_MISC
\brief Extracts low 16 bits from each of the two \p half2 inputs and combines
into one \p half2 number.
|
static __half2 |
cudart.add(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half addition operation.
|
static __half2 |
cudart.add(__half2 h)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Implements packed \p half unary plus operator, returns input value.
|
static __half2 |
cudart.addPut(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half compound assignment with addition operation.
|
static __half2 |
cudart.decrement(__half2 h)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half prefix decrement operation.
|
static __half2 |
cudart.decrement(__half2 h,
int ignored)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half postfix decrement operation.
|
static __half2 |
cudart.divide(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half division operation.
|
static __half2 |
cudart.dividePut(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half compound assignment with division operation.
|
static __half2 |
cudart.increment(__half2 h)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half prefix increment operation.
|
static __half2 |
cudart.increment(__half2 h,
int ignored)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half postfix increment operation.
|
static __half2 |
cudart.make_half2(__half x,
__half y)
\ingroup CUDA_MATH__HALF_MISC
\brief Vector function, combines two \p __half numbers into one \p __half2 number.
|
static __half2 |
cudart.multiply(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half multiplication operation.
|
static __half2 |
cudart.multiplyPut(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half compound assignment with multiplication operation.
|
static __half2 |
cudart.subtract(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half subtraction operation.
|
static __half2 |
cudart.subtract(__half2 h)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Implements packed \p half unary minus operator.
|
static __half2 |
cudart.subtractPut(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half compound assignment with subtraction operation.
|
| Modifier and Type | Method and Description |
|---|---|
static __half2 |
cudart.__h2div(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector division in round-to-nearest-even mode.
|
static __half2 |
cudart.__habs2(__half2 a)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Calculates the absolute value of both halves of the input \p half2 number and
returns the result.
|
static __half2 |
cudart.__hadd2_rn(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector addition in round-to-nearest-even mode.
|
static __half2 |
cudart.__hadd2_sat(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector addition in round-to-nearest-even mode, with
saturation to [0.0, 1.0].
|
static __half2 |
cudart.__hadd2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector addition in round-to-nearest-even mode.
|
static float2 |
cudart.__half22float2(__half2 a)
\ingroup CUDA_MATH__HALF_MISC
\brief Converts both halves of \p half2 to \p float2 and returns the result.
|
static boolean |
cudart.__hbeq2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector if-equal comparison and returns boolean true
if both \p half results are true, boolean false otherwise.
|
static boolean |
cudart.__hbequ2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered if-equal comparison and returns
boolean true if both \p half results are true, boolean false otherwise.
|
static boolean |
cudart.__hbge2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector greater-equal comparison and returns boolean
true if both \p half results are true, boolean false otherwise.
|
static boolean |
cudart.__hbgeu2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered greater-equal comparison and
returns boolean true if both \p half results are true, boolean false
otherwise.
|
static boolean |
cudart.__hbgt2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector greater-than comparison and returns boolean
true if both \p half results are true, boolean false otherwise.
|
static boolean |
cudart.__hbgtu2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered greater-than comparison and
returns boolean true if both \p half results are true, boolean false
otherwise.
|
static boolean |
cudart.__hble2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector less-equal comparison and returns boolean
true if both \p half results are true, boolean false otherwise.
|
static boolean |
cudart.__hbleu2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered less-equal comparison and returns
boolean true if both \p half results are true, boolean false otherwise.
|
static boolean |
cudart.__hblt2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector less-than comparison and returns boolean
true if both \p half results are true, boolean false otherwise.
|
static boolean |
cudart.__hbltu2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered less-than comparison and returns
boolean true if both \p half results are true, boolean false otherwise.
|
static boolean |
cudart.__hbne2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector not-equal comparison and returns boolean
true if both \p half results are true, boolean false otherwise.
|
static boolean |
cudart.__hbneu2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered not-equal comparison and returns
boolean true if both \p half results are true, boolean false otherwise.
|
static int |
cudart.__heq2_mask(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs half2 vector if-equal comparison.
|
static __half2 |
cudart.__heq2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs half2 vector if-equal comparison.
|
static int |
cudart.__hequ2_mask(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered if-equal comparison.
|
static __half2 |
cudart.__hequ2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered if-equal comparison.
|
static int |
cudart.__hge2_mask(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector greater-equal comparison.
|
static __half2 |
cudart.__hge2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector greater-equal comparison.
|
static int |
cudart.__hgeu2_mask(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered greater-equal comparison.
|
static __half2 |
cudart.__hgeu2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered greater-equal comparison.
|
static int |
cudart.__hgt2_mask(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector greater-than comparison.
|
static __half2 |
cudart.__hgt2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector greater-than comparison.
|
static int |
cudart.__hgtu2_mask(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered greater-than comparison.
|
static __half2 |
cudart.__hgtu2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered greater-than comparison.
|
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 __half |
cudart.__high2half(__half2 a)
\ingroup CUDA_MATH__HALF_MISC
\brief Returns high 16 bits of \p half2 input.
|
static __half2 |
cudart.__high2half2(__half2 a)
\ingroup CUDA_MATH__HALF_MISC
\brief Extracts high 16 bits from \p half2 input.
|
static __half2 |
cudart.__highs2half2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF_MISC
\brief Extracts high 16 bits from each of the two \p half2 inputs and
combines into one \p half2 number.
|
static __half2 |
cudart.__hisnan2(__half2 a)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Determine whether \p half2 argument is a NaN.
|
static int |
cudart.__hle2_mask(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector less-equal comparison.
|
static __half2 |
cudart.__hle2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector less-equal comparison.
|
static int |
cudart.__hleu2_mask(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered less-equal comparison.
|
static __half2 |
cudart.__hleu2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered less-equal comparison.
|
static int |
cudart.__hlt2_mask(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector less-than comparison.
|
static __half2 |
cudart.__hlt2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector less-than comparison.
|
static int |
cudart.__hltu2_mask(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered less-than comparison.
|
static __half2 |
cudart.__hltu2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered less-than comparison.
|
static __half2 |
cudart.__hmax2_nan(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Calculates \p half2 vector maximum of two inputs, NaNs pass through.
|
static __half2 |
cudart.__hmax2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Calculates \p half2 vector maximum of two inputs.
|
static __half2 |
cudart.__hmin2_nan(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Calculates \p half2 vector minimum of two inputs, NaNs pass through.
|
static __half2 |
cudart.__hmin2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Calculates \p half2 vector minimum of two inputs.
|
static __half2 |
cudart.__hmul2_rn(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector multiplication in round-to-nearest-even mode.
|
static __half2 |
cudart.__hmul2_sat(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector multiplication in round-to-nearest-even mode,
with saturation to [0.0, 1.0].
|
static __half2 |
cudart.__hmul2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector multiplication in round-to-nearest-even mode.
|
static int |
cudart.__hne2_mask(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector not-equal comparison.
|
static __half2 |
cudart.__hne2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector not-equal comparison.
|
static __half2 |
cudart.__hneg2(__half2 a)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Negates both halves of the input \p half2 number and returns the
result.
|
static int |
cudart.__hneu2_mask(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered not-equal comparison.
|
static __half2 |
cudart.__hneu2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_COMPARISON
\brief Performs \p half2 vector unordered not-equal comparison.
|
static __half2 |
cudart.__hsub2_rn(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector subtraction in round-to-nearest-even mode.
|
static __half2 |
cudart.__hsub2_sat(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector subtraction in round-to-nearest-even mode,
with saturation to [0.0, 1.0].
|
static __half2 |
cudart.__hsub2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
\brief Performs \p half2 vector subtraction in round-to-nearest-even mode.
|
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.
|
static __half |
cudart.__low2half(__half2 a)
\ingroup CUDA_MATH__HALF_MISC
\brief Returns low 16 bits of \p half2 input.
|
static __half2 |
cudart.__low2half2(__half2 a)
\ingroup CUDA_MATH__HALF_MISC
\brief Extracts low 16 bits from \p half2 input.
|
static __half2 |
cudart.__lowhigh2highlow(__half2 a)
\ingroup CUDA_MATH__HALF_MISC
\brief Swaps both halves of the \p half2 input.
|
static __half2 |
cudart.__lows2half2(__half2 a,
__half2 b)
\ingroup CUDA_MATH__HALF_MISC
\brief Extracts low 16 bits from each of the two \p half2 inputs and combines
into one \p half2 number.
|
static __half2 |
cudart.add(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half addition operation.
|
static __half2 |
cudart.add(__half2 h)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Implements packed \p half unary plus operator, returns input value.
|
static __half2 |
cudart.addPut(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half compound assignment with addition operation.
|
static __half2 |
cudart.decrement(__half2 h)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half prefix decrement operation.
|
static __half2 |
cudart.decrement(__half2 h,
int ignored)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half postfix decrement operation.
|
static __half2 |
cudart.divide(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half division operation.
|
static __half2 |
cudart.dividePut(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half compound assignment with division operation.
|
static boolean |
cudart.equals(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_COMPARISON
Performs packed \p half ordered compare equal operation.
|
static boolean |
cudart.greaterThan(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_COMPARISON
Performs packed \p half ordered greater-than compare operation.
|
static boolean |
cudart.greaterThanEquals(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_COMPARISON
Performs packed \p half ordered greater-or-equal compare operation.
|
static __half2 |
cudart.increment(__half2 h)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half prefix increment operation.
|
static __half2 |
cudart.increment(__half2 h,
int ignored)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half postfix increment operation.
|
static boolean |
cudart.lessThan(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_COMPARISON
Performs packed \p half ordered less-than compare operation.
|
static boolean |
cudart.lessThanEquals(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_COMPARISON
Performs packed \p half ordered less-or-equal compare operation.
|
static __half2 |
cudart.multiply(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half multiplication operation.
|
static __half2 |
cudart.multiplyPut(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half compound assignment with multiplication operation.
|
static boolean |
cudart.notEquals(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_COMPARISON
Performs packed \p half unordered compare not-equal operation.
|
static __half2 |
cudart.subtract(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half subtraction operation.
|
static __half2 |
cudart.subtract(__half2 h)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Implements packed \p half unary minus operator.
|
static __half2 |
cudart.subtractPut(__half2 lh,
__half2 rh)
\ingroup CUDA_MATH__HALF2_ARITHMETIC
Performs packed \p half compound assignment with subtraction operation.
|
Copyright © 2025. All rights reserved.