diff --git a/examples/activation/simplesoftmax/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt b/examples/activation/simplesoftmax/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt index 8c94a952da2058b785affa6784d78b87dfe9b3d7..c50a409a20bd0e0cce495824295a18799e4f8be1 100644 --- a/examples/activation/simplesoftmax/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt +++ b/examples/activation/simplesoftmax/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt @@ -2,6 +2,7 @@ if ("${CMAKE_BUILD_TYPE}x" STREQUAL "Debugx") add_ops_compile_options(ALL OPTIONS -g -O0) endif() +add_ops_compile_options(ALL OPTIONS -mllvm -cce-aicore-jump-expand=true) foreach(compute_unit ${ASCEND_COMPUTE_UNIT}) diff --git a/examples/activation/softmax/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt b/examples/activation/softmax/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt index 8c94a952da2058b785affa6784d78b87dfe9b3d7..c50a409a20bd0e0cce495824295a18799e4f8be1 100644 --- a/examples/activation/softmax/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt +++ b/examples/activation/softmax/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt @@ -2,6 +2,7 @@ if ("${CMAKE_BUILD_TYPE}x" STREQUAL "Debugx") add_ops_compile_options(ALL OPTIONS -g -O0) endif() +add_ops_compile_options(ALL OPTIONS -mllvm -cce-aicore-jump-expand=true) foreach(compute_unit ${ASCEND_COMPUTE_UNIT}) diff --git a/examples/activation/softmaxflash/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt b/examples/activation/softmaxflash/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt index 8c94a952da2058b785affa6784d78b87dfe9b3d7..c50a409a20bd0e0cce495824295a18799e4f8be1 100644 --- a/examples/activation/softmaxflash/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt +++ b/examples/activation/softmaxflash/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt @@ -2,6 +2,7 @@ if ("${CMAKE_BUILD_TYPE}x" STREQUAL "Debugx") add_ops_compile_options(ALL OPTIONS -g -O0) endif() +add_ops_compile_options(ALL OPTIONS -mllvm -cce-aicore-jump-expand=true) foreach(compute_unit ${ASCEND_COMPUTE_UNIT}) diff --git a/examples/activation/softmaxgrad/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt b/examples/activation/softmaxgrad/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt index 8c94a952da2058b785affa6784d78b87dfe9b3d7..c50a409a20bd0e0cce495824295a18799e4f8be1 100644 --- a/examples/activation/softmaxgrad/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt +++ b/examples/activation/softmaxgrad/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt @@ -2,6 +2,7 @@ if ("${CMAKE_BUILD_TYPE}x" STREQUAL "Debugx") add_ops_compile_options(ALL OPTIONS -g -O0) endif() +add_ops_compile_options(ALL OPTIONS -mllvm -cce-aicore-jump-expand=true) foreach(compute_unit ${ASCEND_COMPUTE_UNIT}) diff --git a/examples/activation/softmaxgradfront/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt b/examples/activation/softmaxgradfront/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt index 8c94a952da2058b785affa6784d78b87dfe9b3d7..c50a409a20bd0e0cce495824295a18799e4f8be1 100644 --- a/examples/activation/softmaxgradfront/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt +++ b/examples/activation/softmaxgradfront/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt @@ -2,6 +2,7 @@ if ("${CMAKE_BUILD_TYPE}x" STREQUAL "Debugx") add_ops_compile_options(ALL OPTIONS -g -O0) endif() +add_ops_compile_options(ALL OPTIONS -mllvm -cce-aicore-jump-expand=true) foreach(compute_unit ${ASCEND_COMPUTE_UNIT}) diff --git a/examples/matrix/batch_matmul/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt b/examples/matrix/batch_matmul/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt index 0d31a444cd71b6e455dc206b9b89159dea9f4ce2..0bc4b63817f3619b29acb172c862e0eecb15e2bc 100644 --- a/examples/matrix/batch_matmul/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt +++ b/examples/matrix/batch_matmul/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt @@ -2,6 +2,7 @@ if ("${CMAKE_BUILD_TYPE}x" STREQUAL "Debugx") add_ops_compile_options(ALL OPTIONS -g -O0) endif() +add_ops_compile_options(ALL OPTIONS -mllvm -cce-aicore-jump-expand=true) foreach(compute_unit ${ASCEND_COMPUTE_UNIT}) diff --git a/examples/matrix/matmul/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt b/examples/matrix/matmul/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt index 0d31a444cd71b6e455dc206b9b89159dea9f4ce2..0bc4b63817f3619b29acb172c862e0eecb15e2bc 100644 --- a/examples/matrix/matmul/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt +++ b/examples/matrix/matmul/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt @@ -2,6 +2,7 @@ if ("${CMAKE_BUILD_TYPE}x" STREQUAL "Debugx") add_ops_compile_options(ALL OPTIONS -g -O0) endif() +add_ops_compile_options(ALL OPTIONS -mllvm -cce-aicore-jump-expand=true) foreach(compute_unit ${ASCEND_COMPUTE_UNIT}) diff --git a/examples/normalization/layernorm/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt b/examples/normalization/layernorm/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt index 8c94a952da2058b785affa6784d78b87dfe9b3d7..c50a409a20bd0e0cce495824295a18799e4f8be1 100644 --- a/examples/normalization/layernorm/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt +++ b/examples/normalization/layernorm/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt @@ -2,6 +2,7 @@ if ("${CMAKE_BUILD_TYPE}x" STREQUAL "Debugx") add_ops_compile_options(ALL OPTIONS -g -O0) endif() +add_ops_compile_options(ALL OPTIONS -mllvm -cce-aicore-jump-expand=true) foreach(compute_unit ${ASCEND_COMPUTE_UNIT}) diff --git a/examples/pad/broadcast/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt b/examples/pad/broadcast/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt index 8c94a952da2058b785affa6784d78b87dfe9b3d7..c50a409a20bd0e0cce495824295a18799e4f8be1 100644 --- a/examples/pad/broadcast/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt +++ b/examples/pad/broadcast/kernel_launch_method_by_framework/op_kernel/CMakeLists.txt @@ -2,6 +2,7 @@ if ("${CMAKE_BUILD_TYPE}x" STREQUAL "Debugx") add_ops_compile_options(ALL OPTIONS -g -O0) endif() +add_ops_compile_options(ALL OPTIONS -mllvm -cce-aicore-jump-expand=true) foreach(compute_unit ${ASCEND_COMPUTE_UNIT})