29 wiersze
1.7 KiB
Diff
29 wiersze
1.7 KiB
Diff
diff --git a/projects/clr/rocclr/device/rocm/rocsettings.cpp b/projects/clr/rocclr/device/rocm/rocsettings.cpp
|
|
index 48aa4328ca..e4fa929db8 100644
|
|
--- a/projects/clr/rocclr/device/rocm/rocsettings.cpp
|
|
+++ b/projects/clr/rocclr/device/rocm/rocsettings.cpp
|
|
@@ -58,7 +58,7 @@ Settings::Settings() {
|
|
|
|
pinnedXferSize_ = GPU_PINNED_XFER_SIZE * Mi;
|
|
pinnedMinXferSize_ =
|
|
- flagIsDefault(GPU_PINNED_MIN_XFER_SIZE) ? 1 * Mi : GPU_PINNED_MIN_XFER_SIZE * Mi;
|
|
+ flagIsDefault(GPU_PINNED_MIN_XFER_SIZE) ? 1 * Ki : GPU_PINNED_MIN_XFER_SIZE * Ki;
|
|
|
|
sdmaCopyThreshold_ = GPU_FORCE_BLIT_COPY_SIZE * Ki;
|
|
|
|
diff --git a/projects/clr/rocclr/utils/flags.hpp b/projects/clr/rocclr/utils/flags.hpp
|
|
index ddacf2182a..4bbb6e1937 100644
|
|
--- a/projects/clr/rocclr/utils/flags.hpp
|
|
+++ b/projects/clr/rocclr/utils/flags.hpp
|
|
@@ -80,8 +80,8 @@ debug(cstring, AMD_OCL_SUBST_OBJFILE, 0, \
|
|
"Specify binary substitution config file for OpenCL") \
|
|
release(size_t, GPU_PINNED_XFER_SIZE, 32, \
|
|
"The pinned buffer size for pinning in read/write transfers in MiB") \
|
|
-release(size_t, GPU_PINNED_MIN_XFER_SIZE, 128, \
|
|
- "The minimal buffer size for pinned read/write transfers in MiB") \
|
|
+release(size_t, GPU_PINNED_MIN_XFER_SIZE, 256, \
|
|
+ "The minimal buffer size for pinned read/write transfers in KiB") \
|
|
release(size_t, GPU_RESOURCE_CACHE_SIZE, 64, \
|
|
"The resource cache size in MB") \
|
|
release(size_t, GPU_MAX_SUBALLOC_SIZE, 4096, \
|