use super::context::CudaContext;
use crate::error::Result;
use std::sync::Arc;
#[cfg(feature = "cuda")]
#[derive(Debug)]
#[allow(dead_code)] pub struct CudaVramMonitor {
context: Arc<CudaContext>,
}
#[cfg(feature = "cuda")]
impl CudaVramMonitor {
pub fn new(context: Arc<CudaContext>) -> Result<Self> {
Ok(Self { context })
}
pub fn get_vram_usage(&self) -> Result<u64> {
Ok(0)
}
pub fn get_available_vram(&self) -> Result<u64> {
Ok(1024 * 1024 * 1024)
}
}