From de31b341d2227bb847344e4fe4f03fd96c18b940 Mon Sep 17 00:00:00 2001 From: agodavar Date: Wed, 8 Jul 2020 01:22:28 -0400 Subject: [PATCH] SWDEV-242592:Remove define of UndefinedVars in setKernels Change-Id: I51b0c5ac6c4cb2564a53f7c45fdf8a893a5edbd3 --- rocclr/device/rocm/rocprogram.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/rocclr/device/rocm/rocprogram.cpp b/rocclr/device/rocm/rocprogram.cpp index 44d34365c5..ef9156d798 100644 --- a/rocclr/device/rocm/rocprogram.cpp +++ b/rocclr/device/rocm/rocprogram.cpp @@ -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) {