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
Tá an tiomantas seo le fáil i:
Saleel Kudchadker
2024-11-08 05:51:17 +00:00
tuismitheoir efd3ea4b30
tiomantas 7863eb92dc
D'athraigh 7 comhad le 359 breiseanna agus 427 scriosta
+1 -2
Féach ar an gComhad
@@ -57,8 +57,7 @@ bool LightningKernel::postLoad() {
}
kernargSegmentAlignment_ =
amd::alignUp(std::max(kernargSegmentAlignment_, 128u),
device().info().globalMemCacheLineSize_ > 0 ?
device().info().globalMemCacheLineSize_ : 64);
device().info().globalMemCacheLineSize_);
// Set the workgroup information for the kernel
workGroupInfo_.availableLDSSize_ = device().info().localMemSizePerCU_;