SWDEV-497145 - Use rocr copyOnEngine API for staged copies
- Refactor blit code and clean ASAN instrumentation
- Use unified function for rocr copy
- Enable shader copy path for unpinned writeBuffer/readBuffer paths
- Set GPU_FORCE_BLIT_COPY_SIZE=16 which means we will use BLIT copy for
pinned copies or unpinned H2D/D2H copies < 16KB
Change-Id: I42045cca79234b340dbf53dafb93044199736ae4
[ROCm/clr commit: 7863eb92dc]
This commit is contained in:
@@ -1202,7 +1202,8 @@ bool Device::populateOCLDeviceConstants() {
|
||||
&info_.globalMemCacheLineSize_)) {
|
||||
return false;
|
||||
}
|
||||
assert(info_.globalMemCacheLineSize_ > 0);
|
||||
info_.globalMemCacheLineSize_ = (info_.globalMemCacheLineSize_ != 0) ?
|
||||
info_.globalMemCacheLineSize_ : 64;
|
||||
|
||||
uint32_t cachesize[4] = {0};
|
||||
if (HSA_STATUS_SUCCESS !=
|
||||
|
||||
Referens i nytt ärende
Block a user