Struct half8
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Assembly: Hybridizer.Runtime.CUDAImports.dll
Syntax
[IntrinsicIncludeCUDA("<cuda_fp16.h>")]
[IntrinsicType("half8")]
[Guid("FB1994C2-5E2A-4748-B745-C09CD7AD9C06")]
public struct half8
Constructors
half8(half, half, half, half, half, half, half, half)
Declaration
public half8(half xx, half yy, half zz, half ww, half xx2, half yy2, half zz2, half ww2)
Parameters
half8(half8)
Declaration
Parameters
Type |
Name |
Description |
half8 |
res |
|
Methods
Load(half8*, Int32)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "__hybridizer_load_half8")]
public static half8 Load(half8*ptr, int alignment)
Parameters
Type |
Name |
Description |
half8* |
ptr |
|
System.Int32 |
alignment |
|
Returns
Select(bool8, half8, half8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "hybridizer::select<half8>")]
public static half8 Select(bool8 mask, half8 l, half8 r)
Parameters
Returns
Store(half8*, half8, Int32)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "__hybridizer_store_half8")]
public static void Store(half8*ptr, half8 val, int alignment)
Parameters
Type |
Name |
Description |
half8* |
ptr |
|
half8 |
val |
|
System.Int32 |
alignment |
|
Operators
Addition(half, half8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator+")]
public static half8 operator +(half a, half8 b)
Parameters
Returns
Addition(half8, half)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator+")]
public static half8 operator +(half8 a, half b)
Parameters
Returns
Addition(half8, half8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator+")]
public static half8 operator +(half8 a, half8 b)
Parameters
Returns
Division(half, half8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator/")]
public static half8 operator /(half a, half8 b)
Parameters
Returns
Division(half8, half)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator/")]
public static half8 operator /(half8 a, half b)
Parameters
Returns
Division(half8, half8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator/")]
public static half8 operator /(half8 a, half8 b)
Parameters
Returns
GreaterThan(half8, half8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator>")]
public static bool8 operator>(half8 l, half8 r)
Parameters
Returns
GreaterThanOrEqual(half8, half8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator>=")]
public static bool8 operator >=(half8 l, half8 r)
Parameters
Returns
LessThan(half8, half8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator<")]
public static bool8 operator <(half8 l, half8 r)
Parameters
Returns
LessThanOrEqual(half8, half8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator<=")]
public static bool8 operator <=(half8 l, half8 r)
Parameters
Returns
Multiply(half, half8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator*")]
public static half8 operator *(half a, half8 b)
Parameters
Returns
Multiply(half8, half)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator*")]
public static half8 operator *(half8 a, half b)
Parameters
Returns
Multiply(half8, half8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator*")]
public static half8 operator *(half8 a, half8 b)
Parameters
Returns
Subtraction(half, half8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator-")]
public static half8 operator -(half a, half8 b)
Parameters
Returns
Subtraction(half8, half)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator-")]
public static half8 operator -(half8 a, half b)
Parameters
Returns
Subtraction(half8, half8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator-")]
public static half8 operator -(half8 a, half8 b)
Parameters
Returns