-
Notifications
You must be signed in to change notification settings - Fork 5
/
libigdrcl_lib_release.bp
258 lines (243 loc) · 10.7 KB
/
libigdrcl_lib_release.bp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
cc_library_static {
name: "libigdrcl_lib_release",
vendor: true,
defaults: [
"compute-runtime-defaults",
],
srcs: [
"opencl/source/accelerators/intel_accelerator.cpp",
"opencl/source/accelerators/intel_motion_estimation.cpp",
"opencl/source/api/additional_extensions.cpp",
"opencl/source/api/api.cpp",
"opencl/source/api/dispatch.cpp",
"opencl/source/built_ins/builtins_dispatch_builder.cpp",
"opencl/source/built_ins/vme_builtin.cpp",
"opencl/source/cl_device/cl_device.cpp",
"opencl/source/cl_device/cl_device_caps.cpp",
"opencl/source/cl_device/cl_device_info.cpp",
"opencl/source/cl_device/cl_device_info_extra.cpp",
"opencl/source/command_queue/cl_local_work_size.cpp",
"opencl/source/command_queue/command_queue.cpp",
"opencl/source/command_queue/cpu_data_transfer_handler.cpp",
"opencl/source/command_queue/csr_selection_args.cpp",
"opencl/source/command_queue/resource_barrier.cpp",
"opencl/source/context/context.cpp",
"opencl/source/context/driver_diagnostics.cpp",
"opencl/source/context/pool_buffer_additional_checks.cpp",
"opencl/source/event/async_events_handler.cpp",
"opencl/source/event/event.cpp",
"opencl/source/event/event_builder.cpp",
"opencl/source/event/event_tracker.cpp",
"opencl/source/event/user_event.cpp",
"opencl/source/execution_environment/cl_execution_environment.cpp",
"opencl/source/gtpin/gtpin_callbacks.cpp",
"opencl/source/gtpin/gtpin_helpers.cpp",
"opencl/source/gtpin/gtpin_gfx_core_helper.cpp",
"opencl/source/gtpin/gtpin_init.cpp",
"opencl/source/helpers/base_object.cpp",
"opencl/source/helpers/cl_gfx_core_helper.cpp",
"opencl/source/helpers/cl_memory_properties_helpers.cpp",
"opencl/source/helpers/cl_preemption_helper.cpp",
"opencl/source/helpers/cl_validators.cpp",
"opencl/source/helpers/dispatch_info.cpp",
"opencl/source/helpers/gmm_types_converter.cpp",
"opencl/source/helpers/helper_options.cpp",
"opencl/source/helpers/implicit_scaling_ocl.cpp",
"opencl/source/helpers/mipmap.cpp",
"opencl/source/helpers/properties_helper.cpp",
"opencl/source/helpers/surface_formats.cpp",
"opencl/source/helpers/task_information.cpp",
"opencl/source/kernel/image_transformer.cpp",
"opencl/source/kernel/kernel.cpp",
"opencl/source/kernel/multi_device_kernel.cpp",
"opencl/source/mem_obj/buffer.cpp",
"opencl/source/mem_obj/image.cpp",
"opencl/source/mem_obj/map_operations_handler.cpp",
"opencl/source/mem_obj/mem_obj.cpp",
"opencl/source/mem_obj/mem_obj_helper.cpp",
"opencl/source/mem_obj/pipe.cpp",
"opencl/source/mem_obj/definitions/buffer_ext.cpp",
"opencl/source/mem_obj/buffer_linux.cpp",
"opencl/source/mem_obj/image_linux.cpp",
"opencl/source/memory_manager/compression_selector_ocl.cpp",
"opencl/source/memory_manager/cpu_page_fault_manager_memory_sync.cpp",
"opencl/source/memory_manager/mem_obj_surface.cpp",
"opencl/source/memory_manager/migration_controller.cpp",
"opencl/source/os_interface/linux/api_linux.cpp",
"opencl/source/os_interface/linux/device_caps_init_linux.cpp",
"opencl/source/os_interface/linux/ocl_reg_path.cpp",
"opencl/source/platform/platform.cpp",
"opencl/source/program/build.cpp",
"opencl/source/program/compile.cpp",
"opencl/source/program/create.cpp",
"opencl/source/program/get_info.cpp",
"opencl/source/program/link.cpp",
"opencl/source/program/printf_handler.cpp",
"opencl/source/program/process_device_binary.cpp",
"opencl/source/program/process_intermediate_binary.cpp",
"opencl/source/program/program.cpp",
"opencl/source/sampler/sampler.cpp",
"opencl/source/sharings/sharing.cpp",
"opencl/source/sharings/sharing_factory.cpp",
"opencl/source/sharings/gl/cl_gl_api.cpp",
"opencl/source/sharings/gl/gl_cl_image_format.cpp",
"opencl/source/sharings/gl/gl_sharing.cpp",
"opencl/source/sharings/gl/linux/cl_gl_api_helper.cpp",
"opencl/source/sharings/gl/linux/gl_arb_sync_event_linux.cpp",
"opencl/source/sharings/gl/linux/gl_buffer_linux.cpp",
"opencl/source/sharings/gl/linux/gl_context_guard_linux.cpp",
"opencl/source/sharings/gl/linux/gl_sharing_linux.cpp",
"opencl/source/sharings/gl/linux/gl_sync_event_linux.cpp",
"opencl/source/sharings/gl/linux/gl_texture_linux.cpp",
"opencl/source/sharings/unified/unified_buffer.cpp",
"opencl/source/sharings/unified/unified_image.cpp",
"opencl/source/sharings/unified/unified_sharing.cpp",
"opencl/source/sharings/unified/linux/unified_image_linux.cpp",
"opencl/source/sharings/va/va_device.cpp",
"opencl/source/sharings/va/va_device_shared.cpp",
"opencl/source/sharings/va/va_extension.cpp",
"opencl/source/sharings/va/cl_va_api.cpp",
"opencl/source/sharings/va/va_sharing.cpp",
"opencl/source/sharings/va/va_sharing_functions.cpp",
"opencl/source/sharings/va/va_surface.cpp",
"opencl/source/tracing/tracing_api.cpp",
"opencl/source/utilities/cl_logger.cpp",
"opencl/source/gen12lp/buffer_gen12lp.cpp",
"opencl/source/gen12lp/cl_gfx_core_helper_gen12lp.cpp",
"opencl/source/gen12lp/command_queue_gen12lp.cpp",
"opencl/source/gen12lp/gpgpu_walker_gen12lp.cpp",
"opencl/source/gen12lp/hardware_commands_helper_gen12lp.cpp",
"opencl/source/gen12lp/image_gen12lp.cpp",
"opencl/source/gen12lp/sampler_gen12lp.cpp",
"opencl/source/xe_hpg_core/buffer_xe_hpg_core.cpp",
"opencl/source/xe_hpg_core/cl_gfx_core_helper_xe_hpg_core.cpp",
"opencl/source/xe_hpg_core/command_queue_xe_hpg_core.cpp",
"opencl/source/xe_hpg_core/gpgpu_walker_xe_hpg_core.cpp",
"opencl/source/xe_hpg_core/hardware_commands_helper_xe_hpg_core.cpp",
"opencl/source/xe_hpg_core/image_xe_hpg_core.cpp",
"opencl/source/xe_hpg_core/sampler_xe_hpg_core.cpp",
"opencl/source/xe_hpc_core/buffer_xe_hpc_core.cpp",
"opencl/source/xe_hpc_core/cl_gfx_core_helper_xe_hpc_core.cpp",
"opencl/source/xe_hpc_core/command_queue_xe_hpc_core.cpp",
"opencl/source/xe_hpc_core/gpgpu_walker_xe_hpc_core.cpp",
"opencl/source/xe_hpc_core/hardware_commands_helper_xe_hpc_core.cpp",
"opencl/source/xe_hpc_core/image_xe_hpc_core.cpp",
"opencl/source/xe_hpc_core/sampler_xe_hpc_core.cpp",
"opencl/source/xe2_hpg_core/buffer_xe2_hpg_core.cpp",
"opencl/source/xe2_hpg_core/cl_gfx_core_helper_xe2_hpg_core.cpp",
"opencl/source/xe2_hpg_core/command_queue_xe2_hpg_core.cpp",
"opencl/source/xe2_hpg_core/gpgpu_walker_xe2_hpg_core.cpp",
"opencl/source/xe2_hpg_core/hardware_commands_helper_xe2_hpg_core.cpp",
"opencl/source/xe2_hpg_core/image_xe2_hpg_core.cpp",
"opencl/source/xe2_hpg_core/sampler_xe2_hpg_core.cpp",
],
cflags: [
],
cppflags: [
"-flto=auto",
"-fno-fat-lto-objects",
"-ftemplate-depth=1024",
"-mclflushopt",
"-mwaitpkg",
"-Wall",
"-Wempty-body",
"-Wignored-qualifiers",
"-Wtype-limits",
"-Wuninitialized",
"-Wextra",
"-Wno-unused-parameter",
"-Wno-missing-field-initializers",
"-Winvalid-pch",
"-Wno-unknown-pragmas",
"-Wno-unused-local-typedefs",
"-Werror=vla",
"-O2",
"-D_FORTIFY_SOURCE=2",
"-fstack-protector-strong",
"-Wformat",
"-Wformat-security",
"-O3",
"-DNDEBUG",
"-std=gnu++17",
"-fPIC",
"-DCIF_HEADERS_ONLY_BUILD",
"-DCL_TARGET_OPENCL_VERSION=300",
"-DCL_USE_DEPRECATED_OPENCL_1_1_APIS",
"-DCL_USE_DEPRECATED_OPENCL_1_2_APIS",
"-DCL_USE_DEPRECATED_OPENCL_2_0_APIS",
"-DCL_USE_DEPRECATED_OPENCL_2_1_APIS",
"-DCL_USE_DEPRECATED_OPENCL_2_2_APIS",
"-DDEFAULT_PLATFORM=PVC",
"-DGL_TARGET_OPENGL_VERSION=210",
"-DGMM_LIB_DLL",
"-DGMM_OCL",
"-DLIBVA",
"-DMOCKABLE_VIRTUAL=",
"-DPURGE_DEBUG_KEY_NAMES=0",
"-DSUPPORTS_CLFLUSHOPT",
"-DSUPPORTS_WAITPKG",
"-DSUPPORT_ADLN",
"-DSUPPORT_ADLP",
"-DSUPPORT_ADLS",
"-DSUPPORT_ARL",
"-DSUPPORT_BMG",
"-DSUPPORT_DG1",
"-DSUPPORT_DG2",
"-DSUPPORT_GEN12LP",
"-DSUPPORT_LNL",
"-DSUPPORT_MTL",
"-DSUPPORT_PVC",
"-DSUPPORT_RKL",
"-DSUPPORT_TGLLP",
"-DSUPPORT_XE2_HPG_CORE",
"-DSUPPORT_XE_HPC_CORE",
"-DSUPPORT_XE_HPG_CORE",
"-D__packed=",
"-D__user=",
],
local_include_dirs: [
"shared/source/debugger/linux",
"third_party/metrics_library",
"third_party/metrics_discovery",
"shared/source/aub_mem_dump/definitions",
"shared/source/built_ins/builtinops",
"shared/source/command_container/definitions",
"shared/source/command_stream/definitions",
"shared/source/debug_settings/definitions",
"shared/source/dll/devices",
"shared/source/kernel/definitions",
"shared/source/gen_common",
"third_party/uapi/upstream/drm",
"third_party/uapi/upstream/i915",
"third_party/uapi/upstream/xe",
"third_party/uapi/drm-uapi-helper",
"shared/source/gmm_helper/windows/gmm_memory",
"shared/source/helpers/definitions",
"shared/source/memory_properties",
"shared/source/release_helper/definitions",
"shared/source/sku_info/definitions",
"shared/source/gen12lp/definitions",
"opencl/source/gen12lp/definitions",
"shared/source/xe_hpg_core/definitions",
"shared/source/xe_hpg_core/dg2/definitions",
"shared/source/xe_hpg_core/arl/definitions",
"shared/source/xe2_hpg_core/definitions",
"shared/source/xe2_hpg_core/bmg/definitions",
"shared/source/ail/xe2_hpg_core/bmg/definitions",
"shared/source/xe2_hpg_core/lnl/definitions",
"shared/source/ail/xe2_hpg_core/lnl/definitions",
"opencl/source/mem_obj/definitions",
"opencl/source/sharings/gl/linux/include",
"third_party/aub_stream",
"third_party/opencl_headers",
"third_party/opengl_headers",
"shared/source/os_interface/linux",
"opencl/source/os_interface/linux",
],
shared_libs: [
],
header_libs: [
],
static_libs: [
],
}