SWDEV-232894 Port hipMemcpy optimizations from HCC to VDI
Apply the optimization to change for OpenCL too. Clean up some unnecessary checks. Change-Id: I840261fe35baeeadeba7388e86779d482f509aad
This commit is contained in:
1 parent
1de8abd031
commit
6c5a42b33c
7 files changed
+21
-41
No files matched your search
@@ -519,6 +519,9 @@ struct Info : public amd::EmbeddedObject {
|
||||
uint32_t cooperativeGroups_;
|
||||
//! GPU device supports a launch of cooperative groups on multiple devices
|
||||
uint32_t cooperativeMultiDeviceGroups_;
|
||||
|
||||
//! large bar support.
|
||||
bool largeBar_;
|
||||
};
|
||||
|
||||
//! Device settings
|
||||
@@ -1259,9 +1262,6 @@ 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); }
|
||||
|
||||
|
||||
Reference in new issue
Block a user