Add image view allocation
If deferred allocation is disabled, then make sure the image view is created without a delay. Also reset the allocation state, since create() method isn't called for a view creation. Change-Id: I7aa22a62bff18289ade83e56b5d3305ba68c715b
This commit is contained in:
@@ -215,6 +215,8 @@ class Memory : public amd::RuntimeObject {
|
||||
void setSize(size_t size) { size_ = size; }
|
||||
void setInteropObj(InteropObject* obj) { interopObj_ = obj; }
|
||||
|
||||
void resetAllocationState();
|
||||
|
||||
public:
|
||||
//! Placement new operator.
|
||||
void* operator new(size_t size, //!< Original allocation size
|
||||
|
||||
Reference in New Issue
Block a user