There are quite differences in HIP action builder and action job creation,
which justifies to define a separate offload kind.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Otherwise LGTM.
lib/Driver/Compilation.cpp | ||
---|---|---|
201 ↗ | (On Diff #145290) | Mentioning only CUDA in the second clause makes me wonder whether it's *only* okay to abort a CUDA pipeline, not a HIP one. That is presumably not your intent. You could just drop "CUDA" there. |
lib/Driver/Compilation.cpp | ||
---|---|---|
201 ↗ | (On Diff #145290) | The second sentence is OK for both CUDA and HIP. Will drop CUDA in the second sentence. |
Comment Actions
Small nit. LGTM otherwise.
lib/Driver/ToolChains/Clang.cpp | ||
---|---|---|
133–135 ↗ | (On Diff #145472) | CUDA and HIP are mutually exclusive, so this should probably be else if |
lib/Driver/ToolChains/Clang.cpp | ||
---|---|---|
133–135 ↗ | (On Diff #145472) | Will do when committing. |