Skip to content

Commit

Permalink
Update XNNPACK delegate for blockwise quant
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoryComer committed Jul 26, 2024
1 parent cfdcd76 commit 1186b26
Show file tree
Hide file tree
Showing 31 changed files with 1,380 additions and 1 deletion.
16 changes: 16 additions & 0 deletions backends/xnnpack/CMakeFiles/CMakeDirectoryInformation.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.29

# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/gregory/src/executorch")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/gregory/src/executorch")

# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)


# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
1 change: 1 addition & 0 deletions backends/xnnpack/CMakeFiles/progress.marks
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
98
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

# Consider dependencies only in project.
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)

# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
)

# The set of dependency files which are needed:
set(CMAKE_DEPENDS_DEPENDENCY_FILES
"/home/gregory/src/executorch/examples/portable/executor_runner/executor_runner.cpp" "backends/xnnpack/CMakeFiles/xnn_executor_runner.dir/__/__/examples/portable/executor_runner/executor_runner.cpp.o" "gcc" "backends/xnnpack/CMakeFiles/xnn_executor_runner.dir/__/__/examples/portable/executor_runner/executor_runner.cpp.o.d"
"/home/gregory/src/executorch/extension/data_loader/file_data_loader.cpp" "backends/xnnpack/CMakeFiles/xnn_executor_runner.dir/__/__/extension/data_loader/file_data_loader.cpp.o" "gcc" "backends/xnnpack/CMakeFiles/xnn_executor_runner.dir/__/__/extension/data_loader/file_data_loader.cpp.o.d"
"/home/gregory/src/executorch/extension/evalue_util/print_evalue.cpp" "backends/xnnpack/CMakeFiles/xnn_executor_runner.dir/__/__/extension/evalue_util/print_evalue.cpp.o" "gcc" "backends/xnnpack/CMakeFiles/xnn_executor_runner.dir/__/__/extension/evalue_util/print_evalue.cpp.o.d"
"/home/gregory/src/executorch/extension/runner_util/inputs.cpp" "backends/xnnpack/CMakeFiles/xnn_executor_runner.dir/__/__/extension/runner_util/inputs.cpp.o" "gcc" "backends/xnnpack/CMakeFiles/xnn_executor_runner.dir/__/__/extension/runner_util/inputs.cpp.o.d"
"/home/gregory/src/executorch/extension/runner_util/inputs_portable.cpp" "backends/xnnpack/CMakeFiles/xnn_executor_runner.dir/__/__/extension/runner_util/inputs_portable.cpp.o" "gcc" "backends/xnnpack/CMakeFiles/xnn_executor_runner.dir/__/__/extension/runner_util/inputs_portable.cpp.o.d"
)

# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
)

# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES
)

# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
184 changes: 184 additions & 0 deletions backends/xnnpack/CMakeFiles/xnn_executor_runner.dir/build.make

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
file(REMOVE_RECURSE
"CMakeFiles/xnn_executor_runner.dir/__/__/examples/portable/executor_runner/executor_runner.cpp.o"
"CMakeFiles/xnn_executor_runner.dir/__/__/examples/portable/executor_runner/executor_runner.cpp.o.d"
"CMakeFiles/xnn_executor_runner.dir/__/__/extension/data_loader/file_data_loader.cpp.o"
"CMakeFiles/xnn_executor_runner.dir/__/__/extension/data_loader/file_data_loader.cpp.o.d"
"CMakeFiles/xnn_executor_runner.dir/__/__/extension/evalue_util/print_evalue.cpp.o"
"CMakeFiles/xnn_executor_runner.dir/__/__/extension/evalue_util/print_evalue.cpp.o.d"
"CMakeFiles/xnn_executor_runner.dir/__/__/extension/runner_util/inputs.cpp.o"
"CMakeFiles/xnn_executor_runner.dir/__/__/extension/runner_util/inputs.cpp.o.d"
"CMakeFiles/xnn_executor_runner.dir/__/__/extension/runner_util/inputs_portable.cpp.o"
"CMakeFiles/xnn_executor_runner.dir/__/__/extension/runner_util/inputs_portable.cpp.o.d"
"xnn_executor_runner"
"xnn_executor_runner.pdb"
)

# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/xnn_executor_runner.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Empty compiler generated dependencies file for xnn_executor_runner.
# This may be replaced when dependencies are built.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# CMAKE generated file: DO NOT EDIT!
# Timestamp file for compiler generated dependencies management for xnn_executor_runner.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Empty dependencies file for xnn_executor_runner.
# This may be replaced when dependencies are built.
10 changes: 10 additions & 0 deletions backends/xnnpack/CMakeFiles/xnn_executor_runner.dir/flags.make
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.29

# compile CXX with /usr/bin/c++
CXX_DEFINES = -DET_ENABLE_PROGRAM_VERIFICATION=0 -DET_MIN_LOG_LEVEL=Info -DGFLAGS_IS_A_DLL=0

