Fix some -Wunused-but-set-variable warnings
Change-Id: I281583b5abdfc09d5dd8b7dfb20b8821581db193
This commit is contained in:
@@ -45,9 +45,6 @@ Kernel::Kernel(std::string name, Program* prog)
|
||||
|
||||
#if defined(USE_COMGR_LIBRARY)
|
||||
bool LightningKernel::init() {
|
||||
|
||||
hsa_agent_t hsaDevice = program()->hsaDevice();
|
||||
|
||||
if (!GetAttrCodePropMetadata()) {
|
||||
LogError("[ROC][Kernel] Could not get Code Prop Meta Data \n");
|
||||
return false;
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user