SWDEV-308843 - Increase MaxPinnedXferSize to 128

This allows experimenting with env var GPU_PINNED_XFER_SIZE which is
still at a default of 32MB

Change-Id: I85ade700ed58d498eba29d1737601dc74d4c26a4


[ROCm/clr commit: 3f82b99f5d]
This commit is contained in:
Saleel Kudchadker
2021-11-30 10:36:06 -08:00
والد 02e46ec231
کامیت 97456a157b
@@ -68,7 +68,7 @@ Settings::Settings() {
// Initialize transfer buffer size to 1MB by default
xferBufSize_ = 1024 * Ki;
const static size_t MaxPinnedXferSize = 32;
const static size_t MaxPinnedXferSize = 128;
pinnedXferSize_ = std::min(GPU_PINNED_XFER_SIZE, MaxPinnedXferSize) * Mi;
pinnedMinXferSize_ = std::min(GPU_PINNED_MIN_XFER_SIZE * Ki, pinnedXferSize_);