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

Syntax

C#
public static ulong atomicExch(
	this GThread thread,
	ref ulong address,
	ulong val
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function atomicExch ( _
	thread As GThread, _
	ByRef address As ULong, _
	val As ULong _
) As ULong
Visual C++
[ExtensionAttribute]
public:
static unsigned long long atomicExch(
	GThread^ thread, 
	unsigned long long% address, 
	unsigned long long val
)

Parameters

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

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