Struct AtomicExpr
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
Methods
apply(ref Double, Double, Func<Double, Double, Double>)
Declaration
[IntrinsicFunction("hybridizer::atomicExpr<double>::apply")]
public static double apply(ref double address, double val, Func<double, double, double> func)
Parameters
Type |
Name |
Description |
System.Double |
address |
|
System.Double |
val |
|
System.Func<System.Double, System.Double, System.Double> |
func |
|
Returns
Type |
Description |
System.Double |
|
apply(ref Int32, Int32, Func<Int32, Int32, Int32>)
Declaration
[IntrinsicFunction("hybridizer::atomicExpr<int>::apply")]
public static int apply(ref int address, int val, Func<int, int, int> func)
Parameters
Type |
Name |
Description |
System.Int32 |
address |
|
System.Int32 |
val |
|
System.Func<System.Int32, System.Int32, System.Int32> |
func |
|
Returns
Type |
Description |
System.Int32 |
|
apply(ref Int64, Int64, Func<Int64, Int64, Int64>)
Declaration
[IntrinsicFunction("hybridizer::atomicExpr<long long>::apply")]
public static long apply(ref long address, long val, Func<long, long, long> func)
Parameters
Type |
Name |
Description |
System.Int64 |
address |
|
System.Int64 |
val |
|
System.Func<System.Int64, System.Int64, System.Int64> |
func |
|
Returns
Type |
Description |
System.Int64 |
|
apply(ref Single, Single, Func<Single, Single, Single>)
Declaration
[IntrinsicFunction("hybridizer::atomicExpr<float>::apply")]
public static float apply(ref float address, float val, Func<float, float, float> func)
Parameters
Type |
Name |
Description |
System.Single |
address |
|
System.Single |
val |
|
System.Func<System.Single, System.Single, System.Single> |
func |
|
Returns
Type |
Description |
System.Single |
|