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