P4 to Git Change 1445200 by skeely@skeely_HSA_linux on 2017/08/09 15:59:56
SWDEV-124331 - Follow HSA loader spec. Extend lifetime of loaded ELF and code reader to the lifetime of the loaded executable. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#69 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#27 edit
This commit is contained in:
@@ -155,7 +155,8 @@ class HSAILProgram : public device::Program {
|
||||
bool hasGlobalStores_; //!< program has writable program scope variables
|
||||
|
||||
/* HSA executable */
|
||||
hsa_executable_t hsaExecutable_; //!< Handle to HSA executable
|
||||
hsa_executable_t hsaExecutable_; //!< Handle to HSA executable
|
||||
hsa_code_object_reader_t hsaCodeObjectReader_; //!< Handle to HSA code reader
|
||||
|
||||
#if defined(WITH_LIGHTNING_COMPILER)
|
||||
CodeObjectMD* metadata_; //!< Runtime metadata
|
||||
|
||||
Reference in New Issue
Block a user