halide 19.0.0__cp311-cp311-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- halide/__init__.py +39 -0
- halide/_generator_helpers.py +835 -0
- halide/bin/Halide.dll +0 -0
- halide/bin/adams2019_retrain_cost_model.exe +0 -0
- halide/bin/adams2019_weightsdir_to_weightsfile.exe +0 -0
- halide/bin/anderson2021_retrain_cost_model.exe +0 -0
- halide/bin/anderson2021_weightsdir_to_weightsfile.exe +0 -0
- halide/bin/featurization_to_sample.exe +0 -0
- halide/bin/gengen.exe +0 -0
- halide/bin/get_host_target.exe +0 -0
- halide/halide_.cp311-win_amd64.pyd +0 -0
- halide/imageio.py +60 -0
- halide/include/Halide.h +35293 -0
- halide/include/HalideBuffer.h +2618 -0
- halide/include/HalidePyTorchCudaHelpers.h +64 -0
- halide/include/HalidePyTorchHelpers.h +120 -0
- halide/include/HalideRuntime.h +2221 -0
- halide/include/HalideRuntimeCuda.h +89 -0
- halide/include/HalideRuntimeD3D12Compute.h +91 -0
- halide/include/HalideRuntimeHexagonDma.h +104 -0
- halide/include/HalideRuntimeHexagonHost.h +157 -0
- halide/include/HalideRuntimeMetal.h +112 -0
- halide/include/HalideRuntimeOpenCL.h +119 -0
- halide/include/HalideRuntimeQurt.h +32 -0
- halide/include/HalideRuntimeVulkan.h +137 -0
- halide/include/HalideRuntimeWebGPU.h +44 -0
- halide/lib/Halide.lib +0 -0
- halide/lib/HalidePyStubs.lib +0 -0
- halide/lib/Halide_GenGen.lib +0 -0
- halide/lib/autoschedule_adams2019.dll +0 -0
- halide/lib/autoschedule_anderson2021.dll +0 -0
- halide/lib/autoschedule_li2018.dll +0 -0
- halide/lib/autoschedule_mullapudi2016.dll +0 -0
- halide/lib/cmake/Halide/FindHalide_LLVM.cmake +152 -0
- halide/lib/cmake/Halide/FindV8.cmake +33 -0
- halide/lib/cmake/Halide/Halide-shared-deps.cmake +0 -0
- halide/lib/cmake/Halide/Halide-shared-targets-release.cmake +29 -0
- halide/lib/cmake/Halide/Halide-shared-targets.cmake +154 -0
- halide/lib/cmake/Halide/HalideConfig.cmake +162 -0
- halide/lib/cmake/Halide/HalideConfigVersion.cmake +65 -0
- halide/lib/cmake/HalideHelpers/FindHalide_WebGPU.cmake +27 -0
- halide/lib/cmake/HalideHelpers/Halide-Interfaces-release.cmake +112 -0
- halide/lib/cmake/HalideHelpers/Halide-Interfaces.cmake +236 -0
- halide/lib/cmake/HalideHelpers/HalideGeneratorHelpers.cmake +1056 -0
- halide/lib/cmake/HalideHelpers/HalideHelpersConfig.cmake +28 -0
- halide/lib/cmake/HalideHelpers/HalideHelpersConfigVersion.cmake +54 -0
- halide/lib/cmake/HalideHelpers/HalideTargetHelpers.cmake +99 -0
- halide/lib/cmake/HalideHelpers/MutexCopy.ps1 +31 -0
- halide/lib/cmake/HalideHelpers/TargetExportScript.cmake +55 -0
- halide/lib/cmake/Halide_Python/Halide_Python-targets-release.cmake +29 -0
- halide/lib/cmake/Halide_Python/Halide_Python-targets.cmake +125 -0
- halide/lib/cmake/Halide_Python/Halide_PythonConfig.cmake +26 -0
- halide/lib/cmake/Halide_Python/Halide_PythonConfigVersion.cmake +65 -0
- halide/share/doc/Halide/LICENSE.txt +233 -0
- halide/share/doc/Halide/README.md +439 -0
- halide/share/doc/Halide/doc/BuildingHalideWithCMake.md +626 -0
- halide/share/doc/Halide/doc/CodeStyleCMake.md +393 -0
- halide/share/doc/Halide/doc/FuzzTesting.md +104 -0
- halide/share/doc/Halide/doc/HalideCMakePackage.md +812 -0
- halide/share/doc/Halide/doc/Hexagon.md +73 -0
- halide/share/doc/Halide/doc/Python.md +844 -0
- halide/share/doc/Halide/doc/RunGen.md +283 -0
- halide/share/doc/Halide/doc/Testing.md +125 -0
- halide/share/doc/Halide/doc/Vulkan.md +287 -0
- halide/share/doc/Halide/doc/WebAssembly.md +228 -0
- halide/share/doc/Halide/doc/WebGPU.md +128 -0
- halide/share/tools/RunGen.h +1470 -0
- halide/share/tools/RunGenMain.cpp +642 -0
- halide/share/tools/adams2019_autotune_loop.sh +227 -0
- halide/share/tools/anderson2021_autotune_loop.sh +591 -0
- halide/share/tools/halide_benchmark.h +240 -0
- halide/share/tools/halide_image.h +31 -0
- halide/share/tools/halide_image_info.h +318 -0
- halide/share/tools/halide_image_io.h +2794 -0
- halide/share/tools/halide_malloc_trace.h +102 -0
- halide/share/tools/halide_thread_pool.h +161 -0
- halide/share/tools/halide_trace_config.h +559 -0
- halide-19.0.0.data/data/share/cmake/Halide/HalideConfig.cmake +6 -0
- halide-19.0.0.data/data/share/cmake/Halide/HalideConfigVersion.cmake +65 -0
- halide-19.0.0.data/data/share/cmake/HalideHelpers/HalideHelpersConfig.cmake +6 -0
- halide-19.0.0.data/data/share/cmake/HalideHelpers/HalideHelpersConfigVersion.cmake +54 -0
- halide-19.0.0.dist-info/METADATA +301 -0
- halide-19.0.0.dist-info/RECORD +85 -0
- halide-19.0.0.dist-info/WHEEL +5 -0
- halide-19.0.0.dist-info/licenses/LICENSE.txt +233 -0
@@ -0,0 +1,162 @@
|
|
1
|
+
cmake_minimum_required(VERSION 3.28)
|
2
|
+
|
3
|
+
####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
|
4
|
+
####### Any changes to this file will be overwritten by the next CMake run ####
|
5
|
+
####### The input file was HalideConfig.cmake ########
|
6
|
+
|
7
|
+
get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
8
|
+
|
9
|
+
####################################################################################
|
10
|
+
|
11
|
+
macro(Halide_fail message)
|
12
|
+
set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "${message}")
|
13
|
+
set(${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE)
|
14
|
+
return()
|
15
|
+
endmacro()
|
16
|
+
|
17
|
+
macro(Halide_find_component_dependency comp dep)
|
18
|
+
set(Halide_quiet)
|
19
|
+
if (${CMAKE_FIND_PACKAGE_NAME}_FIND_QUIETLY)
|
20
|
+
set(Halide_quiet QUIET)
|
21
|
+
endif ()
|
22
|
+
|
23
|
+
find_package(${dep} ${ARGN} ${Halide_quiet})
|
24
|
+
|
25
|
+
if (NOT ${dep}_FOUND AND ${CMAKE_FIND_PACKAGE_NAME}_FIND_REQUIRED_${comp})
|
26
|
+
Halide_fail("${CMAKE_FIND_PACKAGE_NAME} could not be found because dependency ${dep} could not be found.")
|
27
|
+
endif ()
|
28
|
+
endmacro()
|
29
|
+
|
30
|
+
set(Halide_known_components Halide Python PNG JPEG static shared)
|
31
|
+
set(Halide_components Halide PNG JPEG)
|
32
|
+
|
33
|
+
foreach (Halide_comp IN LISTS Halide_known_components)
|
34
|
+
set(Halide_comp_${Halide_comp} NO)
|
35
|
+
endforeach ()
|
36
|
+
|
37
|
+
if (${CMAKE_FIND_PACKAGE_NAME}_FIND_COMPONENTS)
|
38
|
+
set(Halide_components ${${CMAKE_FIND_PACKAGE_NAME}_FIND_COMPONENTS})
|
39
|
+
endif ()
|
40
|
+
|
41
|
+
# Parse components for static/shared preference.
|
42
|
+
foreach (Halide_comp IN LISTS Halide_components)
|
43
|
+
if (Halide_comp IN_LIST Halide_known_components)
|
44
|
+
set(Halide_comp_${Halide_comp} YES)
|
45
|
+
else ()
|
46
|
+
Halide_fail("Halide does not recognize component `${Halide_comp}`.")
|
47
|
+
endif ()
|
48
|
+
endforeach ()
|
49
|
+
|
50
|
+
if (Halide_comp_static AND Halide_comp_shared)
|
51
|
+
Halide_fail("Halide `static` and `shared` components are mutually exclusive.")
|
52
|
+
endif ()
|
53
|
+
|
54
|
+
# Inform downstreams of potential compatibility issues. For instance, exceptions
|
55
|
+
# and RTTI must both be enabled to build Python bindings and ASAN builds should
|
56
|
+
# not be mixed with non-ASAN builds.
|
57
|
+
set(WITH_AUTOSCHEDULERS "ON")
|
58
|
+
set(Halide_ENABLE_EXCEPTIONS "TRUE")
|
59
|
+
set(Halide_ENABLE_RTTI "TRUE")
|
60
|
+
set(Halide_ASAN_ENABLED "")
|
61
|
+
|
62
|
+
##
|
63
|
+
## Find dependencies based on components
|
64
|
+
##
|
65
|
+
|
66
|
+
include(CMakeFindDependencyMacro)
|
67
|
+
|
68
|
+
find_dependency(
|
69
|
+
HalideHelpers "19.0.0" EXACT
|
70
|
+
HINTS "${PACKAGE_PREFIX_DIR}/lib/cmake/HalideHelpers"
|
71
|
+
)
|
72
|
+
|
73
|
+
if (Halide_comp_PNG)
|
74
|
+
Halide_find_component_dependency(PNG PNG)
|
75
|
+
endif ()
|
76
|
+
|
77
|
+
if (Halide_comp_JPEG)
|
78
|
+
Halide_find_component_dependency(JPEG JPEG)
|
79
|
+
endif ()
|
80
|
+
|
81
|
+
##
|
82
|
+
## Select static or shared and load CMake scripts
|
83
|
+
##
|
84
|
+
|
85
|
+
set(Halide_static_targets "${CMAKE_CURRENT_LIST_DIR}/Halide-static-targets.cmake")
|
86
|
+
set(Halide_shared_targets "${CMAKE_CURRENT_LIST_DIR}/Halide-shared-targets.cmake")
|
87
|
+
|
88
|
+
set(Halide_static_deps "${CMAKE_CURRENT_LIST_DIR}/Halide-static-deps.cmake")
|
89
|
+
set(Halide_shared_deps "${CMAKE_CURRENT_LIST_DIR}/Halide-shared-deps.cmake")
|
90
|
+
|
91
|
+
macro(Halide_load_targets type)
|
92
|
+
if (NOT EXISTS "${Halide_${type}_targets}")
|
93
|
+
Halide_fail("Halide `${type}` libraries were requested but not found.")
|
94
|
+
endif ()
|
95
|
+
|
96
|
+
include("${Halide_${type}_targets}")
|
97
|
+
include("${Halide_${type}_deps}" OPTIONAL)
|
98
|
+
endmacro()
|
99
|
+
|
100
|
+
if (Halide_comp_static)
|
101
|
+
Halide_load_targets(static)
|
102
|
+
elseif (Halide_comp_shared)
|
103
|
+
Halide_load_targets(shared)
|
104
|
+
elseif (DEFINED Halide_SHARED_LIBS AND Halide_SHARED_LIBS)
|
105
|
+
Halide_load_targets(shared)
|
106
|
+
elseif (DEFINED Halide_SHARED_LIBS AND NOT Halide_SHARED_LIBS)
|
107
|
+
Halide_load_targets(static)
|
108
|
+
elseif (BUILD_SHARED_LIBS OR NOT DEFINED BUILD_SHARED_LIBS)
|
109
|
+
if (EXISTS "${Halide_shared_targets}")
|
110
|
+
Halide_load_targets(shared)
|
111
|
+
else ()
|
112
|
+
Halide_load_targets(static)
|
113
|
+
endif ()
|
114
|
+
else ()
|
115
|
+
if (EXISTS "${Halide_static_targets}")
|
116
|
+
Halide_load_targets(static)
|
117
|
+
else ()
|
118
|
+
Halide_load_targets(shared)
|
119
|
+
endif ()
|
120
|
+
endif ()
|
121
|
+
|
122
|
+
## Load Python component
|
123
|
+
if (Halide_comp_Python OR "TRUE")
|
124
|
+
Halide_find_component_dependency(
|
125
|
+
Python Halide_Python
|
126
|
+
HINTS "${PACKAGE_PREFIX_DIR}/lib/cmake/Halide_Python"
|
127
|
+
)
|
128
|
+
endif ()
|
129
|
+
|
130
|
+
## Hide variables and helper macros that are not part of our API.
|
131
|
+
|
132
|
+
# Delete internal component tracking
|
133
|
+
foreach (comp IN LISTS Halide_known_components)
|
134
|
+
unset(Halide_comp_${comp})
|
135
|
+
endforeach ()
|
136
|
+
|
137
|
+
unset(Halide_components)
|
138
|
+
unset(Halide_known_components)
|
139
|
+
|
140
|
+
# Delete paths to generated CMake files
|
141
|
+
unset(Halide_shared_deps)
|
142
|
+
unset(Halide_shared_targets)
|
143
|
+
unset(Halide_static_deps)
|
144
|
+
unset(Halide_static_targets)
|
145
|
+
|
146
|
+
# Delete internal macros -- CMake saves redefined macros and functions with a
|
147
|
+
# single underscore prefixed so, for example, Halide_fail is still available as
|
148
|
+
# _Halide_fail after one redefinition. Doing it twice overwrites both since the
|
149
|
+
# saving behavior doesn't continue past the first.
|
150
|
+
foreach (i RANGE 0 1)
|
151
|
+
macro(Halide_fail)
|
152
|
+
message(FATAL_ERROR "Cannot call internal API: Halide_fail")
|
153
|
+
endmacro()
|
154
|
+
|
155
|
+
macro(Halide_find_component_dependency)
|
156
|
+
message(FATAL_ERROR "Cannot call internal API: Halide_find_component_dependency")
|
157
|
+
endmacro()
|
158
|
+
|
159
|
+
macro(Halide_load_targets)
|
160
|
+
message(FATAL_ERROR "Cannot call internal API: Halide_load_targets")
|
161
|
+
endmacro()
|
162
|
+
endforeach ()
|
@@ -0,0 +1,65 @@
|
|
1
|
+
# This is a basic version file for the Config-mode of find_package().
|
2
|
+
# It is used by write_basic_package_version_file() as input file for configure_file()
|
3
|
+
# to create a version-file which can be installed along a config.cmake file.
|
4
|
+
#
|
5
|
+
# The created file sets PACKAGE_VERSION_EXACT if the current version string and
|
6
|
+
# the requested version string are exactly the same and it sets
|
7
|
+
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version,
|
8
|
+
# but only if the requested major version is the same as the current one.
|
9
|
+
# The variable CVF_VERSION must be set before calling configure_file().
|
10
|
+
|
11
|
+
|
12
|
+
set(PACKAGE_VERSION "19.0.0")
|
13
|
+
|
14
|
+
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
15
|
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
16
|
+
else()
|
17
|
+
|
18
|
+
if("19.0.0" MATCHES "^([0-9]+)\\.")
|
19
|
+
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
|
20
|
+
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
|
21
|
+
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
|
22
|
+
endif()
|
23
|
+
else()
|
24
|
+
set(CVF_VERSION_MAJOR "19.0.0")
|
25
|
+
endif()
|
26
|
+
|
27
|
+
if(PACKAGE_FIND_VERSION_RANGE)
|
28
|
+
# both endpoints of the range must have the expected major version
|
29
|
+
math (EXPR CVF_VERSION_MAJOR_NEXT "${CVF_VERSION_MAJOR} + 1")
|
30
|
+
if (NOT PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
|
31
|
+
OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX_MAJOR STREQUAL CVF_VERSION_MAJOR)
|
32
|
+
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND NOT PACKAGE_FIND_VERSION_MAX VERSION_LESS_EQUAL CVF_VERSION_MAJOR_NEXT)))
|
33
|
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
34
|
+
elseif(PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
|
35
|
+
AND ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS_EQUAL PACKAGE_FIND_VERSION_MAX)
|
36
|
+
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MAX)))
|
37
|
+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
38
|
+
else()
|
39
|
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
40
|
+
endif()
|
41
|
+
else()
|
42
|
+
if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR)
|
43
|
+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
44
|
+
else()
|
45
|
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
46
|
+
endif()
|
47
|
+
|
48
|
+
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
49
|
+
set(PACKAGE_VERSION_EXACT TRUE)
|
50
|
+
endif()
|
51
|
+
endif()
|
52
|
+
endif()
|
53
|
+
|
54
|
+
|
55
|
+
# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
|
56
|
+
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
|
57
|
+
return()
|
58
|
+
endif()
|
59
|
+
|
60
|
+
# check that the installed version has the same 32/64bit-ness as the one which is currently searching:
|
61
|
+
if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
|
62
|
+
math(EXPR installedBits "8 * 8")
|
63
|
+
set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
|
64
|
+
set(PACKAGE_VERSION_UNSUITABLE TRUE)
|
65
|
+
endif()
|
@@ -0,0 +1,27 @@
|
|
1
|
+
cmake_minimum_required(VERSION 3.28)
|
2
|
+
|
3
|
+
# tip: uncomment this line to get better debugging information if find_library() fails
|
4
|
+
# set(CMAKE_FIND_DEBUG_MODE TRUE)
|
5
|
+
|
6
|
+
if (EXISTS "$ENV{HL_WEBGPU_NATIVE_LIB}")
|
7
|
+
set(Halide_WebGPU_NATIVE_LIB "$ENV{HL_WEBGPU_NATIVE_LIB}"
|
8
|
+
CACHE FILEPATH "")
|
9
|
+
endif ()
|
10
|
+
|
11
|
+
find_library(Halide_WebGPU_NATIVE_LIB NAMES webgpu_dawn wgpu)
|
12
|
+
|
13
|
+
include(FindPackageHandleStandardArgs)
|
14
|
+
find_package_handle_standard_args(
|
15
|
+
Halide_WebGPU
|
16
|
+
REQUIRED_VARS Halide_WebGPU_NATIVE_LIB
|
17
|
+
HANDLE_COMPONENTS
|
18
|
+
)
|
19
|
+
|
20
|
+
if (Halide_WebGPU_NATIVE_LIB AND NOT TARGET Halide::WebGPU)
|
21
|
+
add_library(Halide::WebGPU UNKNOWN IMPORTED)
|
22
|
+
set_target_properties(
|
23
|
+
Halide::WebGPU
|
24
|
+
PROPERTIES
|
25
|
+
IMPORTED_LOCATION "${Halide_WebGPU_NATIVE_LIB}"
|
26
|
+
)
|
27
|
+
endif ()
|
@@ -0,0 +1,112 @@
|
|
1
|
+
#----------------------------------------------------------------
|
2
|
+
# Generated CMake target import file for configuration "Release".
|
3
|
+
#----------------------------------------------------------------
|
4
|
+
|
5
|
+
# Commands may need to know the format version.
|
6
|
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
7
|
+
|
8
|
+
# Import target "Halide::Adams2019" for configuration "Release"
|
9
|
+
set_property(TARGET Halide::Adams2019 APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
10
|
+
set_target_properties(Halide::Adams2019 PROPERTIES
|
11
|
+
IMPORTED_COMMON_LANGUAGE_RUNTIME_RELEASE ""
|
12
|
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/autoschedule_adams2019.dll"
|
13
|
+
)
|
14
|
+
|
15
|
+
list(APPEND _cmake_import_check_targets Halide::Adams2019 )
|
16
|
+
list(APPEND _cmake_import_check_files_for_Halide::Adams2019 "${_IMPORT_PREFIX}/lib/autoschedule_adams2019.dll" )
|
17
|
+
|
18
|
+
# Import target "Halide::Li2018" for configuration "Release"
|
19
|
+
set_property(TARGET Halide::Li2018 APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
20
|
+
set_target_properties(Halide::Li2018 PROPERTIES
|
21
|
+
IMPORTED_COMMON_LANGUAGE_RUNTIME_RELEASE ""
|
22
|
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/autoschedule_li2018.dll"
|
23
|
+
)
|
24
|
+
|
25
|
+
list(APPEND _cmake_import_check_targets Halide::Li2018 )
|
26
|
+
list(APPEND _cmake_import_check_files_for_Halide::Li2018 "${_IMPORT_PREFIX}/lib/autoschedule_li2018.dll" )
|
27
|
+
|
28
|
+
# Import target "Halide::Mullapudi2016" for configuration "Release"
|
29
|
+
set_property(TARGET Halide::Mullapudi2016 APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
30
|
+
set_target_properties(Halide::Mullapudi2016 PROPERTIES
|
31
|
+
IMPORTED_COMMON_LANGUAGE_RUNTIME_RELEASE ""
|
32
|
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/autoschedule_mullapudi2016.dll"
|
33
|
+
)
|
34
|
+
|
35
|
+
list(APPEND _cmake_import_check_targets Halide::Mullapudi2016 )
|
36
|
+
list(APPEND _cmake_import_check_files_for_Halide::Mullapudi2016 "${_IMPORT_PREFIX}/lib/autoschedule_mullapudi2016.dll" )
|
37
|
+
|
38
|
+
# Import target "Halide::Anderson2021" for configuration "Release"
|
39
|
+
set_property(TARGET Halide::Anderson2021 APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
40
|
+
set_target_properties(Halide::Anderson2021 PROPERTIES
|
41
|
+
IMPORTED_COMMON_LANGUAGE_RUNTIME_RELEASE ""
|
42
|
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/autoschedule_anderson2021.dll"
|
43
|
+
)
|
44
|
+
|
45
|
+
list(APPEND _cmake_import_check_targets Halide::Anderson2021 )
|
46
|
+
list(APPEND _cmake_import_check_files_for_Halide::Anderson2021 "${_IMPORT_PREFIX}/lib/autoschedule_anderson2021.dll" )
|
47
|
+
|
48
|
+
# Import target "Halide::GenRT" for configuration "Release"
|
49
|
+
set_property(TARGET Halide::GenRT APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
50
|
+
set_target_properties(Halide::GenRT PROPERTIES
|
51
|
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/gengen.exe"
|
52
|
+
)
|
53
|
+
|
54
|
+
list(APPEND _cmake_import_check_targets Halide::GenRT )
|
55
|
+
list(APPEND _cmake_import_check_files_for_Halide::GenRT "${_IMPORT_PREFIX}/bin/gengen.exe" )
|
56
|
+
|
57
|
+
# Import target "Halide::adams2019_retrain_cost_model" for configuration "Release"
|
58
|
+
set_property(TARGET Halide::adams2019_retrain_cost_model APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
59
|
+
set_target_properties(Halide::adams2019_retrain_cost_model PROPERTIES
|
60
|
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/adams2019_retrain_cost_model.exe"
|
61
|
+
)
|
62
|
+
|
63
|
+
list(APPEND _cmake_import_check_targets Halide::adams2019_retrain_cost_model )
|
64
|
+
list(APPEND _cmake_import_check_files_for_Halide::adams2019_retrain_cost_model "${_IMPORT_PREFIX}/bin/adams2019_retrain_cost_model.exe" )
|
65
|
+
|
66
|
+
# Import target "Halide::adams2019_weightsdir_to_weightsfile" for configuration "Release"
|
67
|
+
set_property(TARGET Halide::adams2019_weightsdir_to_weightsfile APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
68
|
+
set_target_properties(Halide::adams2019_weightsdir_to_weightsfile PROPERTIES
|
69
|
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/adams2019_weightsdir_to_weightsfile.exe"
|
70
|
+
)
|
71
|
+
|
72
|
+
list(APPEND _cmake_import_check_targets Halide::adams2019_weightsdir_to_weightsfile )
|
73
|
+
list(APPEND _cmake_import_check_files_for_Halide::adams2019_weightsdir_to_weightsfile "${_IMPORT_PREFIX}/bin/adams2019_weightsdir_to_weightsfile.exe" )
|
74
|
+
|
75
|
+
# Import target "Halide::anderson2021_retrain_cost_model" for configuration "Release"
|
76
|
+
set_property(TARGET Halide::anderson2021_retrain_cost_model APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
77
|
+
set_target_properties(Halide::anderson2021_retrain_cost_model PROPERTIES
|
78
|
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/anderson2021_retrain_cost_model.exe"
|
79
|
+
)
|
80
|
+
|
81
|
+
list(APPEND _cmake_import_check_targets Halide::anderson2021_retrain_cost_model )
|
82
|
+
list(APPEND _cmake_import_check_files_for_Halide::anderson2021_retrain_cost_model "${_IMPORT_PREFIX}/bin/anderson2021_retrain_cost_model.exe" )
|
83
|
+
|
84
|
+
# Import target "Halide::anderson2021_weightsdir_to_weightsfile" for configuration "Release"
|
85
|
+
set_property(TARGET Halide::anderson2021_weightsdir_to_weightsfile APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
86
|
+
set_target_properties(Halide::anderson2021_weightsdir_to_weightsfile PROPERTIES
|
87
|
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/anderson2021_weightsdir_to_weightsfile.exe"
|
88
|
+
)
|
89
|
+
|
90
|
+
list(APPEND _cmake_import_check_targets Halide::anderson2021_weightsdir_to_weightsfile )
|
91
|
+
list(APPEND _cmake_import_check_files_for_Halide::anderson2021_weightsdir_to_weightsfile "${_IMPORT_PREFIX}/bin/anderson2021_weightsdir_to_weightsfile.exe" )
|
92
|
+
|
93
|
+
# Import target "Halide::featurization_to_sample" for configuration "Release"
|
94
|
+
set_property(TARGET Halide::featurization_to_sample APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
95
|
+
set_target_properties(Halide::featurization_to_sample PROPERTIES
|
96
|
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/featurization_to_sample.exe"
|
97
|
+
)
|
98
|
+
|
99
|
+
list(APPEND _cmake_import_check_targets Halide::featurization_to_sample )
|
100
|
+
list(APPEND _cmake_import_check_files_for_Halide::featurization_to_sample "${_IMPORT_PREFIX}/bin/featurization_to_sample.exe" )
|
101
|
+
|
102
|
+
# Import target "Halide::get_host_target" for configuration "Release"
|
103
|
+
set_property(TARGET Halide::get_host_target APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
104
|
+
set_target_properties(Halide::get_host_target PROPERTIES
|
105
|
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/get_host_target.exe"
|
106
|
+
)
|
107
|
+
|
108
|
+
list(APPEND _cmake_import_check_targets Halide::get_host_target )
|
109
|
+
list(APPEND _cmake_import_check_files_for_Halide::get_host_target "${_IMPORT_PREFIX}/bin/get_host_target.exe" )
|
110
|
+
|
111
|
+
# Commands beyond this point should not need to know the version.
|
112
|
+
set(CMAKE_IMPORT_FILE_VERSION)
|
@@ -0,0 +1,236 @@
|
|
1
|
+
# Generated by CMake
|
2
|
+
|
3
|
+
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
|
4
|
+
message(FATAL_ERROR "CMake >= 2.8.0 required")
|
5
|
+
endif()
|
6
|
+
if(CMAKE_VERSION VERSION_LESS "2.8.3")
|
7
|
+
message(FATAL_ERROR "CMake >= 2.8.3 required")
|
8
|
+
endif()
|
9
|
+
cmake_policy(PUSH)
|
10
|
+
cmake_policy(VERSION 2.8.3...3.26)
|
11
|
+
#----------------------------------------------------------------
|
12
|
+
# Generated CMake target import file.
|
13
|
+
#----------------------------------------------------------------
|
14
|
+
|
15
|
+
# Commands may need to know the format version.
|
16
|
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
17
|
+
|
18
|
+
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
19
|
+
set(_cmake_targets_defined "")
|
20
|
+
set(_cmake_targets_not_defined "")
|
21
|
+
set(_cmake_expected_targets "")
|
22
|
+
foreach(_cmake_expected_target IN ITEMS Halide::Adams2019 Halide::Li2018 Halide::Mullapudi2016 Halide::Anderson2021 Halide::Runtime Halide::Tools Halide::ImageIO Halide::RunGenMain Halide::ThreadPool Halide::GenRT Halide::adams2019_retrain_cost_model Halide::adams2019_weightsdir_to_weightsfile Halide::anderson2021_retrain_cost_model Halide::anderson2021_weightsdir_to_weightsfile Halide::featurization_to_sample Halide::get_host_target)
|
23
|
+
list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
|
24
|
+
if(TARGET "${_cmake_expected_target}")
|
25
|
+
list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
|
26
|
+
else()
|
27
|
+
list(APPEND _cmake_targets_not_defined "${_cmake_expected_target}")
|
28
|
+
endif()
|
29
|
+
endforeach()
|
30
|
+
unset(_cmake_expected_target)
|
31
|
+
if(_cmake_targets_defined STREQUAL _cmake_expected_targets)
|
32
|
+
unset(_cmake_targets_defined)
|
33
|
+
unset(_cmake_targets_not_defined)
|
34
|
+
unset(_cmake_expected_targets)
|
35
|
+
unset(CMAKE_IMPORT_FILE_VERSION)
|
36
|
+
cmake_policy(POP)
|
37
|
+
return()
|
38
|
+
endif()
|
39
|
+
if(NOT _cmake_targets_defined STREQUAL "")
|
40
|
+
string(REPLACE ";" ", " _cmake_targets_defined_text "${_cmake_targets_defined}")
|
41
|
+
string(REPLACE ";" ", " _cmake_targets_not_defined_text "${_cmake_targets_not_defined}")
|
42
|
+
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_cmake_targets_defined_text}\nTargets not yet defined: ${_cmake_targets_not_defined_text}\n")
|
43
|
+
endif()
|
44
|
+
unset(_cmake_targets_defined)
|
45
|
+
unset(_cmake_targets_not_defined)
|
46
|
+
unset(_cmake_expected_targets)
|
47
|
+
|
48
|
+
|
49
|
+
# Compute the installation prefix relative to this file.
|
50
|
+
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
51
|
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
52
|
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
53
|
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
54
|
+
if(_IMPORT_PREFIX STREQUAL "/")
|
55
|
+
set(_IMPORT_PREFIX "")
|
56
|
+
endif()
|
57
|
+
|
58
|
+
# Create imported target Halide::Adams2019
|
59
|
+
add_library(Halide::Adams2019 MODULE IMPORTED)
|
60
|
+
|
61
|
+
# Create imported target Halide::Li2018
|
62
|
+
add_library(Halide::Li2018 MODULE IMPORTED)
|
63
|
+
|
64
|
+
# Create imported target Halide::Mullapudi2016
|
65
|
+
add_library(Halide::Mullapudi2016 MODULE IMPORTED)
|
66
|
+
|
67
|
+
# Create imported target Halide::Anderson2021
|
68
|
+
add_library(Halide::Anderson2021 MODULE IMPORTED)
|
69
|
+
|
70
|
+
# Create imported target Halide::Runtime
|
71
|
+
add_library(Halide::Runtime INTERFACE IMPORTED)
|
72
|
+
|
73
|
+
if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
|
74
|
+
target_sources(Halide::Runtime
|
75
|
+
INTERFACE
|
76
|
+
FILE_SET "HEADERS"
|
77
|
+
TYPE "HEADERS"
|
78
|
+
BASE_DIRS "${_IMPORT_PREFIX}/include"
|
79
|
+
FILES "${_IMPORT_PREFIX}/include/HalideBuffer.h" "${_IMPORT_PREFIX}/include/HalidePyTorchCudaHelpers.h" "${_IMPORT_PREFIX}/include/HalidePyTorchHelpers.h" "${_IMPORT_PREFIX}/include/HalideRuntime.h" "${_IMPORT_PREFIX}/include/HalideRuntimeCuda.h" "${_IMPORT_PREFIX}/include/HalideRuntimeD3D12Compute.h" "${_IMPORT_PREFIX}/include/HalideRuntimeHexagonDma.h" "${_IMPORT_PREFIX}/include/HalideRuntimeHexagonHost.h" "${_IMPORT_PREFIX}/include/HalideRuntimeMetal.h" "${_IMPORT_PREFIX}/include/HalideRuntimeOpenCL.h" "${_IMPORT_PREFIX}/include/HalideRuntimeQurt.h" "${_IMPORT_PREFIX}/include/HalideRuntimeVulkan.h" "${_IMPORT_PREFIX}/include/HalideRuntimeWebGPU.h"
|
80
|
+
)
|
81
|
+
else()
|
82
|
+
set_property(TARGET Halide::Runtime
|
83
|
+
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
84
|
+
"${_IMPORT_PREFIX}/include"
|
85
|
+
)
|
86
|
+
endif()
|
87
|
+
|
88
|
+
# Create imported target Halide::Tools
|
89
|
+
add_library(Halide::Tools INTERFACE IMPORTED)
|
90
|
+
|
91
|
+
if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
|
92
|
+
target_sources(Halide::Tools
|
93
|
+
INTERFACE
|
94
|
+
FILE_SET "HEADERS"
|
95
|
+
TYPE "HEADERS"
|
96
|
+
BASE_DIRS "${_IMPORT_PREFIX}/share/tools"
|
97
|
+
FILES "${_IMPORT_PREFIX}/share/tools/halide_benchmark.h" "${_IMPORT_PREFIX}/share/tools/halide_image.h" "${_IMPORT_PREFIX}/share/tools/halide_image_info.h" "${_IMPORT_PREFIX}/share/tools/halide_malloc_trace.h" "${_IMPORT_PREFIX}/share/tools/halide_trace_config.h"
|
98
|
+
)
|
99
|
+
else()
|
100
|
+
set_property(TARGET Halide::Tools
|
101
|
+
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
102
|
+
"${_IMPORT_PREFIX}/share/tools"
|
103
|
+
)
|
104
|
+
endif()
|
105
|
+
|
106
|
+
# Create imported target Halide::ImageIO
|
107
|
+
add_library(Halide::ImageIO INTERFACE IMPORTED)
|
108
|
+
|
109
|
+
set_target_properties(Halide::ImageIO PROPERTIES
|
110
|
+
INTERFACE_COMPILE_DEFINITIONS "\$<\$<NOT:\$<TARGET_EXISTS:PNG::PNG>>:HALIDE_NO_PNG>;\$<\$<NOT:\$<TARGET_EXISTS:JPEG::JPEG>>:HALIDE_NO_JPEG>"
|
111
|
+
INTERFACE_LINK_LIBRARIES "Halide::Runtime;\$<TARGET_NAME_IF_EXISTS:PNG::PNG>;\$<TARGET_NAME_IF_EXISTS:JPEG::JPEG>"
|
112
|
+
)
|
113
|
+
|
114
|
+
if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
|
115
|
+
target_sources(Halide::ImageIO
|
116
|
+
INTERFACE
|
117
|
+
FILE_SET "HEADERS"
|
118
|
+
TYPE "HEADERS"
|
119
|
+
BASE_DIRS "${_IMPORT_PREFIX}/share/tools"
|
120
|
+
FILES "${_IMPORT_PREFIX}/share/tools/halide_image_io.h"
|
121
|
+
)
|
122
|
+
else()
|
123
|
+
set_property(TARGET Halide::ImageIO
|
124
|
+
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
125
|
+
"${_IMPORT_PREFIX}/share/tools"
|
126
|
+
)
|
127
|
+
endif()
|
128
|
+
|
129
|
+
# Create imported target Halide::RunGenMain
|
130
|
+
add_library(Halide::RunGenMain INTERFACE IMPORTED)
|
131
|
+
|
132
|
+
set_target_properties(Halide::RunGenMain PROPERTIES
|
133
|
+
INTERFACE_LINK_LIBRARIES "Halide::Runtime;Halide::ImageIO;Halide::Tools"
|
134
|
+
INTERFACE_SOURCES "${_IMPORT_PREFIX}/share/tools/RunGenMain.cpp"
|
135
|
+
)
|
136
|
+
|
137
|
+
if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
|
138
|
+
target_sources(Halide::RunGenMain
|
139
|
+
INTERFACE
|
140
|
+
FILE_SET "HEADERS"
|
141
|
+
TYPE "HEADERS"
|
142
|
+
BASE_DIRS "${_IMPORT_PREFIX}/share/tools"
|
143
|
+
FILES "${_IMPORT_PREFIX}/share/tools/RunGen.h"
|
144
|
+
)
|
145
|
+
else()
|
146
|
+
set_property(TARGET Halide::RunGenMain
|
147
|
+
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
148
|
+
"${_IMPORT_PREFIX}/share/tools"
|
149
|
+
)
|
150
|
+
endif()
|
151
|
+
|
152
|
+
# Create imported target Halide::ThreadPool
|
153
|
+
add_library(Halide::ThreadPool INTERFACE IMPORTED)
|
154
|
+
|
155
|
+
set_target_properties(Halide::ThreadPool PROPERTIES
|
156
|
+
INTERFACE_LINK_LIBRARIES "Threads::Threads"
|
157
|
+
)
|
158
|
+
|
159
|
+
if(NOT CMAKE_VERSION VERSION_LESS "3.23.0")
|
160
|
+
target_sources(Halide::ThreadPool
|
161
|
+
INTERFACE
|
162
|
+
FILE_SET "HEADERS"
|
163
|
+
TYPE "HEADERS"
|
164
|
+
BASE_DIRS "${_IMPORT_PREFIX}/share/tools"
|
165
|
+
FILES "${_IMPORT_PREFIX}/share/tools/halide_thread_pool.h"
|
166
|
+
)
|
167
|
+
else()
|
168
|
+
set_property(TARGET Halide::ThreadPool
|
169
|
+
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
170
|
+
"${_IMPORT_PREFIX}/share/tools"
|
171
|
+
)
|
172
|
+
endif()
|
173
|
+
|
174
|
+
# Create imported target Halide::GenRT
|
175
|
+
add_executable(Halide::GenRT IMPORTED)
|
176
|
+
|
177
|
+
# Create imported target Halide::adams2019_retrain_cost_model
|
178
|
+
add_executable(Halide::adams2019_retrain_cost_model IMPORTED)
|
179
|
+
|
180
|
+
# Create imported target Halide::adams2019_weightsdir_to_weightsfile
|
181
|
+
add_executable(Halide::adams2019_weightsdir_to_weightsfile IMPORTED)
|
182
|
+
|
183
|
+
# Create imported target Halide::anderson2021_retrain_cost_model
|
184
|
+
add_executable(Halide::anderson2021_retrain_cost_model IMPORTED)
|
185
|
+
|
186
|
+
# Create imported target Halide::anderson2021_weightsdir_to_weightsfile
|
187
|
+
add_executable(Halide::anderson2021_weightsdir_to_weightsfile IMPORTED)
|
188
|
+
|
189
|
+
# Create imported target Halide::featurization_to_sample
|
190
|
+
add_executable(Halide::featurization_to_sample IMPORTED)
|
191
|
+
|
192
|
+
# Create imported target Halide::get_host_target
|
193
|
+
add_executable(Halide::get_host_target IMPORTED)
|
194
|
+
|
195
|
+
if(CMAKE_VERSION VERSION_LESS 3.1.0)
|
196
|
+
message(FATAL_ERROR "This file relies on consumers using CMake 3.1.0 or greater.")
|
197
|
+
endif()
|
198
|
+
|
199
|
+
# Load information for each installed configuration.
|
200
|
+
file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/Halide-Interfaces-*.cmake")
|
201
|
+
foreach(_cmake_config_file IN LISTS _cmake_config_files)
|
202
|
+
include("${_cmake_config_file}")
|
203
|
+
endforeach()
|
204
|
+
unset(_cmake_config_file)
|
205
|
+
unset(_cmake_config_files)
|
206
|
+
|
207
|
+
# Cleanup temporary variables.
|
208
|
+
set(_IMPORT_PREFIX)
|
209
|
+
|
210
|
+
# Loop over all imported files and verify that they actually exist
|
211
|
+
foreach(_cmake_target IN LISTS _cmake_import_check_targets)
|
212
|
+
foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
|
213
|
+
if(NOT EXISTS "${_cmake_file}")
|
214
|
+
message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
|
215
|
+
\"${_cmake_file}\"
|
216
|
+
but this file does not exist. Possible reasons include:
|
217
|
+
* The file was deleted, renamed, or moved to another location.
|
218
|
+
* An install or uninstall procedure did not complete successfully.
|
219
|
+
* The installation package was faulty and contained
|
220
|
+
\"${CMAKE_CURRENT_LIST_FILE}\"
|
221
|
+
but not all the files it references.
|
222
|
+
")
|
223
|
+
endif()
|
224
|
+
endforeach()
|
225
|
+
unset(_cmake_file)
|
226
|
+
unset("_cmake_import_check_files_for_${_cmake_target}")
|
227
|
+
endforeach()
|
228
|
+
unset(_cmake_target)
|
229
|
+
unset(_cmake_import_check_targets)
|
230
|
+
|
231
|
+
# This file does not depend on other imported targets which have
|
232
|
+
# been exported from the same project but in a separate export set.
|
233
|
+
|
234
|
+
# Commands beyond this point should not need to know the version.
|
235
|
+
set(CMAKE_IMPORT_FILE_VERSION)
|
236
|
+
cmake_policy(POP)
|