Show / Hide Table of Contents

Struct short8

8 16 bits integers

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()
Namespace: Hybridizer.Runtime.CUDAImports
Assembly: Hybridizer.Runtime.CUDAImports.dll
Syntax
[IntrinsicType("short8")]
public struct short8

Constructors

short8(short8)

copy constructor

Declaration
public short8(short8 res)
Parameters
Type Name Description
short8 res

short8(Int16)

constructor from single component

Declaration
public short8(short val)
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

w

Declaration
public short w
Field Value
Type Description
System.Int16

w2

w2

Declaration
public short w2
Field Value
Type Description
System.Int16

x

x

Declaration
public short x
Field Value
Type Description
System.Int16

x2

x2

Declaration
public short x2
Field Value
Type Description
System.Int16

y

y

Declaration
public short y
Field Value
Type Description
System.Int16

y2

y2

Declaration
public short y2
Field Value
Type Description
System.Int16

z

z

Declaration
public short z
Field Value
Type Description
System.Int16

z2

z2

Declaration
public short z2
Field Value
Type Description
System.Int16

Methods

Load(short8*, Int32)

loads from memory

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
Type Description
short8

Store(short8*, short8, Int32)

stores in memory

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)

addition operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator+")]
public static short8 operator +(short8 a, short8 b)
Parameters
Type Name Description
short8 a
short8 b
Returns
Type Description
short8

Addition(short8, Int16)

addition operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator+")]
public static short8 operator +(short8 a, short b)
Parameters
Type Name Description
short8 a
System.Int16 b
Returns
Type Description
short8

Addition(Int16, short8)

addition operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator+")]
public static short8 operator +(short a, short8 b)
Parameters
Type Name Description
System.Int16 a
short8 b
Returns
Type Description
short8

BitwiseAnd(short8, short8)

bitwise AND operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator&")]
public static short8 operator &(short8 a, short8 b)
Parameters
Type Name Description
short8 a
short8 b
Returns
Type Description
short8

BitwiseAnd(short8, Int16)

bitwise AND operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator&")]
public static short8 operator &(short8 a, short b)
Parameters
Type Name Description
short8 a
System.Int16 b
Returns
Type Description
short8

BitwiseAnd(Int16, short8)

bitwise AND operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator&")]
public static short8 operator &(short a, short8 b)
Parameters
Type Name Description
System.Int16 a
short8 b
Returns
Type Description
short8

BitwiseOr(short8, short8)

bitwise OR operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator|")]
public static short8 operator |(short8 a, short8 b)
Parameters
Type Name Description
short8 a
short8 b
Returns
Type Description
short8

BitwiseOr(short8, Int16)

bitwise OR operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator|")]
public static short8 operator |(short8 a, short b)
Parameters
Type Name Description
short8 a
System.Int16 b
Returns
Type Description
short8

BitwiseOr(Int16, short8)

bitwise OR operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator|")]
public static short8 operator |(short a, short8 b)
Parameters
Type Name Description
System.Int16 a
short8 b
Returns
Type Description
short8

Division(short8, short8)

division operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator/")]
public static short8 operator /(short8 a, short8 b)
Parameters
Type Name Description
short8 a
short8 b
Returns
Type Description
short8

Division(short8, Int16)

division operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator/")]
public static short8 operator /(short8 a, short b)
Parameters
Type Name Description
short8 a
System.Int16 b
Returns
Type Description
short8

Division(Int16, short8)

division operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator/")]
public static short8 operator /(short a, short8 b)
Parameters
Type Name Description
System.Int16 a
short8 b
Returns
Type Description
short8

ExclusiveOr(short8, short8)

bitwise XOR operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator^")]
public static short8 operator ^(short8 a, short8 b)
Parameters
Type Name Description
short8 a
short8 b
Returns
Type Description
short8

ExclusiveOr(short8, Int16)

bitwise XOR operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator^")]
public static short8 operator ^(short8 a, short b)
Parameters
Type Name Description
short8 a
System.Int16 b
Returns
Type Description
short8

ExclusiveOr(Int16, short8)

bitwise XOR operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator^")]
public static short8 operator ^(short a, short8 b)
Parameters
Type Name Description
System.Int16 a
short8 b
Returns
Type Description
short8

Multiply(short8, short8)

multiplication operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator*")]
public static short8 operator *(short8 a, short8 b)
Parameters
Type Name Description
short8 a
short8 b
Returns
Type Description
short8

Multiply(short8, Int16)

multiplication operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator*")]
public static short8 operator *(short8 a, short b)
Parameters
Type Name Description
short8 a
System.Int16 b
Returns
Type Description
short8

Multiply(Int16, short8)

multiplication operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator*")]
public static short8 operator *(short a, short8 b)
Parameters
Type Name Description
System.Int16 a
short8 b
Returns
Type Description
short8

Subtraction(short8, short8)

substraction operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator-")]
public static short8 operator -(short8 a, short8 b)
Parameters
Type Name Description
short8 a
short8 b
Returns
Type Description
short8

Subtraction(short8, Int16)

substraction operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator-")]
public static short8 operator -(short8 a, short b)
Parameters
Type Name Description
short8 a
System.Int16 b
Returns
Type Description
short8

Subtraction(Int16, short8)

substraction operator

Declaration
[IntrinsicFunction(IsNaked = true, Name = "operator-")]
public static short8 operator -(short a, short8 b)
Parameters
Type Name Description
System.Int16 a
short8 b
Returns
Type Description
short8
Back to top Generated by DocFX