SWDEV-305752 - OCL WIN Conformance select test fail
Change-Id: I73571c262a14d6b27d8cf91b6d1a13e1974ddc96
Tá an tiomantas seo le fáil i:
tiomanta ag
AlexBin Xie
tuismitheoir
4aea2ad172
tiomantas
0e321f45c1
@@ -734,6 +734,16 @@ class Memory : public amd::HeapObject {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
bool isPersistentMapped() const { return (flags_ & PersistentMap) ? true : false; }
|
||||
void setPersistentMapFlag(bool persistentMapped) {
|
||||
if (persistentMapped == true) {
|
||||
flags_ |= PersistentMap;
|
||||
}
|
||||
else {
|
||||
flags_ &= ~PersistentMap;
|
||||
}
|
||||
}
|
||||
|
||||
virtual bool pinSystemMemory(void* hostPtr, //!< System memory address
|
||||
size_t size //!< Size of allocated system memory
|
||||
) {
|
||||
|
||||
@@ -97,16 +97,6 @@ class Memory : public device::Memory, public Resource {
|
||||
size_t* slicePitch = NULL //!< Slice for the mapped memory
|
||||
);
|
||||
|
||||
virtual bool isPersistentMapped() const { return (flags_ & PersistentMap) ? true : false; }
|
||||
virtual void setPersistentMapFlag(bool persistentMapped) {
|
||||
if (persistentMapped == true) {
|
||||
flags_ |= PersistentMap;
|
||||
}
|
||||
else {
|
||||
flags_ &= ~PersistentMap;
|
||||
}
|
||||
}
|
||||
|
||||
//! Pins system memory associated with this memory object
|
||||
virtual bool pinSystemMemory(void* hostPtr, //!< System memory address
|
||||
size_t size //!< Size of allocated system memory
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir