Skip to content

Commit

Permalink
[Fix](mlu-ops): fix mluops symbol match scripts for lite api (#1199)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanieeelLiu authored Jan 20, 2025
1 parent 48638a4 commit ed7c821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gen_symbol_visibility_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def extract_include_paths(file_path):
def get_mluops(input_file):
node_msg_cp_finished=""
pattern = re.compile(r'(?P<api>mluOp\w+) *\(')
pattern_lite = re.compile(r'(?P<api>mlu\w+) *\(')
pattern_lite = re.compile(r'(?P<api>mlu(?!Op)\w+) *\(')
with open(input_file,'r', encoding='utf8') as f:
for line in f:
match = pattern.search(line)
Expand Down

0 comments on commit ed7c821

Please sign in to comment.