Package: gpuinfo 0.2.0
gpuinfo: Lightweight Hardware and GPU Compute Detection
Detects central processing unit topology, process-available cores, host and container memory, graphics processing unit hardware, and reports the apparent availability of 'CUDA', 'Metal', 'ROCm', and 'OpenCL' compute backends, with a read-only shared-library inventory for the 'CUDA' runtime, 'cuBLAS', 'cuFFT', 'cuSOLVER', 'cuRAND', and optional 'NCCL' libraries. Detection uses operating-system information, documented platform interfaces, and optional command-line utilities, without requiring a GPU framework, 'Python', or a vendor software development kit. Backend interpretation follows the official 'CUDA' <https://docs.nvidia.com/cuda/cuda-driver-api/>, 'Metal' <https://developer.apple.com/documentation/metal>, 'ROCm' <https://rocm.docs.amd.com/>, and 'OpenCL' <https://registry.khronos.org/OpenCL/> documentation. 'NCCL' version inspection follows its documented API <https://docs.nvidia.com/deeplearning/nccl/user-guide/docs/api/comms.html>. Process-level GPU memory samples, multi-device inventories, and versioned hardware manifests support reproducible benchmarks. Missing hardware, drivers, libraries, and utilities are handled safely.
Authors:
gpuinfo_0.2.0.tar.gz
gpuinfo_0.2.0.zip(r-4.7-x86_64)gpuinfo_0.2.0.zip(r-4.7-arm64)gpuinfo_0.2.0.zip(r-4.6-x86_64)gpuinfo_0.2.0.zip(r-4.6-arm64)gpuinfo_0.2.0.zip(r-4.5-x86_64)
gpuinfo_0.2.0.tgz(r-4.6-x86_64)gpuinfo_0.2.0.tgz(r-4.6-arm64)gpuinfo_0.2.0.tgz(r-4.5-x86_64)gpuinfo_0.2.0.tgz(r-4.5-arm64)
gpuinfo_0.2.0.tar.gz(r-4.7-arm64)gpuinfo_0.2.0.tar.gz(r-4.7-x86_64)gpuinfo_0.2.0.tar.gz(r-4.6-arm64)gpuinfo_0.2.0.tar.gz(r-4.6-x86_64)
gpuinfo_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
gpuinfo/json (API)
| # Install 'gpuinfo' in R: |
| install.packages('gpuinfo', repos = c('https://tkcaccia.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/tkcaccia/gpuinfo/issues
Last updated from:a1122acf1c. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 97 | ||
| linux-devel-x86_64 | OK | 106 | ||
| source / vignettes | OK | 153 | ||
| linux-release-arm64 | OK | 92 | ||
| linux-release-x86_64 | OK | 107 | ||
| macos-release-arm64 | OK | 108 | ||
| macos-release-x86_64 | OK | 328 | ||
| macos-oldrel-arm64 | OK | 154 | ||
| macos-oldrel-x86_64 | OK | 285 | ||
| windows-devel-arm64 | OK | 746 | ||
| windows-devel-x86_64 | OK | 721 | ||
| windows-release-arm64 | OK | 752 | ||
| windows-release-x86_64 | OK | 649 | ||
| windows-oldrel-x86_64 | OK | 681 | ||
| wasm-release | OK | 92 |
Exports:cpu_infocuda_build_infocuda_infocuda_librariescuda_preflightgpu_devicesgpu_memory_infogpu_memory_peakgpu_memory_samplegpu_sitrephardware_infohardware_manifesthas_cudahas_gpuhas_metalhas_openclhas_rocmnccl_infosystem_memory_info
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Inspect CPU resources visible to the current process | cpu_info |
| Generate CUDA build architecture information | cuda_build_info |
| Inspect CUDA hardware and system components | cuda_info |
| Inspect NVIDIA CUDA shared libraries | cuda_libraries |
| Diagnose CUDA prerequisites | cuda_preflight |
| List detected GPU devices | gpu_devices |
| Report total, used, and free GPU memory | gpu_memory_info |
| Calculate observed peak process memory for each GPU | gpu_memory_peak |
| Sample process-level GPU memory | gpu_memory_sample |
| Create a GPU diagnostic report | gpu_sitrep |
| Collect hardware information | hardware_info |
| Create a reusable hardware manifest | hardware_manifest |
| Test whether CUDA appears usable | has_cuda |
| Test whether a GPU is detected | has_gpu |
| Test whether Metal appears usable | has_metal |
| Test whether OpenCL is available | has_opencl |
| Test whether ROCm appears usable | has_rocm |
| Inspect the NCCL shared library | nccl_info |
| Inspect host and process memory | system_memory_info |