teflon: Initial commit

Teflon is a Gallium frontend that TensorFlow Lite can load to delegate
the execution of operations in a neural network model.

See docs for more.

Acked-by: Christian Gmeiner <cgmeiner@igalia.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25714>
This commit is contained in:
Tomeu Vizoso
2023-09-06 18:26:37 +02:00
committed by Marge Bot
parent 9290410870
commit af199e0ff0
184 changed files with 3756 additions and 2 deletions

View File

@@ -2144,6 +2144,13 @@ if with_perfetto
pre_args += '-DHAVE_PERFETTO'
endif
with_teflon = get_option('teflon')
if with_teflon and with_tests
dep_xtensor = dependency('xtensor')
dep_flatbuffers = dependency('flatbuffers')
prog_flatc = find_program('flatc')
endif
with_gpuvis = get_option('gpuvis')
if with_gpuvis
pre_args += '-DHAVE_GPUVIS'
@@ -2362,3 +2369,6 @@ if with_perfetto and with_any_datasource
perfetto_summary += {'Data source': with_datasources}
endif
summary(perfetto_summary, section: 'Perfetto', bool_yn: true, list_sep: ' ')
teflon_summary = {'Enabled': with_teflon}
summary(teflon_summary, section: 'Teflon (TensorFlow Lite delegate)', bool_yn: true, list_sep: ' ')