未验证 提交 b2261e09 编写于 作者: L Leo Chen 提交者: GitHub

Add WITH_MKLDNN check into target test_save_optimized_model_pass (#56113)

上级 662fa999
...@@ -174,7 +174,9 @@ if(WITH_GPU AND TENSORRT_FOUND) ...@@ -174,7 +174,9 @@ if(WITH_GPU AND TENSORRT_FOUND)
set_tests_properties(test_trt_inspector PROPERTIES TIMEOUT 60) set_tests_properties(test_trt_inspector PROPERTIES TIMEOUT 60)
set_tests_properties(test_trt_inference_predictor PROPERTIES TIMEOUT 60) set_tests_properties(test_trt_inference_predictor PROPERTIES TIMEOUT 60)
set_tests_properties(test_trt_inference_fp16_io PROPERTIES TIMEOUT 300) set_tests_properties(test_trt_inference_fp16_io PROPERTIES TIMEOUT 300)
set_tests_properties(test_save_optimized_model_pass PROPERTIES TIMEOUT 300) if(WITH_MKLDNN)
set_tests_properties(test_save_optimized_model_pass PROPERTIES TIMEOUT 300)
endif()
if(WITH_NV_JETSON) if(WITH_NV_JETSON)
set_tests_properties( set_tests_properties(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册