File tree 2 files changed +5
-5
lines changed
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)
32
32
resolve_python_executable()
33
33
endif ()
34
34
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 .
37
37
option (EXECUTORCH_XNNPACK_SHARED_WORKSPACE
38
- "Enable workspace sharing across different delegate instances" OFF
38
+ "Enable workspace sharing across different delegate instances" ON
39
39
)
40
40
if (EXECUTORCH_XNNPACK_SHARED_WORKSPACE)
41
41
add_definitions (-DENABLE_XNNPACK_SHARED_WORKSPACE)
Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ def define_common_targets():
36
36
"@EXECUTORCH_CLIENTS" ,
37
37
],
38
38
preprocessor_flags = [
39
+ # Enable workspace sharing across delegates
40
+ "-DENABLE_XNNPACK_SHARED_WORKSPACE" ,
39
41
# Uncomment to enable per operator timings
40
42
# "-DENABLE_XNNPACK_PROFILING",
41
- # Uncomment to enable workspace sharing across delegates
42
- # "-DENABLE_XNNPACK_SHARED_WORKSPACE"
43
43
],
44
44
exported_deps = [
45
45
"//executorch/runtime/backend:interface" ,
You can’t perform that action at this time.
0 commit comments