Initializes a new instance of the CudaGPU class.
Namespace: Cudafy.HostAssembly: Cudafy.Host (in Cudafy.Host.dll) Version: 1.0.4106.20172
Syntax
C# |
---|
public CudaGPU( int deviceId ) |
Visual Basic |
---|
Public Sub New ( _ deviceId As Integer _ ) |
Visual C++ |
---|
public: CudaGPU( int deviceId ) |
Parameters
- deviceId
- Type: System..::..Int32
The device id.