未验证 提交 701c8e06 编写于 作者: C chalsliu 提交者: GitHub

Support precision test for cuda new ut

上级 50d3117d
...@@ -188,7 +188,8 @@ class PRChecker(object): ...@@ -188,7 +188,8 @@ class PRChecker(object):
ut_list.append('h_cu_comment_placeholder') ut_list.append('h_cu_comment_placeholder')
else: else:
return '' return ''
elif f.endswith('.cc') or f.endswith('.py'): elif f.endswith('.cc') or f.endswith('.py') or f.endswith(
'.cu'):
if f.find('test_') != -1 or f.find('_test') != -1: if f.find('test_') != -1 or f.find('_test') != -1:
check_added_ut = True check_added_ut = True
elif self.is_only_comment(f): elif self.is_only_comment(f):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册