CXX_INCLUDES = -I/home/gregory/src/executorch/backends/xnnpack/../../.. -I/home/gregory/src/executorch/backends/xnnpack/third-party/pthreadpool/include -I/home/gregory/src/executorch/backends/xnnpack/third-party/cpuinfo/include -I/home/gregory/src/executorch/third-party/gflags/include -isystem /home/gregory/src/executorch/backends/xnnpack/third-party/XNNPACK/include

CXX_FLAGS = -O2 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -s -std=gnu++17 -Wno-deprecated-declarations -fPIC

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/usr/bin/c++ -O2 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -s -Wl,--whole-archive /home/gregory/src/executorch/backends/xnnpack/libxnnpack_backend.a -Wl,--no-whole-archive -Wl,--whole-archive /home/gregory/src/executorch/kernels/portable/libportable_ops_lib.a -Wl,--no-whole-archive -Wl,--whole-archive /home/gregory/src/executorch/libexecutorch.a -Wl,--no-whole-archive CMakeFiles/xnn_executor_runner.dir/__/__/examples/portable/executor_runner/executor_runner.cpp.o CMakeFiles/xnn_executor_runner.dir/__/__/extension/data_loader/file_data_loader.cpp.o CMakeFiles/xnn_executor_runner.dir/__/__/extension/evalue_util/print_evalue.cpp.o CMakeFiles/xnn_executor_runner.dir/__/__/extension/runner_util/inputs.cpp.o CMakeFiles/xnn_executor_runner.dir/__/__/extension/runner_util/inputs_portable.cpp.o -o xnn_executor_runner libxnnpack_backend.a ../../third-party/gflags/libgflags_nothreads.a ../../kernels/portable/libportable_ops_lib.a third-party/XNNPACK/libXNNPACK.a third-party/cpuinfo/libcpuinfo.a third-party/pthreadpool/libpthreadpool.a -lm ../../kernels/portable/libportable_kernels.a ../../libexecutorch.a ../../libexecutorch_no_prim_ops.a -ldl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CMAKE_PROGRESS_1 =
CMAKE_PROGRESS_2 =
CMAKE_PROGRESS_3 =
CMAKE_PROGRESS_4 =
CMAKE_PROGRESS_5 =
CMAKE_PROGRESS_6 =

29 changes: 29 additions & 0 deletions backends/xnnpack/CMakeFiles/xnnpack_backend.dir/DependInfo.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

# Consider dependencies only in project.
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)

# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
)

# The set of dependency files which are needed:
set(CMAKE_DEPENDS_DEPENDENCY_FILES
"/home/gregory/src/executorch/backends/xnnpack/runtime/XNNCompiler.cpp" "backends/xnnpack/CMakeFiles/xnnpack_backend.dir/runtime/XNNCompiler.cpp.o" "gcc" "backends/xnnpack/CMakeFiles/xnnpack_backend.dir/runtime/XNNCompiler.cpp.o.d"
"/home/gregory/src/executorch/backends/xnnpack/runtime/XNNExecutor.cpp" "backends/xnnpack/CMakeFiles/xnnpack_backend.dir/runtime/XNNExecutor.cpp.o" "gcc" "backends/xnnpack/CMakeFiles/xnnpack_backend.dir/runtime/XNNExecutor.cpp.o.d"
"/home/gregory/src/executorch/backends/xnnpack/runtime/XNNHeader.cpp" "backends/xnnpack/CMakeFiles/xnnpack_backend.dir/runtime/XNNHeader.cpp.o" "gcc" "backends/xnnpack/CMakeFiles/xnnpack_backend.dir/runtime/XNNHeader.cpp.o.d"
"/home/gregory/src/executorch/backends/xnnpack/runtime/XNNPACKBackend.cpp" "backends/xnnpack/CMakeFiles/xnnpack_backend.dir/runtime/XNNPACKBackend.cpp.o" "gcc" "backends/xnnpack/CMakeFiles/xnnpack_backend.dir/runtime/XNNPACKBackend.cpp.o.d"
"/home/gregory/src/executorch/backends/xnnpack/runtime/profiling/XNNProfiler.cpp" "backends/xnnpack/CMakeFiles/xnnpack_backend.dir/runtime/profiling/XNNProfiler.cpp.o" "gcc" "backends/xnnpack/CMakeFiles/xnnpack_backend.dir/runtime/profiling/XNNProfiler.cpp.o.d"
"/home/gregory/src/executorch/backends/xnnpack/threadpool/threadpool.cpp" "backends/xnnpack/CMakeFiles/xnnpack_backend.dir/threadpool/threadpool.cpp.o" "gcc" "backends/xnnpack/CMakeFiles/xnnpack_backend.dir/threadpool/threadpool.cpp.o.d"
"/home/gregory/src/executorch/backends/xnnpack/threadpool/threadpool_guard.cpp" "backends/xnnpack/CMakeFiles/xnnpack_backend.dir/threadpool/threadpool_guard.cpp.o" "gcc" "backends/xnnpack/CMakeFiles/xnnpack_backend.dir/threadpool/threadpool_guard.cpp.o.d"
)

# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
)

# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES
)

# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
Loading

0 comments on commit 1186b26

Please sign in to comment.