You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ENH: Rename nxrunner --ooc-memory-budget flag to --memory-budget
* Rename the CLI flag, ArgumentType enum entry, k_ constants, help
function, local variable, and error-message strings to drop the
"Ooc" prefix
* Update calls into Preferences to match the renamed API
(setMemoryBudgetBytes, memoryBudgetBytes, k_MemoryBudgetBytes_Key)
The MemoryBudgetManager now lives in simplnx core (not the SimplnxOoc
plugin) and applies to any cache subsystem that registers against it,
so the "Ooc" qualifier is no longer accurate.
Signed-off-by: Joey Kleingers <joey.kleingers@bluequartz.net>
nx::core::MakeErrorResult(k_InvalidArgumentError, fmt::format("Invalid value for --ooc-memory-budget: '{}' (must be a finite, positive number of gigabytes)", argument.value)));
626
+
nx::core::MakeErrorResult(k_InvalidArgumentError, fmt::format("Invalid value for --memory-budget: '{}' (must be a finite, positive number of gigabytes)", argument.value)));
results.push_back(nx::core::MakeErrorResult(k_InvalidArgumentError, fmt::format("Invalid value for --ooc-memory-budget: '{}' (expected a positive number of gigabytes)", argument.value)));
632
+
results.push_back(nx::core::MakeErrorResult(k_InvalidArgumentError, fmt::format("Invalid value for --memory-budget: '{}' (expected a positive number of gigabytes)", argument.value)));
633
633
}
634
634
break;
635
635
}
@@ -667,28 +667,28 @@ int main(int argc, char* argv[])
0 commit comments