mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[ROCm] Fix test_cuda_synchronize failure on ROCm (#164735)
This PR skips the hipify step of torch/csrc/jit/ir/ir.h to avoid a build-time error for the JIT cuda namespace. This fixes two skipped tests in test/jit/test_cuda.py. Pull Request resolved: https://github.com/pytorch/pytorch/pull/164735 Approved by: https://github.com/jeffdaily Co-authored-by: Jeff Daily <jeff.daily@amd.com>
This commit is contained in:
committed by
PyTorch MergeBot
parent
afee8062d5
commit
49f7d8d19d
@ -137,6 +137,7 @@ ignores = [
|
||||
"third_party/nvfuser/runtime/helpers.cu",
|
||||
"torch/csrc/jit/codegen/fuser/cuda/resource_strings.h",
|
||||
"torch/csrc/jit/tensorexpr/ir_printer.cpp",
|
||||
"torch/csrc/jit/ir/ir.h",
|
||||
# generated files we shouldn't frob
|
||||
"torch/lib/tmp_install/*",
|
||||
"torch/include/*",
|
||||
|
Reference in New Issue
Block a user