P4 to Git Change 1605385 by gandryey@gera-w8 on 2018/09/13 11:53:28
SWDEV-79445 - OCL generic changes and code clean-up - Don't call backing store destruction if segment wasn't created at all. It could occur during library link. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#26 edit
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -224,7 +224,7 @@ class HSAILProgram : public device::Program {
|
||||
|
||||
//! Destroys CPU allocations in the code segment
|
||||
void DestroySegmentCpuAccess() const
|
||||
{ if (!isNull()) { codeSegment_->DestroyCpuAccess(); } }
|
||||
{ if (codeSegment_ != nullptr) { codeSegment_->DestroyCpuAccess(); } }
|
||||
|
||||
private:
|
||||
//! Disable default copy constructor
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user