From 7b1df3bf4d16da0b4ff0b766ab775d48372f5fb3 Mon Sep 17 00:00:00 2001 From: foreman Date: Mon, 1 Oct 2018 12:53:06 -0400 Subject: [PATCH] P4 to Git Change 1613081 by gandryey@gera-w8 on 2018/10/01 12:28:29 SWDEV-79445 - OCL generic changes and code clean-up - Fix ROCr LC compilation. Remove the binary look-up from the cl object, since it's passed in the method arguments. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#92 edit [ROCm/clr commit: bc6be55a52c4095fe4ccd6710d15728fe64908d7] --- projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp b/projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp index 0abf24d977..7999590bb2 100644 --- a/projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp +++ b/projects/clr/rocclr/runtime/device/rocm/rocprogram.cpp @@ -400,11 +400,6 @@ bool LightningProgram::setKernels(amd::option::Options* options, void* binary, s return false; } - //Load the stored copy of the ELF binary. - binary_t stored_binary = this->binary(); - binary = const_cast(stored_binary.first); - binSize = stored_binary.second; - hsa_agent_t agent = dev().getBackendDevice(); hsa_status_t status;