Пример #1
0
 /// <summary>
 /// Query the information of the cuda device with the specific id.
 /// </summary>
 /// <param name="deviceId">The device id</param>
 public CudaDeviceInfo(int deviceId)
 {
     _ptr      = CudaInvoke.cudaDeviceInfoCreate(ref deviceId);
     _deviceID = deviceId;
 }