Checks if the specified device has already been created and added to the cache.

Namespace: Cudafy.Host
Assembly: Cudafy.Host (in Cudafy.Host.dll) Version: 1.0.4106.20172

Syntax

C#
public static bool DeviceCreated(
	eGPUType type,
	int deviceId
)
Visual Basic
Public Shared Function DeviceCreated ( _
	type As eGPUType, _
	deviceId As Integer _
) As Boolean
Visual C++
public:
static bool DeviceCreated(
	eGPUType type, 
	int deviceId
)

Parameters

type
Type: Cudafy..::..eGPUType
The type.
deviceId
Type: System..::..Int32
The device id.

Return Value

True if created, else false.

See Also