SWDEV-242592:Remove define of UndefinedVars in setKernels

Change-Id: I51b0c5ac6c4cb2564a53f7c45fdf8a893a5edbd3


[ROCm/clr commit: de31b341d2]
This commit is contained in:
agodavar
2020-07-08 01:22:28 -04:00
committed by Anusha Godavarthy Surya
szülő adb0ce1c43
commit f6c4063ec1
@@ -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) {