Gets the device count.

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

Syntax

C#
public static int GetDeviceCount(
	eGPUType type
)
Visual Basic
Public Shared Function GetDeviceCount ( _
	type As eGPUType _
) As Integer
Visual C++
public:
static int GetDeviceCount(
	eGPUType type
)

Parameters

type
Type: Cudafy..::..eGPUType
The type of device.

Return Value

Number of devices of type specified.

See Also