P4 to Git Change 1319330 by gandryey@gera-w8 on 2016/09/27 11:03:51
SWDEV-86035 - Add PAL backend to OpenCL - Use wait() for now to match GSL path. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#7 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#25 edit
Этот коммит содержится в:
@@ -572,6 +572,10 @@ Memory::syncCacheFromHost(VirtualGPU& gpu, device::Memory::SyncFlags syncFlags)
|
||||
}
|
||||
}
|
||||
|
||||
//!@todo A wait isn't really necessary. However processMemObjects()
|
||||
// may lose the track of dependencies with a compute transfer(if sdma failed).
|
||||
wait(gpu);
|
||||
|
||||
// Should never fail
|
||||
assert(result && "Memory synchronization failed!");
|
||||
}
|
||||
|
||||
@@ -3208,9 +3208,6 @@ VirtualGPU::processMemObjectsHSA(
|
||||
memoryDependency().validate(*this, mem, IsReadOnly);
|
||||
}
|
||||
|
||||
// Mark the tracker with the processed kernel
|
||||
memoryDependency().newKernel();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user