hcc icon indicating copy to clipboard operation
hcc copied to clipboard

Add support for all ROCm supported targets. Fix triple to match AMDGPU.

Open AlexVlx opened this issue 5 years ago • 1 comments

This adds back all targets supported by ROCm as per https://llvm.org/docs/AMDGPUUsage.html#processors. It also normalises the triple to match that specified by the same source. Goes hand in hand with https://github.com/RadeonOpenCompute/hcc-clang-upgrade/pull/149.

AlexVlx avatar Aug 16 '18 02:08 AlexVlx

I think you will have to add the new targets here as well: https://github.com/RadeonOpenCompute/hcc/blob/clang_tot_upgrade/lib/hsa/mcwamp_hsa.cpp#L2672

The MACH codes exist here: https://github.com/RadeonOpenCompute/hcc/blob/clang_tot_upgrade/hc2/external/elfio/elfio_amdgpu.hpp#L66

aaronenyeshi avatar Aug 16 '18 03:08 aaronenyeshi