public class CUDADevice extends Object implements Comparable<CUDADevice>
Constructor and Description |
---|
CUDADevice(int id,
String name,
long totalMem,
long freeMem,
int majorComputeVersion,
int minorComputeVersion) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CUDADevice dev) |
String |
getComputeVersion() |
int |
getDeviceId() |
String |
getDeviceName() |
long |
getFreeDeviceMemory() |
int |
getMajorComputeVersion() |
int |
getMinorComputeVersion() |
long |
getTotalDeviceMemory() |
String |
toString() |
public CUDADevice(int id, String name, long totalMem, long freeMem, int majorComputeVersion, int minorComputeVersion)
public int getDeviceId()
public String getDeviceName()
public long getTotalDeviceMemory()
public long getFreeDeviceMemory()
public int getMajorComputeVersion()
public int getMinorComputeVersion()
public String getComputeVersion()
public int compareTo(CUDADevice dev)
compareTo
in interface Comparable<CUDADevice>
Copyright © 2015–2021 Fiji. All rights reserved.