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
+1 -6
View File
@@ -426,12 +426,7 @@ bool LightningKernel::init() {
flags_.internalKernel_ =
(compileOptions_.find("-cl-internal-kernel") != std::string::npos) ? true : false;
const amd_comgr_metadata_node_t* kernelMetaNode = prog().getKernelMetadata(name());
if (kernelMetaNode == nullptr) {
return false;
}
if (!GetAttrCodePropMetadata(*kernelMetaNode)) {
if (!GetAttrCodePropMetadata()) {
return false;
}