GPUInfo

View as Markdown

Java package: com.nvidia.cuvs

1public record GPUInfo( int gpuId, String name, long totalDeviceMemoryInBytes, int computeCapabilityMajor, int computeCapabilityMinor, boolean supportsConcurrentCopy, boolean supportsConcurrentKernels)

Contains GPU information

Parameters

NameDescription
gpuIdid of the GPU starting from 0
nameASCII string identifying device
totalDeviceMemoryInBytestotal device memory in bytes
computeCapabilityMajorthe compute capability of the device (major)
computeCapabilityMinorthe compute capability of the device (minor)
supportsConcurrentCopywhether the device can concurrently copy memory between host and device while executing a kernel
supportsConcurrentKernelswhether the device supports executing multiple kernels within the same context simultaneously

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