Skip to content

Commit ee55add

Browse files
committed
add "cl" for win32
1 parent 7cd21b1 commit ee55add

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

torch/_inductor/config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,9 @@ class cpp:
426426
os.environ.get("CXX", "g++"),
427427
# "g++.par",
428428
)
429+
if os.name == "nt":
430+
cxx += ("cl",)
431+
429432
# Allow kernel performance profiling via PyTorch profiler
430433
enable_kernel_profile = False
431434

0 commit comments

Comments
 (0)