|
|
@@ -15,6 +15,7 @@ |
|
|
"""tbe process""" |
|
|
"""tbe process""" |
|
|
import sys |
|
|
import sys |
|
|
import os |
|
|
import os |
|
|
|
|
|
from te.platform.cce_conf import te_set_version |
|
|
from .common import get_args, get_build_in_impl_path, TBEException |
|
|
from .common import get_args, get_build_in_impl_path, TBEException |
|
|
|
|
|
|
|
|
build_in_impl_path = get_build_in_impl_path() |
|
|
build_in_impl_path = get_build_in_impl_path() |
|
|
@@ -32,6 +33,7 @@ def _op_select_format(kernel_info): |
|
|
""" |
|
|
""" |
|
|
try: |
|
|
try: |
|
|
op_name = kernel_info['op_info']['name'] |
|
|
op_name = kernel_info['op_info']['name'] |
|
|
|
|
|
te_set_version(kernel_info["op_info"]["socVersion"]) |
|
|
impl_path = build_in_impl_path |
|
|
impl_path = build_in_impl_path |
|
|
custom_flag = False |
|
|
custom_flag = False |
|
|
if 'impl_path' in kernel_info and kernel_info['impl_path'] is not None: |
|
|
if 'impl_path' in kernel_info and kernel_info['impl_path'] is not None: |
|
|
|