P4 to Git Change 1604422 by gandryey@gera-ocl-lc on 2018/09/11 16:51:04
SWDEV-79445 - OCL generic changes and code clean-up
- Don't call backing store destruction for Null programs
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#25 edit
[ROCm/clr commit: 9bb9312630]
Цей коміт міститься в:
1 джерело
b7ec7ccfb7
коміт
a2af1d68ae
1 file changed
+2
-1
@@ -223,7 +223,8 @@ class HSAILProgram : public device::Program {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//! Destroys CPU allocations in the code segment
|
//! Destroys CPU allocations in the code segment
|
||||||
void DestroySegmentCpuAccess() const { codeSegment_->DestroyCpuAccess(); }
|
void DestroySegmentCpuAccess() const
|
||||||
|
{ if (!isNull()) { codeSegment_->DestroyCpuAccess(); } }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
//! Disable default copy constructor
|
//! Disable default copy constructor
|
||||||
|
|||||||
Reference in new issue
Заблокувати користувача