Skip to content

Commit c69b313

Browse files
authored
[SYCLomatic][Python] Remove an unnecessary migration rules for Python build script migration (#2860)
Signed-off-by: chenwei.sun <chenwei.sun@intel.com>
1 parent 9808d4e commit c69b313

6 files changed

Lines changed: 0 additions & 46 deletions

File tree

clang/test/dpct/python_migration/case_005/case_005_setup.cpp

Lines changed: 0 additions & 9 deletions
This file was deleted.

clang/test/dpct/python_migration/case_005/expected_ipex.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

clang/test/dpct/python_migration/case_005/expected_pytorch.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

clang/test/dpct/python_migration/case_005/input.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

clang/tools/dpct/extensions/python_rules/python_build_script_migration_rule_ipex.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,6 @@
9898
In: CUDAExtension
9999
Out: DPCPPExtension
100100

101-
- Rule: rule_include_dirs
102-
Kind: PythonRule
103-
Priority: Fallback
104-
MatchMode: Partial
105-
PythonSyntax: include_dirs
106-
In: DPCPPExtension(${args})
107-
Out: DPCPPExtension(${args}, include_dirs=cpp_extension.include_paths(),)
108-
109101
- Rule: rule_cpp_extension_load_no_extra_cflags
110102
Kind: PythonRule
111103
Priority: Fallback

clang/tools/dpct/extensions/python_rules/python_build_script_migration_rule_pytorch.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@
1818
In: CUDAExtension
1919
Out: CppExtension
2020

21-
- Rule: rule_include_dirs
22-
Kind: PythonRule
23-
Priority: Fallback
24-
MatchMode: Partial
25-
PythonSyntax: include_dirs
26-
In: CppExtension(${args})
27-
Out: CppExtension(${args}, include_dirs=cpp_extension.include_paths('xpu'),)
28-
2921
- Rule: rule_cpp_extension_load_no_extra_cflags
3022
Kind: PythonRule
3123
Priority: Fallback

0 commit comments

Comments
 (0)