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

Collapse imageSyntax

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

Parameters

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

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 .

Collapse imageSee Also