SWDEV-242592:Remove define of UndefinedVars in setKernels

Change-Id: I51b0c5ac6c4cb2564a53f7c45fdf8a893a5edbd3
Este cometimento está contido em:
agodavar criou e Anusha Godavarthy Surya cometeu 2020-07-09 23:15:31 -04:00
1 ascendente 16e6b65b5c
cometimento de31b341d2
1 ficheiro modificado
-8
-8
Ver ficheiro
@@ -287,10 +287,6 @@ bool HSAILProgram::setKernels(amd::option::Options* options, void* binary, size_
return false;
}
if (amd::IS_HIP) {
defineUndefinedVars();
}
// Load the code object.
status = hsa_code_object_reader_create_from_memory(data, secSize, &hsaCodeObjectReader_);
if (status != HSA_STATUS_SUCCESS) {
@@ -496,10 +492,6 @@ bool LightningProgram::setKernels(amd::option::Options* options, void* binary, s
return false;
}
if (amd::IS_HIP) {
defineUndefinedVars();
}
// Load the code object.
status = hsa_code_object_reader_create_from_memory(binary, binSize, &hsaCodeObjectReader_);
if (status != HSA_STATUS_SUCCESS) {