Show / Hide Table of Contents

Struct alignedindex

An index, aligned to 32 -- also representing the next 32 indices 0, 1, 2, ... 31 64, 65, 66, ... 95 Allows memory load/store optimization

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
[Guid("34ED120C-EE03-45E7-B4F0-A589D1BBA1B6")]
[IntrinsicType("hybridizer::alignedindex<int>", VectorizedType = typeof(Coalesced<int>))]
public struct alignedindex

Properties

Inner

the underlying int

Declaration
public int Inner { get; }
Property Value
Type Description
System.Int32

VectorUnitID

Declaration
public static alignedindex VectorUnitID { get; }
Property Value
Type Description
alignedindex

VectorUnitSize

Declaration
public static int VectorUnitSize { get; }
Property Value
Type Description
System.Int32

Operators

Addition(alignedindex, Int32)

addition operator

Declaration
public static alignedindex operator +(alignedindex a, int b)
Parameters
Type Name Description
alignedindex a
System.Int32 b
Returns
Type Description
alignedindex

GreaterThan(alignedindex, alignedindex)

Declaration
public static bool operator>(alignedindex y, alignedindex x)
Parameters
Type Name Description
alignedindex y
alignedindex x
Returns
Type Description
System.Boolean

GreaterThan(alignedindex, Int32)

Declaration
public static bool operator>(alignedindex y, int x)
Parameters
Type Name Description
alignedindex y
System.Int32 x
Returns
Type Description
System.Boolean

GreaterThanOrEqual(alignedindex, alignedindex)

Declaration
public static bool operator >=(alignedindex y, alignedindex x)
Parameters
Type Name Description
alignedindex y
alignedindex x
Returns
Type Description
System.Boolean

GreaterThanOrEqual(alignedindex, Int32)

Declaration
public static bool operator >=(alignedindex y, int x)
Parameters
Type Name Description
alignedindex y
System.Int32 x
Returns
Type Description
System.Boolean

Implicit(alignedindex to Int32)

conversion to an int32

Declaration
[ReturnTypeInference(Return = VectorizerIntrinsicReturn.VectorTransitive, Index = 0)]
public static implicit operator int (alignedindex t)
Parameters
Type Name Description
alignedindex t
Returns
Type Description
System.Int32

Implicit(Int32 to alignedindex)

conversion to int32

Declaration
[ReturnTypeInference(Return = VectorizerIntrinsicReturn.VectorTransitive, Index = 0)]
public static implicit operator alignedindex(int t)
Parameters
Type Name Description
System.Int32 t
Returns
Type Description
alignedindex

LessThan(alignedindex, alignedindex)

Declaration
public static bool operator <(alignedindex y, alignedindex x)
Parameters
Type Name Description
alignedindex y
alignedindex x
Returns
Type Description
System.Boolean

LessThan(alignedindex, Int32)

Declaration
public static bool operator <(alignedindex y, int x)
Parameters
Type Name Description
alignedindex y
System.Int32 x
Returns
Type Description
System.Boolean

LessThanOrEqual(alignedindex, alignedindex)

Declaration
public static bool operator <=(alignedindex y, alignedindex x)
Parameters
Type Name Description
alignedindex y
alignedindex x
Returns
Type Description
System.Boolean

LessThanOrEqual(alignedindex, Int32)

Declaration
public static bool operator <=(alignedindex y, int x)
Parameters
Type Name Description
alignedindex y
System.Int32 x
Returns
Type Description
System.Boolean
Back to top Generated by DocFX