usestd::{collections::HashMap,sync::Mutex};useonce_cell::sync::Lazy;usecrate::storage::CommonStorage;/// This is a global variable that stores the allocated ptrs and their reference count for CUDA devices
pubstaticCUDA_STORAGE:Lazy<Mutex<HashMap<usize, CommonStorage>>>=Lazy::new(||Mutex::new(HashMap::new()));