Skip to content

Commit ed51271

Browse files
authoredJan 23, 2025
[Offload] Make MemoryManager threshold ENV var size_t type. (#124063)
1 parent e062224 commit ed51271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎offload/plugins-nextgen/common/include/MemoryManager.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ class MemoryManagerTy {
324324
/// manager explicitly by setting the var to 0. If user doesn't specify
325325
/// anything, returns <0, true>.
326326
static std::pair<size_t, bool> getSizeThresholdFromEnv() {
327-
static UInt32Envar MemoryManagerThreshold(
327+
static UInt64Envar MemoryManagerThreshold(
328328
"LIBOMPTARGET_MEMORY_MANAGER_THRESHOLD", 0);
329329

330330
size_t Threshold = MemoryManagerThreshold.get();

0 commit comments

Comments
 (0)
Please sign in to comment.