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
Event Timeline
Comment Actions
Otherwise LGTM.
lib/Driver/Compilation.cpp | ||
---|---|---|
201 | 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 | 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–140 | CUDA and HIP are mutually exclusive, so this should probably be else if |
lib/Driver/ToolChains/Clang.cpp | ||
---|---|---|
133–140 | Will do when committing. |
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.