Generate CUDAConfig.h only for CUDA builds#78218
Conversation
🔗 Helpful links
❌ 3 New Failures, 2 PendingAs of commit 9be5dc8 (more details on the Dr. CI page): Expand to see more
🕵️ 3 new failures recognized by patternsThe following CI failures do not appear to be due to upstream breakages
|
|
@pytorchbot merge this |
|
Hey @malfet. |
Summary: This should prevent failures like #77002 from sneaking in as CUDAConfig.h would no longer be available for cpu builds. Note from 2018 about MIOpen builds do no seems relevant, though CUDAConfig.h is still needed by ROCm (tested in https://github.com/pytorch/pytorch/runs/6613660811?check_suite_focus=true build) Pull Request resolved: #78218 Approved by: https://github.com/seemethere, https://github.com/atalman Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/dfd78bf4ab6ce42a85458553724556995fa0b4a4 Reviewed By: seemethere Differential Revision: D36783414 Pulled By: malfet fbshipit-source-id: 7277a395772c4dbdc6fc2f55a6e9b594f724b955
This should prevent failures like #77002 from sneaking in as CUDAConfig.h would no longer be available for cpu builds.
Note from 2018 about MIOpen builds do no seems relevant, though CUDAConfig.h is still needed by ROCm (tested in https://github.com/pytorch/pytorch/runs/6613660811?check_suite_focus=true build)