llvm-project/openmp/libomptarget/plugins/amdgpu
Jon Chesterfield 77579b99e9 [openmp][nfc] Replace OMPGridValues array with struct
[nfc] Replaces enum indices into an array with a struct. Named the
fields to match the enum, leaves memory layout and initialization unchanged.

Motivation is to later safely remove dead fields and replace redundant ones
with (compile time) computation. It should also be possible to factor some
common fields into a base and introduce a gfx10 amdgpu instance with less
duplication than the arrays of integers require.

Reviewed By: ronlieb

Differential Revision: https://reviews.llvm.org/D108339
2021-08-19 13:25:42 +01:00
..
dynamic_hsa [libomptarget][amdgpu] Update printed plugin name 2021-07-29 14:46:42 +01:00
impl [libomptarget][amdgpu] don't declare Elf_Note on FreeBSD 2021-08-06 21:45:26 +02:00
src [openmp][nfc] Replace OMPGridValues array with struct 2021-08-19 13:25:42 +01:00
CMakeLists.txt [libomptarget][amdgpu] use --allow-shlib-undefined to link on FreeBSD 2021-08-08 13:52:44 +02:00