diff options
Diffstat (limited to 'ruy/context.cc')
-rw-r--r-- | ruy/context.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ruy/context.cc b/ruy/context.cc index 4661738..342ce52 100644 --- a/ruy/context.cc +++ b/ruy/context.cc @@ -55,4 +55,9 @@ void Context::set_runtime_enabled_paths(Path paths) { mutable_ctx()->SetRuntimeEnabledPaths(paths); } +Path Context::get_runtime_enabled_paths() { + // The `& kAllPaths` hides internal test-only paths. + return mutable_ctx()->GetRuntimeEnabledPaths() & ruy::kAllPaths; +} + } // namespace ruy |