SWDEV-310181 - Fix for AtoH Memcpy tests failure

Change-Id: Ibf8c8c01257f0516088d50d5c9f82040ed8fa067
Este commit está contenido en:
Sarbojit Sarkar authored and Sarbojit Sarkar committed 2021-11-29 22:55:23 -05:00
1 padre d4ad981c0c
commit 02dc6f9f9a
2 files changed
+16

No files matched your search

+3
Ver fichero
@@ -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