blob: 5ca30a83b543d637e47f484465872b51686e3d5a [file] [log] [blame]
def get_all_cpu_backend_targets():
"""Returns a list of all CPU backend targets.
For experimenting and testing, not for production, since it will typically
include more than necessary for a particular product.
"""
return [
"//executorch/backends/xnnpack:xnnpack_backend",
"//executorch/backends/fb/qnnpack:qnnpack_backend",
]
def get_all_cpu_aot_and_backend_targets():
"""Returns a list of all CPU backend targets with aot (ahead of time).
For experimenting and testing, not for production, since it will typically
include more than necessary for a particular product.
"""
return [
"//executorch/backends/xnnpack:xnnpack_preprocess",
"//executorch/backends/xnnpack/partition:xnnpack_partitioner",
"//executorch/backends/fb/qnnpack:qnnpack_preprocess",
"//executorch/backends/fb/qnnpack/partition:qnnpack_partitioner",
] + get_all_cpu_backend_targets()