提交 ab8f6398 编写于 作者: M Megvii Engine Team

fix(test): make test install

GitOrigin-RevId: e38d6c5e9f62e58de6090062b12e26042516ead4
上级 99cfefbf
......@@ -77,3 +77,8 @@ if(UNIX)
target_link_libraries(megdnn_test dl rt)
endif()
endif()
install(
TARGETS megdnn_test
EXPORT ${MGE_EXPORT_TARGETS}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
......@@ -764,8 +764,8 @@ std::vector<conv_bias::TestArg> get_nchw44_channel_wise_benchmark_args(
}
void BENCHMARK_GROUPCONV_NCHW44_int8x8x16VS_int8x8x32(
const char* algo_name0, const char* algo_name1, Handle* handle, size_t kernel,
size_t stride = 1, size_t pack_size = 1) {
const char* algo_name0, const char* algo_name1, Handle* handle,
size_t /*kernel*/, size_t stride = 1, size_t pack_size = 1) {
auto args = get_nchw44_channel_wise_benchmark_args(
{2, 3, 5}, stride, false, true, true);
......
......@@ -61,3 +61,8 @@ if(MGE_WITH_JIT)
${CMAKE_CURRENT_BINARY_DIR}/../src/jit/test/mlir)
endif()
endif()
install(
TARGETS megbrain_test
EXPORT ${MGE_EXPORT_TARGETS}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册