File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
plugins-nextgen/common/include Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ using Int32Envar = Envar<int32_t>;
128128using Int64Envar = Envar<int64_t >;
129129using UInt32Envar = Envar<uint32_t >;
130130using UInt64Envar = Envar<uint64_t >;
131+ using SizeTEnvar = Envar<size_t >;
131132using StringEnvar = Envar<std::string>;
132133using BoolEnvar = Envar<bool >;
133134
Original file line number Diff line number Diff 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 SizeTEnvar MemoryManagerThreshold (
328328 " LIBOMPTARGET_MEMORY_MANAGER_THRESHOLD" , 0 );
329329
330330 size_t Threshold = MemoryManagerThreshold.get ();
You can’t perform that action at this time.
0 commit comments