[AMDGPU][Libomptarget] Remove global KernelNameMap
authorPushpinder Singh <Pushpinder.Singh@amd.com>
Fri, 21 May 2021 08:03:26 +0000 (08:03 +0000)
committerPushpinder Singh <Pushpinder.Singh@amd.com>
Mon, 24 May 2021 08:46:08 +0000 (08:46 +0000)
commit486110eb413446dfa835d880bfd1c0d6bbe9f120
treeec8401d22926159a3d7dccbafadc2e9ccf93df77
parent486d6d2b8ef7bd7313d99b5cbfa487c52d75169b
[AMDGPU][Libomptarget] Remove global KernelNameMap

KernelNameMap contains entries like "key.kd" => key which clearly
could be replaced by simple logic of removing suffix from the key.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D102691
openmp/libomptarget/plugins/amdgpu/impl/system.cpp