diff --git a/tests/segfault.rs b/tests/segfault.rs index eb78fa5..2be7f48 100644 --- a/tests/segfault.rs +++ b/tests/segfault.rs @@ -1,9 +1,8 @@ -use mnn::*; - /// This segfault on OpenCL backend if we print the tensorinfo #[cfg(feature = "opencl")] #[test] fn test_segfault_case_1_() -> Result<(), Box> { + use mnn::*; let backend = ForwardType::OpenCL; let realesr = std::path::Path::new("tests/assets/realesr.mnn");