Show cuda version during compilation.
- Add a function
showCudaVersion()
that print usefull information for helping debug:
Aidge backend CUDA: 0.2.0 (0665f46), Apr 17 2024 07:52:22
CUDA compiler version: 12.4.99
CuDNN version: 8.9.7
Detected 7 CUDA Capable device(s)
Device #0: "NVIDIA A100-PCIE-40GB"
CUDA Driver Version / Runtime Version: 12.4 / 12.4
CUDA Capability Major/Minor version number: 8.0
Device #1: "NVIDIA A100-PCIE-40GB"
CUDA Driver Version / Runtime Version: 12.4 / 12.4
CUDA Capability Major/Minor version number: 8.0
Device #2: "NVIDIA A100-PCIE-40GB"
CUDA Driver Version / Runtime Version: 12.4 / 12.4
CUDA Capability Major/Minor version number: 8.0
Device #3: "NVIDIA A100-PCIE-40GB"
CUDA Driver Version / Runtime Version: 12.4 / 12.4
CUDA Capability Major/Minor version number: 8.0
Device #4: "NVIDIA A100-PCIE-40GB"
CUDA Driver Version / Runtime Version: 12.4 / 12.4
CUDA Capability Major/Minor version number: 8.0
Device #5: "NVIDIA A100-PCIE-40GB"
CUDA Driver Version / Runtime Version: 12.4 / 12.4
CUDA Capability Major/Minor version number: 8.0
Device #6: "NVIDIA A100-PCIE-40GB"
CUDA Driver Version / Runtime Version: 12.4 / 12.4
CUDA Capability Major/Minor version number: 8.0
- Add logs in Cmake to help in future debug:
-- Project name: aidge_backend_cuda
-- Project version: 0.2.0
-- Latest git commit: 0665f46
-- Cuda compiler version = 12.4.99
Edited by Cyril Moineau