pytorch/torch/csrc/jit/codegen
Michal Gallus d9cf1debf9 [ROCm][Windows] Fix clang-cl error related to -Wmissing prototypes enabled (#146981)
Some of the windows files (fused_kernels.cpp or temp_file.h) contain code that fail to compile when this flag is enabled when built with clang-cl.

This PR resolves the issue by ensuring that even if we build with clang-cl, it doesn't include those flags on windows.

Alternatively if needed, I can fix the files mentioned to pass under this flag.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/146981
Approved by: https://github.com/cyyever, https://github.com/Skylion007
2025-02-18 07:41:12 +00:00
..
cuda Cleanup CallOnce.h (#146700) 2025-02-07 16:44:45 +00:00
fuser [ROCm][Windows] Fix clang-cl error related to -Wmissing prototypes enabled (#146981) 2025-02-18 07:41:12 +00:00
onednn Fix clang-tidy warnings in jit code (#138974) 2024-10-29 04:33:40 +00:00