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:
@@ -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