Restore CUDA-based unit tests (#6518)

This commit is contained in:
Michael Vines
2019-10-23 20:09:28 -07:00
committed by GitHub
parent ddefc96433
commit dc52b17c4d
2 changed files with 1 additions and 2 deletions

View File

@ -159,7 +159,6 @@ pub fn init_cuda() {
}
pub fn api() -> Option<&'static Container<Api<'static>>> {
#[cfg(test)]
{
static INIT_HOOK: Once = Once::new();
INIT_HOOK.call_once(|| {