pub fn check_gpu_memory(device: Device) -> Result<(usize, usize), Error>
Check available GPU memory before attempting an operation
Returns (free_bytes, total_bytes) for the specified device. Only works for CUDA/ROCm devices.