SWDEV-301667 - Disable HostBlit copy for HIP

Change-Id: I46333ff42e8c1d402ece97e3ead7b539a27c3f82
This commit is contained in:
Saleel Kudchadker
2023-07-13 16:15:21 -07:00
parent 3a8e0dd1cb
commit 5447cf8872
3 changed files with 28 additions and 18 deletions
+2
View File
@@ -1358,6 +1358,8 @@ bool VirtualGPU::create() {
}
device::BlitManager::Setup blitSetup;
// Disable HostBlit copy path for HIP
blitSetup.disableHostCopyBuffer_ = amd::IS_HIP;
blitMgr_ = new KernelBlitManager(*this, blitSetup);
if ((nullptr == blitMgr_) || !blitMgr_->create(roc_device_)) {
LogError("Could not create BlitManager!");