SWDEV-222307 - Add CMake support for PAL

Remove dependency on COMGR headers from backends.
Remove GFX103 PAL defines.

Change-Id: I6ff76dca2a0c84bc191e8fc8b639f2f5872d2085


[ROCm/clr commit: 1be1e69f2a]
This commit is contained in:
German Andryeyev
2020-02-14 16:08:52 -05:00
parent ae58f45215
commit 801fe99636
11 changed files with 25 additions and 118 deletions
@@ -48,13 +48,7 @@ bool LightningKernel::init() {
hsa_agent_t hsaDevice = program()->hsaDevice();
const amd_comgr_metadata_node_t* kernelMetaNode =
static_cast<const LightningProgram*>(program())->getKernelMetadata(name());
if (kernelMetaNode == nullptr) {
return false;
}
if (!GetAttrCodePropMetadata(*kernelMetaNode)) {
if (!GetAttrCodePropMetadata()) {
return false;
}