SWDEV-232894 Port hipMemcpy optimizations from HCC to VDI

Change-Id: I6bebe9ac503a9f80d067aeea8a848409ad210338
This commit is contained in:
Alex Xie
2020-04-27 08:32:28 -04:00
committed by AlexBin Xie
parent 082cbfa1f5
commit 009d0b5f55
7 changed files with 64 additions and 2 deletions
+3
View File
@@ -1259,6 +1259,9 @@ class Device : public RuntimeObject {
: false;
}
//! check large bar support.
virtual bool isLargeBar() const { return false; }
//! Return this device's type.
cl_device_type type() const { return info().type_ & ~(CL_DEVICE_TYPE_DEFAULT); }