P4 to Git Change 2020678 by gandryey@gera-win10 on 2019/10/28 18:06:48
SWDEV-79445 - OCL generic changes and code clean-up - Fix memory leaks in COMGR path. Make sure metadata_ object is properly destroyed in COMGR. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.cpp#28 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/devkernel.hpp#18 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#66 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#34 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#84 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#53 edit
This commit is contained in:
@@ -506,8 +506,7 @@ class Kernel : public amd::HeapObject {
|
||||
bool SetAvailableSgprVgpr(const std::string& targetIdent);
|
||||
|
||||
//! Retrieve the printf string metadata
|
||||
bool GetPrintfStr(const amd_comgr_metadata_node_t programMD,
|
||||
std::vector<std::string>* printfStr);
|
||||
bool GetPrintfStr(std::vector<std::string>* printfStr);
|
||||
|
||||
//! Returns the kernel symbol name
|
||||
const std::string& symbolName() const { return symbolName_; }
|
||||
|
||||
Reference in New Issue
Block a user