blob: 7d8d9b6cae3e28f07afe66aa717bd87bca23ffc0 [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/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/qnnpack:qnnpack_preprocess",
"//executorch/backends/qnnpack/partition:qnnpack_partitioner",
] + get_all_cpu_backend_targets()