未验证 提交 9c073bbd 编写于 作者: P Pei Yang 提交者: GitHub

skip pyramid_hash on jetson platforms to avoid compile error. test=develop (#24371)

上级 9bf70ed7
...@@ -53,7 +53,7 @@ if (NOT WITH_MKL OR NOT WITH_AVX) ...@@ -53,7 +53,7 @@ if (NOT WITH_MKL OR NOT WITH_AVX)
SET(OP_MKL_DEPS ${OP_MKL_DEPS} match_matrix_tensor_op) SET(OP_MKL_DEPS ${OP_MKL_DEPS} match_matrix_tensor_op)
SET(OP_MKL_DEPS ${OP_MKL_DEPS} var_conv_2d_op) SET(OP_MKL_DEPS ${OP_MKL_DEPS} var_conv_2d_op)
endif() endif()
if(WITH_COVERAGE OR WIN32) if(WITH_COVERAGE OR WIN32 OR WITH_NV_JETSON)
SET(OP_MKL_DEPS ${OP_MKL_DEPS} pyramid_hash_op) SET(OP_MKL_DEPS ${OP_MKL_DEPS} pyramid_hash_op)
endif() endif()
......
...@@ -91,7 +91,7 @@ if(NOT WITH_MKL OR NOT WITH_AVX) ...@@ -91,7 +91,7 @@ if(NOT WITH_MKL OR NOT WITH_AVX)
list(REMOVE_ITEM TEST_OPS test_match_matrix_tensor_op) list(REMOVE_ITEM TEST_OPS test_match_matrix_tensor_op)
list(REMOVE_ITEM TEST_OPS test_var_conv_2d) list(REMOVE_ITEM TEST_OPS test_var_conv_2d)
endif() endif()
if(WITH_COVERAGE OR WIN32) if(WITH_COVERAGE OR WIN32 OR WITH_NV_JETSON)
list(REMOVE_ITEM TEST_OPS test_pyramid_hash_op) list(REMOVE_ITEM TEST_OPS test_pyramid_hash_op)
list(REMOVE_ITEM TEST_OPS test_fleet_pyramid_hash) list(REMOVE_ITEM TEST_OPS test_fleet_pyramid_hash)
endif() endif()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册