- Add stub implementation in nvml_gpu.cpp when NVML not available - CMakeLists.txt checks for both NVML library and headers - Build succeeds on macOS/non-NVIDIA systems with stub - Runtime detection via gpu_is_available() prevents runtime errors |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| nvml_gpu.cpp | ||
| nvml_gpu.h | ||