Class VectorUnit
Inheritance
System.Object
VectorUnit
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Hybridizer.Runtime.CUDAImports
Assembly: Hybridizer.Runtime.CUDAImports.dll
Syntax
public static class VectorUnit
Properties
Count
Declaration
public static int Count
{
[IntrinsicConstant("__hybridizer_blockDimX")]
get;
}
Property Value
Type | Description |
---|---|
System.Int32 |
ID
Declaration
public static alignedindex ID
{
[IntrinsicConstant("__hybridizer_threadIdxX")]
get;
}
Property Value
Type | Description |
---|---|
alignedindex |
WarpSize
Declaration
public static int WarpSize
{
[IntrinsicConstant("warpSize")]
get;
}
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Barrier()
Declaration
[IntrinsicFunction("__syncthreads")]
public static void Barrier()
ReduceAdd(Double)
Declaration
[IntrinsicFunction(Name = "hybridizer::reduce_add", Flavor = 3)]
[ReturnTypeInference(VectorizerIntrinsicReturn.Unchanged)]
public static double ReduceAdd(double input)
Parameters
Type | Name | Description |
---|---|---|
System.Double | input |
Returns
Type | Description |
---|---|
System.Double |