Struct short8
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
[IntrinsicType("short8")]
public struct short8
Constructors
short8(short8)
Declaration
public short8(short8 res)
Parameters
Type |
Name |
Description |
short8 |
res |
|
short8(Int16)
constructor from single component
Declaration
Parameters
Type |
Name |
Description |
System.Int16 |
val |
|
short8(Int16, Int16, Int16, Int16, Int16, Int16, Int16, Int16)
constructor from components
Declaration
public short8(short xx, short yy, short zz, short ww, short xx2, short yy2, short zz2, short ww2)
Parameters
Type |
Name |
Description |
System.Int16 |
xx |
|
System.Int16 |
yy |
|
System.Int16 |
zz |
|
System.Int16 |
ww |
|
System.Int16 |
xx2 |
|
System.Int16 |
yy2 |
|
System.Int16 |
zz2 |
|
System.Int16 |
ww2 |
|
Fields
w
Declaration
Field Value
Type |
Description |
System.Int16 |
|
w2
Declaration
Field Value
Type |
Description |
System.Int16 |
|
x
Declaration
Field Value
Type |
Description |
System.Int16 |
|
x2
Declaration
Field Value
Type |
Description |
System.Int16 |
|
y
Declaration
Field Value
Type |
Description |
System.Int16 |
|
y2
Declaration
Field Value
Type |
Description |
System.Int16 |
|
z
Declaration
Field Value
Type |
Description |
System.Int16 |
|
z2
Declaration
Field Value
Type |
Description |
System.Int16 |
|
Methods
Load(short8*, Int32)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "__hybridizer_load_short8")]
public static short8 Load(short8*ptr, int alignment)
Parameters
Type |
Name |
Description |
short8* |
ptr |
|
System.Int32 |
alignment |
has to be a compile time constant
|
Returns
Store(short8*, short8, Int32)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "__hybridizer_store_short8")]
public static void Store(short8*ptr, short8 val, int alignment)
Parameters
Type |
Name |
Description |
short8* |
ptr |
destination pointer
|
short8 |
val |
value to store
|
System.Int32 |
alignment |
has to be a compile time constant
|
Operators
Addition(short8, short8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator+")]
public static short8 operator +(short8 a, short8 b)
Parameters
Returns
Addition(short8, Int16)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator+")]
public static short8 operator +(short8 a, short b)
Parameters
Type |
Name |
Description |
short8 |
a |
|
System.Int16 |
b |
|
Returns
Addition(Int16, short8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator+")]
public static short8 operator +(short a, short8 b)
Parameters
Type |
Name |
Description |
System.Int16 |
a |
|
short8 |
b |
|
Returns
BitwiseAnd(short8, short8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator&")]
public static short8 operator &(short8 a, short8 b)
Parameters
Returns
BitwiseAnd(short8, Int16)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator&")]
public static short8 operator &(short8 a, short b)
Parameters
Type |
Name |
Description |
short8 |
a |
|
System.Int16 |
b |
|
Returns
BitwiseAnd(Int16, short8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator&")]
public static short8 operator &(short a, short8 b)
Parameters
Type |
Name |
Description |
System.Int16 |
a |
|
short8 |
b |
|
Returns
BitwiseOr(short8, short8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator|")]
public static short8 operator |(short8 a, short8 b)
Parameters
Returns
BitwiseOr(short8, Int16)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator|")]
public static short8 operator |(short8 a, short b)
Parameters
Type |
Name |
Description |
short8 |
a |
|
System.Int16 |
b |
|
Returns
BitwiseOr(Int16, short8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator|")]
public static short8 operator |(short a, short8 b)
Parameters
Type |
Name |
Description |
System.Int16 |
a |
|
short8 |
b |
|
Returns
Division(short8, short8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator/")]
public static short8 operator /(short8 a, short8 b)
Parameters
Returns
Division(short8, Int16)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator/")]
public static short8 operator /(short8 a, short b)
Parameters
Type |
Name |
Description |
short8 |
a |
|
System.Int16 |
b |
|
Returns
Division(Int16, short8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator/")]
public static short8 operator /(short a, short8 b)
Parameters
Type |
Name |
Description |
System.Int16 |
a |
|
short8 |
b |
|
Returns
ExclusiveOr(short8, short8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator^")]
public static short8 operator ^(short8 a, short8 b)
Parameters
Returns
ExclusiveOr(short8, Int16)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator^")]
public static short8 operator ^(short8 a, short b)
Parameters
Type |
Name |
Description |
short8 |
a |
|
System.Int16 |
b |
|
Returns
ExclusiveOr(Int16, short8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator^")]
public static short8 operator ^(short a, short8 b)
Parameters
Type |
Name |
Description |
System.Int16 |
a |
|
short8 |
b |
|
Returns
Multiply(short8, short8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator*")]
public static short8 operator *(short8 a, short8 b)
Parameters
Returns
Multiply(short8, Int16)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator*")]
public static short8 operator *(short8 a, short b)
Parameters
Type |
Name |
Description |
short8 |
a |
|
System.Int16 |
b |
|
Returns
Multiply(Int16, short8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator*")]
public static short8 operator *(short a, short8 b)
Parameters
Type |
Name |
Description |
System.Int16 |
a |
|
short8 |
b |
|
Returns
Subtraction(short8, short8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator-")]
public static short8 operator -(short8 a, short8 b)
Parameters
Returns
Subtraction(short8, Int16)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator-")]
public static short8 operator -(short8 a, short b)
Parameters
Type |
Name |
Description |
short8 |
a |
|
System.Int16 |
b |
|
Returns
Subtraction(Int16, short8)
Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator-")]
public static short8 operator -(short a, short8 b)
Parameters
Type |
Name |
Description |
System.Int16 |
a |
|
short8 |
b |
|
Returns