diff --git a/examples/activation/simplesoftmax/kernel_launch_method_by_framework/cmake/func.cmake b/examples/activation/simplesoftmax/kernel_launch_method_by_framework/cmake/func.cmake index 6301f39ef6b7733a7c2ba930e290543c55049af4..4d20b7a77a8da936888939fe4f93b6a3c1882065 100644 --- a/examples/activation/simplesoftmax/kernel_launch_method_by_framework/cmake/func.cmake +++ b/examples/activation/simplesoftmax/kernel_launch_method_by_framework/cmake/func.cmake @@ -23,7 +23,7 @@ function(opbuild) message(STATUS "Opbuild generating sources") cmake_parse_arguments(OPBUILD "" "OUT_DIR;PROJECT_NAME;ACCESS_PREFIX" "OPS_SRC" ${ARGN}) execute_process(COMMAND ${CMAKE_COMPILE} -g -fPIC -shared -std=c++11 ${OPBUILD_OPS_SRC} -D_GLIBCXX_USE_CXX11_ABI=0 - -I ${ASCEND_CANN_PACKAGE_PATH}/include -L ${ASCEND_CANN_PACKAGE_PATH}/lib64 -lexe_graph -lregister -ltiling_api + -I ${ASCEND_CANN_PACKAGE_PATH}/include -L ${ASCEND_CANN_PACKAGE_PATH}/lib64 -lunified_dlog -lexe_graph -lregister -ltiling_api -o ${OPBUILD_OUT_DIR}/libascend_all_ops.so RESULT_VARIABLE EXEC_RESULT OUTPUT_VARIABLE EXEC_INFO diff --git a/examples/activation/simplesoftmax/kernel_launch_method_by_framework/op_host/CMakeLists.txt b/examples/activation/simplesoftmax/kernel_launch_method_by_framework/op_host/CMakeLists.txt index 38aecf8e3ec8c48f6005166dae8138d6d571eb51..283ff971a8289b13f329bc1b80710f08f06f2e9e 100644 --- a/examples/activation/simplesoftmax/kernel_launch_method_by_framework/op_host/CMakeLists.txt +++ b/examples/activation/simplesoftmax/kernel_launch_method_by_framework/op_host/CMakeLists.txt @@ -48,6 +48,7 @@ if(ENABLE_CROSS_COMPILE) ) endif() target_link_libraries(cust_optiling PRIVATE + unified_dlog intf_pub exe_graph register diff --git a/examples/activation/softmax/kernel_launch_method_by_framework/cmake/func.cmake b/examples/activation/softmax/kernel_launch_method_by_framework/cmake/func.cmake index 6301f39ef6b7733a7c2ba930e290543c55049af4..4d20b7a77a8da936888939fe4f93b6a3c1882065 100644 --- a/examples/activation/softmax/kernel_launch_method_by_framework/cmake/func.cmake +++ b/examples/activation/softmax/kernel_launch_method_by_framework/cmake/func.cmake @@ -23,7 +23,7 @@ function(opbuild) message(STATUS "Opbuild generating sources") cmake_parse_arguments(OPBUILD "" "OUT_DIR;PROJECT_NAME;ACCESS_PREFIX" "OPS_SRC" ${ARGN}) execute_process(COMMAND ${CMAKE_COMPILE} -g -fPIC -shared -std=c++11 ${OPBUILD_OPS_SRC} -D_GLIBCXX_USE_CXX11_ABI=0 - -I ${ASCEND_CANN_PACKAGE_PATH}/include -L ${ASCEND_CANN_PACKAGE_PATH}/lib64 -lexe_graph -lregister -ltiling_api + -I ${ASCEND_CANN_PACKAGE_PATH}/include -L ${ASCEND_CANN_PACKAGE_PATH}/lib64 -lunified_dlog -lexe_graph -lregister -ltiling_api -o ${OPBUILD_OUT_DIR}/libascend_all_ops.so RESULT_VARIABLE EXEC_RESULT OUTPUT_VARIABLE EXEC_INFO diff --git a/examples/activation/softmax/kernel_launch_method_by_framework/op_host/CMakeLists.txt b/examples/activation/softmax/kernel_launch_method_by_framework/op_host/CMakeLists.txt index 38aecf8e3ec8c48f6005166dae8138d6d571eb51..283ff971a8289b13f329bc1b80710f08f06f2e9e 100644 --- a/examples/activation/softmax/kernel_launch_method_by_framework/op_host/CMakeLists.txt +++ b/examples/activation/softmax/kernel_launch_method_by_framework/op_host/CMakeLists.txt @@ -48,6 +48,7 @@ if(ENABLE_CROSS_COMPILE) ) endif() target_link_libraries(cust_optiling PRIVATE + unified_dlog intf_pub exe_graph register diff --git a/examples/matrix/batch_matmul/kernel_launch_method_by_framework/cmake/func.cmake b/examples/matrix/batch_matmul/kernel_launch_method_by_framework/cmake/func.cmake index 6301f39ef6b7733a7c2ba930e290543c55049af4..4d20b7a77a8da936888939fe4f93b6a3c1882065 100644 --- a/examples/matrix/batch_matmul/kernel_launch_method_by_framework/cmake/func.cmake +++ b/examples/matrix/batch_matmul/kernel_launch_method_by_framework/cmake/func.cmake @@ -23,7 +23,7 @@ function(opbuild) message(STATUS "Opbuild generating sources") cmake_parse_arguments(OPBUILD "" "OUT_DIR;PROJECT_NAME;ACCESS_PREFIX" "OPS_SRC" ${ARGN}) execute_process(COMMAND ${CMAKE_COMPILE} -g -fPIC -shared -std=c++11 ${OPBUILD_OPS_SRC} -D_GLIBCXX_USE_CXX11_ABI=0 - -I ${ASCEND_CANN_PACKAGE_PATH}/include -L ${ASCEND_CANN_PACKAGE_PATH}/lib64 -lexe_graph -lregister -ltiling_api + -I ${ASCEND_CANN_PACKAGE_PATH}/include -L ${ASCEND_CANN_PACKAGE_PATH}/lib64 -lunified_dlog -lexe_graph -lregister -ltiling_api -o ${OPBUILD_OUT_DIR}/libascend_all_ops.so RESULT_VARIABLE EXEC_RESULT OUTPUT_VARIABLE EXEC_INFO diff --git a/examples/matrix/batch_matmul/kernel_launch_method_by_framework/op_host/CMakeLists.txt b/examples/matrix/batch_matmul/kernel_launch_method_by_framework/op_host/CMakeLists.txt index 38aecf8e3ec8c48f6005166dae8138d6d571eb51..283ff971a8289b13f329bc1b80710f08f06f2e9e 100644 --- a/examples/matrix/batch_matmul/kernel_launch_method_by_framework/op_host/CMakeLists.txt +++ b/examples/matrix/batch_matmul/kernel_launch_method_by_framework/op_host/CMakeLists.txt @@ -48,6 +48,7 @@ if(ENABLE_CROSS_COMPILE) ) endif() target_link_libraries(cust_optiling PRIVATE + unified_dlog intf_pub exe_graph register diff --git a/examples/matrix/matmul/kernel_launch_method_by_framework/cmake/func.cmake b/examples/matrix/matmul/kernel_launch_method_by_framework/cmake/func.cmake index 6301f39ef6b7733a7c2ba930e290543c55049af4..4d20b7a77a8da936888939fe4f93b6a3c1882065 100644 --- a/examples/matrix/matmul/kernel_launch_method_by_framework/cmake/func.cmake +++ b/examples/matrix/matmul/kernel_launch_method_by_framework/cmake/func.cmake @@ -23,7 +23,7 @@ function(opbuild) message(STATUS "Opbuild generating sources") cmake_parse_arguments(OPBUILD "" "OUT_DIR;PROJECT_NAME;ACCESS_PREFIX" "OPS_SRC" ${ARGN}) execute_process(COMMAND ${CMAKE_COMPILE} -g -fPIC -shared -std=c++11 ${OPBUILD_OPS_SRC} -D_GLIBCXX_USE_CXX11_ABI=0 - -I ${ASCEND_CANN_PACKAGE_PATH}/include -L ${ASCEND_CANN_PACKAGE_PATH}/lib64 -lexe_graph -lregister -ltiling_api + -I ${ASCEND_CANN_PACKAGE_PATH}/include -L ${ASCEND_CANN_PACKAGE_PATH}/lib64 -lunified_dlog -lexe_graph -lregister -ltiling_api -o ${OPBUILD_OUT_DIR}/libascend_all_ops.so RESULT_VARIABLE EXEC_RESULT OUTPUT_VARIABLE EXEC_INFO diff --git a/examples/matrix/matmul/kernel_launch_method_by_framework/op_host/CMakeLists.txt b/examples/matrix/matmul/kernel_launch_method_by_framework/op_host/CMakeLists.txt index 38aecf8e3ec8c48f6005166dae8138d6d571eb51..283ff971a8289b13f329bc1b80710f08f06f2e9e 100644 --- a/examples/matrix/matmul/kernel_launch_method_by_framework/op_host/CMakeLists.txt +++ b/examples/matrix/matmul/kernel_launch_method_by_framework/op_host/CMakeLists.txt @@ -48,6 +48,7 @@ if(ENABLE_CROSS_COMPILE) ) endif() target_link_libraries(cust_optiling PRIVATE + unified_dlog intf_pub exe_graph register diff --git a/examples/normalization/layernorm/kernel_launch_method_by_framework/cmake/func.cmake b/examples/normalization/layernorm/kernel_launch_method_by_framework/cmake/func.cmake index 6301f39ef6b7733a7c2ba930e290543c55049af4..4d20b7a77a8da936888939fe4f93b6a3c1882065 100644 --- a/examples/normalization/layernorm/kernel_launch_method_by_framework/cmake/func.cmake +++ b/examples/normalization/layernorm/kernel_launch_method_by_framework/cmake/func.cmake @@ -23,7 +23,7 @@ function(opbuild) message(STATUS "Opbuild generating sources") cmake_parse_arguments(OPBUILD "" "OUT_DIR;PROJECT_NAME;ACCESS_PREFIX" "OPS_SRC" ${ARGN}) execute_process(COMMAND ${CMAKE_COMPILE} -g -fPIC -shared -std=c++11 ${OPBUILD_OPS_SRC} -D_GLIBCXX_USE_CXX11_ABI=0 - -I ${ASCEND_CANN_PACKAGE_PATH}/include -L ${ASCEND_CANN_PACKAGE_PATH}/lib64 -lexe_graph -lregister -ltiling_api + -I ${ASCEND_CANN_PACKAGE_PATH}/include -L ${ASCEND_CANN_PACKAGE_PATH}/lib64 -lunified_dlog -lexe_graph -lregister -ltiling_api -o ${OPBUILD_OUT_DIR}/libascend_all_ops.so RESULT_VARIABLE EXEC_RESULT OUTPUT_VARIABLE EXEC_INFO diff --git a/examples/normalization/layernorm/kernel_launch_method_by_framework/op_host/CMakeLists.txt b/examples/normalization/layernorm/kernel_launch_method_by_framework/op_host/CMakeLists.txt index 38aecf8e3ec8c48f6005166dae8138d6d571eb51..283ff971a8289b13f329bc1b80710f08f06f2e9e 100644 --- a/examples/normalization/layernorm/kernel_launch_method_by_framework/op_host/CMakeLists.txt +++ b/examples/normalization/layernorm/kernel_launch_method_by_framework/op_host/CMakeLists.txt @@ -48,6 +48,7 @@ if(ENABLE_CROSS_COMPILE) ) endif() target_link_libraries(cust_optiling PRIVATE + unified_dlog intf_pub exe_graph register diff --git a/examples/normalization/welford_update/kernel_launch_method_by_framework/cmake/func.cmake b/examples/normalization/welford_update/kernel_launch_method_by_framework/cmake/func.cmake index 4179dfd25b41487d5aaf1ac95459543e26ab4fff..081fca78a57ad8229f70029631084473f32b206b 100644 --- a/examples/normalization/welford_update/kernel_launch_method_by_framework/cmake/func.cmake +++ b/examples/normalization/welford_update/kernel_launch_method_by_framework/cmake/func.cmake @@ -15,7 +15,7 @@ function(opbuild) message(STATUS "Opbuild generating sources") cmake_parse_arguments(OPBUILD "" "OUT_DIR;PROJECT_NAME;ACCESS_PREFIX" "OPS_SRC" ${ARGN}) execute_process(COMMAND ${CMAKE_COMPILE} -g -fPIC -shared -std=c++11 ${OPBUILD_OPS_SRC} -D_GLIBCXX_USE_CXX11_ABI=0 - -I ${ASCEND_CANN_PACKAGE_PATH}/include -L ${ASCEND_CANN_PACKAGE_PATH}/lib64 -lexe_graph -lregister -ltiling_api + -I ${ASCEND_CANN_PACKAGE_PATH}/include -L ${ASCEND_CANN_PACKAGE_PATH}/lib64 -lunified_dlog -lexe_graph -lregister -ltiling_api -o ${OPBUILD_OUT_DIR}/libascend_all_ops.so RESULT_VARIABLE EXEC_RESULT OUTPUT_VARIABLE EXEC_INFO diff --git a/examples/normalization/welford_update/kernel_launch_method_by_framework/op_host/CMakeLists.txt b/examples/normalization/welford_update/kernel_launch_method_by_framework/op_host/CMakeLists.txt index 40dd51cfac524b0a9607b7d8b2813edd2210c509..0b036ca0cb10e29150708aaaae9bf2523517ab2d 100644 --- a/examples/normalization/welford_update/kernel_launch_method_by_framework/op_host/CMakeLists.txt +++ b/examples/normalization/welford_update/kernel_launch_method_by_framework/op_host/CMakeLists.txt @@ -40,6 +40,7 @@ if(ENABLE_CROSS_COMPILE) ) endif() target_link_libraries(cust_optiling PRIVATE + unified_dlog intf_pub exe_graph register diff --git a/examples/select/selectwithbytesmask/kernel_launch_method_by_framework/cmake/func.cmake b/examples/select/selectwithbytesmask/kernel_launch_method_by_framework/cmake/func.cmake index 4179dfd25b41487d5aaf1ac95459543e26ab4fff..081fca78a57ad8229f70029631084473f32b206b 100644 --- a/examples/select/selectwithbytesmask/kernel_launch_method_by_framework/cmake/func.cmake +++ b/examples/select/selectwithbytesmask/kernel_launch_method_by_framework/cmake/func.cmake @@ -15,7 +15,7 @@ function(opbuild) message(STATUS "Opbuild generating sources") cmake_parse_arguments(OPBUILD "" "OUT_DIR;PROJECT_NAME;ACCESS_PREFIX" "OPS_SRC" ${ARGN}) execute_process(COMMAND ${CMAKE_COMPILE} -g -fPIC -shared -std=c++11 ${OPBUILD_OPS_SRC} -D_GLIBCXX_USE_CXX11_ABI=0 - -I ${ASCEND_CANN_PACKAGE_PATH}/include -L ${ASCEND_CANN_PACKAGE_PATH}/lib64 -lexe_graph -lregister -ltiling_api + -I ${ASCEND_CANN_PACKAGE_PATH}/include -L ${ASCEND_CANN_PACKAGE_PATH}/lib64 -lunified_dlog -lexe_graph -lregister -ltiling_api -o ${OPBUILD_OUT_DIR}/libascend_all_ops.so RESULT_VARIABLE EXEC_RESULT OUTPUT_VARIABLE EXEC_INFO diff --git a/examples/select/selectwithbytesmask/kernel_launch_method_by_framework/op_host/CMakeLists.txt b/examples/select/selectwithbytesmask/kernel_launch_method_by_framework/op_host/CMakeLists.txt index 40dd51cfac524b0a9607b7d8b2813edd2210c509..0b036ca0cb10e29150708aaaae9bf2523517ab2d 100644 --- a/examples/select/selectwithbytesmask/kernel_launch_method_by_framework/op_host/CMakeLists.txt +++ b/examples/select/selectwithbytesmask/kernel_launch_method_by_framework/op_host/CMakeLists.txt @@ -40,6 +40,7 @@ if(ENABLE_CROSS_COMPILE) ) endif() target_link_libraries(cust_optiling PRIVATE + unified_dlog intf_pub exe_graph register diff --git a/examples/sort/sort/kernel_launch_method_by_framework/op_host/CMakeLists.txt b/examples/sort/sort/kernel_launch_method_by_framework/op_host/CMakeLists.txt index 40dd51cfac524b0a9607b7d8b2813edd2210c509..0b036ca0cb10e29150708aaaae9bf2523517ab2d 100644 --- a/examples/sort/sort/kernel_launch_method_by_framework/op_host/CMakeLists.txt +++ b/examples/sort/sort/kernel_launch_method_by_framework/op_host/CMakeLists.txt @@ -40,6 +40,7 @@ if(ENABLE_CROSS_COMPILE) ) endif() target_link_libraries(cust_optiling PRIVATE + unified_dlog intf_pub exe_graph register diff --git a/examples/sort/topk/kernel_launch_method_by_framework/op_host/CMakeLists.txt b/examples/sort/topk/kernel_launch_method_by_framework/op_host/CMakeLists.txt index 40dd51cfac524b0a9607b7d8b2813edd2210c509..0b036ca0cb10e29150708aaaae9bf2523517ab2d 100644 --- a/examples/sort/topk/kernel_launch_method_by_framework/op_host/CMakeLists.txt +++ b/examples/sort/topk/kernel_launch_method_by_framework/op_host/CMakeLists.txt @@ -40,6 +40,7 @@ if(ENABLE_CROSS_COMPILE) ) endif() target_link_libraries(cust_optiling PRIVATE + unified_dlog intf_pub exe_graph register