GPUInfoProvider

View as Markdown

Java package: com.nvidia.cuvs

1public interface GPUInfoProvider

Public Members

availableGPUs

1List<GPUInfo> availableGPUs()

Gets all the available GPUs

Returns

a list of GPUInfo objects with GPU details

Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/GPUInfoProvider.java:20

compatibleGPUs

1List<GPUInfo> compatibleGPUs()

Get the list of compatible GPUs based on compute capability >= 7.0 and total memory >= 8GB

Returns

a list of compatible GPUs. See GPUInfo

Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/GPUInfoProvider.java:28

getCurrentInfo

1CuVSResourcesInfo getCurrentInfo(CuVSResources resources)

Gets memory information relative to a CuVSResources

Parameters

NameDescription
resourcesfrom which to obtain memory information

Returns

a CuVSResourcesInfo record containing the memory information

Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/GPUInfoProvider.java:35

Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/GPUInfoProvider.java:9