HasNativeDoubleSupport() private méthode

private HasNativeDoubleSupport ( int device ) : bool
device int
Résultat bool
Exemple #1
0
 /// <summary>
 /// Query the information of the gpu device with the specific id.
 /// </summary>
 /// <param name="deviceId">The device id</param>
 public GpuDevice(int deviceId)
 {
     ID   = deviceId;
     Name = GpuInvoke.GetDeviceName(deviceId);
     GpuInvoke.GetComputeCapability(deviceId, ref CudaComputeCapability.Major, ref CudaComputeCapability.Minor);
     NumberOfSMs            = GpuInvoke.GetNumberOfSMs(deviceId);
     HasNativeDoubleSupport = GpuInvoke.HasNativeDoubleSupport(deviceId);
     HasAtomicSupport       = GpuInvoke.HasAtomicsSupport(deviceId);
 }