File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ if(NOT PYTHON_EXECUTABLE)
3232 resolve_python_executable()
3333endif ()
3434
35- # NB: Enabling this will serialize execution of delegate instances Keeping this
36- # OFF by default to maintain existing behavior, to be revisited .
35+ # NB: Enabling this will serialize execution of delegate instances.
36+ # This setting may have performance implications .
3737option (EXECUTORCH_XNNPACK_SHARED_WORKSPACE
38- "Enable workspace sharing across different delegate instances" OFF
38+ "Enable workspace sharing across different delegate instances" ON
3939)
4040if (EXECUTORCH_XNNPACK_SHARED_WORKSPACE)
4141 add_definitions (-DENABLE_XNNPACK_SHARED_WORKSPACE)
Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ def define_common_targets():
3636 "@EXECUTORCH_CLIENTS" ,
3737 ],
3838 preprocessor_flags = [
39+ # Enable workspace sharing across delegates
40+ "-DENABLE_XNNPACK_SHARED_WORKSPACE" ,
3941 # Uncomment to enable per operator timings
4042 # "-DENABLE_XNNPACK_PROFILING",
41- # Uncomment to enable workspace sharing across delegates
42- # "-DENABLE_XNNPACK_SHARED_WORKSPACE"
4343 ],
4444 exported_deps = [
4545 "//executorch/runtime/backend:interface" ,
You can’t perform that action at this time.
0 commit comments