SWDEV-310181 - Fix for AtoH Memcpy tests failure
Change-Id: Ibf8c8c01257f0516088d50d5c9f82040ed8fa067
This commit is contained in:
committed by
Sarbojit Sarkar
parent
d4ad981c0c
commit
02dc6f9f9a
@@ -294,6 +294,9 @@ class Memory : public amd::RuntimeObject {
|
||||
bool alloc = true //!< Allocates memory
|
||||
);
|
||||
|
||||
//! Get origianl device memory
|
||||
device::Memory* getOriginalDeviceMemory() const { return deviceMemories_[0].value_; };
|
||||
|
||||
//! Allocate host memory (as required)
|
||||
bool allocHostMemory(void* initFrom, //!< Host memory provided by the application
|
||||
bool allocHostMem, //!< Force system memory allocation
|
||||
|
||||
Reference in New Issue
Block a user