You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add GPU type detection to system information (#713)
This commit enhances LinearSolveAutotune's system information collection
to include detailed GPU information when CUDA or Metal GPUs are available.
Changes:
- Added `get_cuda_gpu_info()` function to retrieve CUDA GPU details:
- GPU name/type via CUDA.name()
- Number of GPUs
- GPU memory in GB via CUDA.totalmem()
- CUDA compute capability via CUDA.capability()
- All GPU types for multi-GPU systems
- Added `get_metal_gpu_info()` function to detect Metal GPUs:
- Infers GPU type from CPU model (M1/M2/M3/M4)
- Reports GPU count
- Updated `get_system_info()` to include GPU information fields
- Updated `get_detailed_system_info()` to include GPU fields
- Enhanced telemetry markdown formatting to display GPU details
The implementation gracefully handles missing GPU hardware or packages,
returning empty information when GPUs are not available.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: ChrisRackauckas <[email protected]>
Co-authored-by: Claude <[email protected]>
0 commit comments