Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
clang/lib/Driver/Driver.cpp | ||
---|---|---|
2655 ↗ | (On Diff #223015) | Sam, could you let me know which reasonable default arch should we use here? |
clang/lib/Driver/Driver.cpp | ||
---|---|---|
2538 ↗ | (On Diff #223015) | This technically depends on the CUDA version. |
clang/lib/Driver/Driver.cpp | ||
---|---|---|
2538 ↗ | (On Diff #223015) | unfortunately, when the action build is running, the CUDA is not detected yet, I probably revise the detection logic to update CUDA's default gpu arch after successful detection |
clang/lib/Driver/Driver.cpp | ||
---|---|---|
2655 ↗ | (On Diff #223015) | I think it should be gfx803 since as far as I know it is the lowest one that supports HIP. |
clang/lib/Driver/Driver.cpp | ||
---|---|---|
2538 ↗ | (On Diff #223015) | OK. If there's no easy way to do it here, it's probably not worth doing it just to keep sm_20 as the default. I think we should just bump the default to sm_30 for all currently supported CUDA versions in a separate patch. I can do it once this patch lands. |