P4 to Git Change 1433763 by lmoriche@lmoriche_opencl_dev2 on 2017/07/13 12:41:17

SWDEV-102733 - Remove an old instance var that was used by the finalizer path.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#66 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#13 edit
This commit is contained in:
foreman
2017-07-13 13:46:40 -04:00
parent 825cc6cc73
commit 2aad2059f9
4 changed files with 0 additions and 8 deletions
@@ -75,10 +75,6 @@ HSAILProgram::~HSAILProgram() {
if (hsaExecutable_.handle != 0) {
hsa_executable_destroy(hsaExecutable_);
}
// Destroy the program handle.
if (hsaProgramHandle_.handle != 0) {
hsa_ext_program_destroy(hsaProgramHandle_);
}
releaseClBinary();
#if defined(WITH_LIGHTNING_COMPILER)
@@ -97,7 +93,6 @@ HSAILProgram::HSAILProgram(roc::NullDevice& device) : Program(device), binaryElf
binOpts_.alloc = &::malloc;
binOpts_.dealloc = &::free;
hsaProgramHandle_.handle = 0;
hsaExecutable_.handle = 0;
hasGlobalStores_ = false;