SWDEV-222307 - Add CMake support for PAL
Remove dependency on COMGR headers from backends. Remove GFX103 PAL defines. Change-Id: I6ff76dca2a0c84bc191e8fc8b639f2f5872d2085
This commit is contained in:
1 vanhempi
a788f0bc15
commit
1be1e69f2a
11 files changed
+25
-118
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user