Namespace: Cudafy.Atomics
Assembly: Cudafy (in Cudafy.dll) Version: 1.0.4106.20170

Syntax

C#
public static int atomicMax(
	this GThread thread,
	ref int address,
	int val
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function atomicMax ( _
	thread As GThread, _
	ByRef address As Integer, _
	val As Integer _
) As Integer
Visual C++
[ExtensionAttribute]
public:
static int atomicMax(
	GThread^ thread, 
	int% address, 
	int val
)

Parameters

thread
Type: Cudafy..::..GThread
address
Type: System..::..Int32%
val
Type: System..::..Int32

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type GThread. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also