Created
April 12, 2018 19:25
-
-
Save Enet4/b016cd96d53ad8689aa27f9f930b0e84 to your computer and use it in GitHub Desktop.
StandardGpuResources in faiss-rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[derive(Debug)] | |
pub struct StandardGpuResources { | |
inner: *mut FaissGpuResources, | |
} | |
// Deliberately _not_ Sync! | |
unsafe impl Send for StandardGpuResources {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment