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()
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
Declaration
public int Inner { get; }
Property Value
Type |
Description |
System.Int32 |
|
VectorUnitID
Declaration
public static alignedindex VectorUnitID { get; }
Property Value
VectorUnitSize
Declaration
public static int VectorUnitSize { get; }
Property Value
Type |
Description |
System.Int32 |
|
Operators
Addition(alignedindex, Int32)
Declaration
public static alignedindex operator +(alignedindex a, int b)
Parameters
Returns
GreaterThan(alignedindex, alignedindex)
Declaration
public static bool operator>(alignedindex y, alignedindex x)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GreaterThan(alignedindex, Int32)
Declaration
public static bool operator>(alignedindex y, int x)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GreaterThanOrEqual(alignedindex, alignedindex)
Declaration
public static bool operator >=(alignedindex y, alignedindex x)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GreaterThanOrEqual(alignedindex, Int32)
Declaration
public static bool operator >=(alignedindex y, int x)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implicit(alignedindex to Int32)
Declaration
[ReturnTypeInference(Return = VectorizerIntrinsicReturn.VectorTransitive, Index = 0)]
public static implicit operator int (alignedindex t)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Implicit(Int32 to alignedindex)
Declaration
[ReturnTypeInference(Return = VectorizerIntrinsicReturn.VectorTransitive, Index = 0)]
public static implicit operator alignedindex(int t)
Parameters
Type |
Name |
Description |
System.Int32 |
t |
|
Returns
LessThan(alignedindex, alignedindex)
Declaration
public static bool operator <(alignedindex y, alignedindex x)
Parameters
Returns
Type |
Description |
System.Boolean |
|
LessThan(alignedindex, Int32)
Declaration
public static bool operator <(alignedindex y, int x)
Parameters
Returns
Type |
Description |
System.Boolean |
|
LessThanOrEqual(alignedindex, alignedindex)
Declaration
public static bool operator <=(alignedindex y, alignedindex x)
Parameters
Returns
Type |
Description |
System.Boolean |
|
LessThanOrEqual(alignedindex, Int32)
Declaration
public static bool operator <=(alignedindex y, int x)
Parameters
Returns
Type |
Description |
System.Boolean |
|