未验证 提交 b428e8f3 编写于 作者: Y YuanRisheng 提交者: GitHub

[PHI]Add Filter for get_kernel_signatures.py (#53760)

* delete log

* filter some kernel signature
上级 51529712
......@@ -190,8 +190,6 @@ def get_kernel_signatures():
KernelSignatureSearcher.filter["kernel_name"].
"""
Paddle_path = osp.abspath(osp.join(osp.dirname(__file__), '../../..'))
if Paddle_path.split('/')[-1] != 'Paddle':
raise ValueError('Paddle path error.')
build_path = osp.join(Paddle_path, 'build')
os.makedirs(build_path, exist_ok=True)
KernelSignatureSearcher.build_path = build_path
......@@ -204,8 +202,9 @@ def get_kernel_signatures():
# subdirs, so we need to search them separately.
independent_subdir = [
'fusion',
'legacy',
'selected_rows',
# Currently, we need filter legacy dir and selected_rows dir.
# 'legacy',
# 'selected_rows',
'sparse',
'strings',
]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册