intel-opencl-rt 2025.0.0__py2.py3-none-manylinux_2_28_x86_64.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.

Potentially problematic release.


This version of intel-opencl-rt might be problematic. Click here for more details.

Files changed (41) hide show
  1. intel_opencl_rt-2025.0.0.data/data/bin/.intel-opencl-rt-post-link.sh +36 -0
  2. intel_opencl_rt-2025.0.0.data/data/etc/OpenCL/vendors/intel-cpu.icd +1 -0
  3. intel_opencl_rt-2025.0.0.data/data/etc/OpenCL/vendors/intel-fpga_emu.icd +1 -0
  4. intel_opencl_rt-2025.0.0.data/data/etc/compiler/compiler_rt_vars.sh +263 -0
  5. intel_opencl_rt-2025.0.0.data/data/etc/conda/activate.d/activate-opencl-rt.sh +14 -0
  6. intel_opencl_rt-2025.0.0.data/data/etc/conda/deactivate.d/deactivate-opencl-rt.sh +17 -0
  7. intel_opencl_rt-2025.0.0.data/data/lib/cl.cfg +195 -0
  8. intel_opencl_rt-2025.0.0.data/data/lib/clang/19/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a +0 -0
  9. intel_opencl_rt-2025.0.0.data/data/lib/clbltfne9.rtl +0 -0
  10. intel_opencl_rt-2025.0.0.data/data/lib/clbltfnh8.rtl +0 -0
  11. intel_opencl_rt-2025.0.0.data/data/lib/clbltfnl9.rtl +0 -0
  12. intel_opencl_rt-2025.0.0.data/data/lib/clbltfnshared.rtl +0 -0
  13. intel_opencl_rt-2025.0.0.data/data/lib/clbltfnz0.rtl +0 -0
  14. intel_opencl_rt-2025.0.0.data/data/lib/clbltfnz1.rtl +0 -0
  15. intel_opencl_rt-2025.0.0.data/data/lib/cllibrary.rtl +0 -0
  16. intel_opencl_rt-2025.0.0.data/data/lib/cllibrarye9.o +0 -0
  17. intel_opencl_rt-2025.0.0.data/data/lib/cllibraryh8.o +0 -0
  18. intel_opencl_rt-2025.0.0.data/data/lib/cllibraryl9.o +0 -0
  19. intel_opencl_rt-2025.0.0.data/data/lib/cllibraryz0.o +0 -0
  20. intel_opencl_rt-2025.0.0.data/data/lib/cllibraryz1.o +0 -0
  21. intel_opencl_rt-2025.0.0.data/data/lib/libOpenCL.so +0 -0
  22. intel_opencl_rt-2025.0.0.data/data/lib/libOpenCL.so.1 +0 -0
  23. intel_opencl_rt-2025.0.0.data/data/lib/libOpenCL.so.1.2 +0 -0
  24. intel_opencl_rt-2025.0.0.data/data/lib/libcommon_clang.so +0 -0
  25. intel_opencl_rt-2025.0.0.data/data/lib/libcommon_clang.so.2024.18.10.0 +0 -0
  26. intel_opencl_rt-2025.0.0.data/data/lib/libintelocl.so +0 -0
  27. intel_opencl_rt-2025.0.0.data/data/lib/libintelocl.so-gdb.py +124 -0
  28. intel_opencl_rt-2025.0.0.data/data/lib/libintelocl.so.2024.18.10.0 +0 -0
  29. intel_opencl_rt-2025.0.0.data/data/lib/libocl_svml_e9.so +0 -0
  30. intel_opencl_rt-2025.0.0.data/data/lib/libocl_svml_h8.so +0 -0
  31. intel_opencl_rt-2025.0.0.data/data/lib/libocl_svml_l9.so +0 -0
  32. intel_opencl_rt-2025.0.0.data/data/lib/libocl_svml_z0.so +0 -0
  33. intel_opencl_rt-2025.0.0.data/data/lib/libocl_svml_z1.so +0 -0
  34. intel_opencl_rt-2025.0.0.data/data/share/doc/opencl/licensing/EULA.txt +122 -0
  35. intel_opencl_rt-2025.0.0.data/data/share/doc/opencl/licensing/TBB_TPP.txt +325 -0
  36. intel_opencl_rt-2025.0.0.data/data/share/doc/opencl/licensing/third-party-programs.txt +497 -0
  37. intel_opencl_rt-2025.0.0.dist-info/LICENSE.txt +122 -0
  38. intel_opencl_rt-2025.0.0.dist-info/METADATA +24 -0
  39. intel_opencl_rt-2025.0.0.dist-info/RECORD +41 -0
  40. intel_opencl_rt-2025.0.0.dist-info/WHEEL +6 -0
  41. intel_opencl_rt-2025.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,36 @@
1
+ #!/bin/bash
2
+ # ============================================================================
3
+ # Copyright 2023 Intel Corporation All Rights Reserved.
4
+ #
5
+ # The source code, information and material ("Material") contained herein is
6
+ # owned by Intel Corporation or its suppliers or licensors, and title to such
7
+ # Material remains with Intel Corporation or its suppliers or licensors. The
8
+ # Material contains proprietary information of Intel or its suppliers and
9
+ # licensors. The Material is protected by worldwide copyright laws and treaty
10
+ # provisions. No part of the Material may be used, copied, reproduced,
11
+ # modified, published, uploaded, posted, transmitted, distributed or
12
+ # disclosed in any way without Intel's prior express written permission. No
13
+ # license under any patent, copyright or other intellectual property rights
14
+ # in the Material is granted to or conferred upon you, either expressly, by
15
+ # implication, inducement, estoppel or otherwise. Any license under such
16
+ # intellectual property rights must be express and approved by Intel in
17
+ # writing.
18
+ #
19
+ # Unless otherwise agreed by Intel in writing, you may not remove or alter
20
+ # this notice or any other notice embedded in Materials by Intel or Intel's
21
+ # suppliers or licensors in any way.
22
+ # ============================================================================
23
+
24
+ loc=$PREFIX/etc/OpenCL/vendors
25
+
26
+ while read line; do
27
+ echo ${line//\/opt\/anaconda1anaconda2anaconda3/$PREFIX}
28
+ done < $loc/intel-cpu.icd > $loc/intel-cpu.icd_fixed
29
+
30
+ mv $loc/intel-cpu.icd_fixed $loc/intel-cpu.icd
31
+
32
+ while read line; do
33
+ echo ${line//\/opt\/anaconda1anaconda2anaconda3/$PREFIX}
34
+ done < $loc/intel-fpga_emu.icd > $loc/intel-fpga_emu.icd_fixed
35
+
36
+ mv $loc/intel-fpga_emu.icd_fixed $loc/intel-fpga_emu.icd
@@ -0,0 +1 @@
1
+ /opt/anaconda1anaconda2anaconda3/lib/libintelocl.so
@@ -0,0 +1 @@
1
+ /opt/anaconda1anaconda2anaconda3/lib/libintelocl_emu.so
@@ -0,0 +1,263 @@
1
+ #!/bin/sh
2
+ # shellcheck shell=sh
3
+
4
+ # Copyright Intel Corporation
5
+ # SPDX-License-Identifier: MIT
6
+ # https://opensource.org/licenses/MIT
7
+
8
+
9
+ # ############################################################################
10
+
11
+ # Copy and include at the top of your `env/vars.sh` script (don't forget to
12
+ # remove the test/example code at the end of this file). See the test/example
13
+ # code at the end of this file for more help.
14
+
15
+
16
+ # ############################################################################
17
+
18
+ # Get absolute path to this script.
19
+ # Uses `readlink` to remove links and `pwd -P` to turn into an absolute path.
20
+
21
+ # Usage:
22
+ # script_dir=$(get_script_path "$script_rel_path")
23
+ #
24
+ # Inputs:
25
+ # script/relative/pathname/scriptname
26
+ #
27
+ # Outputs:
28
+ # /script/absolute/pathname
29
+
30
+ # executing function in a *subshell* to localize vars and effects on `cd`
31
+ get_script_path() (
32
+ script="$1"
33
+ while [ -L "$script" ] ; do
34
+ # combining next two lines fails in zsh shell
35
+ script_dir=$(command dirname -- "$script")
36
+ script_dir=$(cd "$script_dir" && command pwd -P)
37
+ script="$(readlink "$script")"
38
+ case $script in
39
+ (/*) ;;
40
+ (*) script="$script_dir/$script" ;;
41
+ esac
42
+ done
43
+ # combining next two lines fails in zsh shell
44
+ script_dir=$(command dirname -- "$script")
45
+ script_dir=$(cd "$script_dir" && command pwd -P)
46
+ printf "%s" "$script_dir"
47
+ )
48
+
49
+
50
+ # ############################################################################
51
+
52
+ # Determine if we are being executed or sourced. Need to detect being sourced
53
+ # within an executed script, which can happen on a CI system. We also must
54
+ # detect being sourced at a shell prompt (CLI). The setvars.sh script will
55
+ # always source this script, but this script can also be called directly.
56
+
57
+ # We are assuming we know the name of this script, which is a reasonable
58
+ # assumption. This script _must_ be named "vars.sh" or it will not work
59
+ # with the top-level setvars.sh script. Making this assumption simplifies
60
+ # the process of detecting if the script has been sourced or executed. It
61
+ # also simplifies the process of detecting the location of this script.
62
+
63
+ # Using `readlink` to remove possible symlinks in the name of the script.
64
+ # Also, "ps -o comm=" is limited to a 15 character result, but it works
65
+ # fine here, because we are only looking for the name of this script or the
66
+ # name of the execution shell, both always fit into fifteen characters.
67
+
68
+ # TODO: Edge cases exist when executed by way of "/bin/sh setvars.sh"
69
+ # Most shells detect or fall thru to error message, sometimes ksh does not.
70
+ # This is an odd and unusual situation; not a high priority issue.
71
+
72
+ _vars_get_proc_name() {
73
+ if [ -n "${ZSH_VERSION:-}" ] ; then
74
+ script="$(ps -p "$$" -o comm=)"
75
+ else
76
+ script="$1"
77
+ while [ -L "$script" ] ; do
78
+ script="$(readlink "$script")"
79
+ done
80
+ fi
81
+ basename -- "$script"
82
+ }
83
+
84
+ _vars_this_script_name="vars.sh"
85
+ if [ "$_vars_this_script_name" = "$(_vars_get_proc_name "$0")" ] ; then
86
+ echo " ERROR: Incorrect usage: this script must be sourced."
87
+ echo " Usage: . path/to/${_vars_this_script_name}"
88
+ return 255 2>/dev/null || exit 255
89
+ fi
90
+
91
+
92
+ # ############################################################################
93
+
94
+ # Prepend path segment(s) to path-like env vars (PATH, CPATH, etc.).
95
+
96
+ # prepend_path() avoids dangling ":" that affects some env vars (PATH and CPATH)
97
+ # prepend_manpath() includes dangling ":" needed by MANPATH.
98
+ # PATH > https://www.gnu.org/software/libc/manual/html_node/Standard-Environment.html
99
+ # MANPATH > https://manpages.debian.org/stretch/man-db/manpath.1.en.html
100
+
101
+ # Usage:
102
+ # env_var=$(prepend_path "$prepend_to_var" "$existing_env_var")
103
+ # export env_var
104
+ #
105
+ # env_var=$(prepend_manpath "$prepend_to_var" "$existing_env_var")
106
+ # export env_var
107
+ #
108
+ # Inputs:
109
+ # $1 == path segment to be prepended to $2
110
+ # $2 == value of existing path-like environment variable
111
+
112
+ prepend_path() (
113
+ path_to_add="$1"
114
+ path_is_now="$2"
115
+
116
+ if [ "" = "${path_is_now}" ] ; then # avoid dangling ":"
117
+ printf "%s" "${path_to_add}"
118
+ else
119
+ printf "%s" "${path_to_add}:${path_is_now}"
120
+ fi
121
+ )
122
+
123
+ prepend_manpath() (
124
+ path_to_add="$1"
125
+ path_is_now="$2"
126
+
127
+ if [ "" = "${path_is_now}" ] ; then # include dangling ":"
128
+ printf "%s" "${path_to_add}:"
129
+ else
130
+ printf "%s" "${path_to_add}:${path_is_now}"
131
+ fi
132
+ )
133
+
134
+
135
+ # ############################################################################
136
+
137
+ # Extract the name and location of this sourced script.
138
+
139
+ # Generally, "ps -o comm=" is limited to a 15 character result, but it works
140
+ # fine for this usage, because we are primarily interested in finding the name
141
+ # of the execution shell, not the name of any calling script.
142
+
143
+ vars_script_name=""
144
+ vars_script_shell="$(ps -p "$$" -o comm=)"
145
+ # ${var:-} needed to pass "set -eu" checks
146
+ # see https://unix.stackexchange.com/a/381465/103967
147
+ # see https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02
148
+ if [ -n "${ZSH_VERSION:-}" ] && [ -n "${ZSH_EVAL_CONTEXT:-}" ] ; then # zsh 5.x and later
149
+ # shellcheck disable=2249
150
+ case $ZSH_EVAL_CONTEXT in (*:file*) vars_script_name="${(%):-%x}" ;; esac ;
151
+ elif [ -n "${KSH_VERSION:-}" ] ; then # ksh, mksh or lksh
152
+ if [ "$(set | grep -Fq "KSH_VERSION=.sh.version" ; echo $?)" -eq 0 ] ; then # ksh
153
+ vars_script_name="${.sh.file}" ;
154
+ else # mksh or lksh or [lm]ksh masquerading as ksh or sh
155
+ # force [lm]ksh to issue error msg; which contains this script's path/filename, e.g.:
156
+ # mksh: /home/ubuntu/intel/oneapi/vars.sh[137]: ${.sh.file}: bad substitution
157
+ vars_script_name="$( (echo "${.sh.file}") 2>&1 )" || : ;
158
+ vars_script_name="$(expr "${vars_script_name:-}" : '^.*sh: \(.*\)\[[0-9]*\]:')" ;
159
+ fi
160
+ elif [ -n "${BASH_VERSION:-}" ] ; then # bash
161
+ # shellcheck disable=2128
162
+ (return 0 2>/dev/null) && vars_script_name="${BASH_SOURCE}" ;
163
+ elif [ "dash" = "$vars_script_shell" ] ; then # dash
164
+ # force dash to issue error msg; which contains this script's rel/path/filename, e.g.:
165
+ # dash: 146: /home/ubuntu/intel/oneapi/vars.sh: Bad substitution
166
+ vars_script_name="$( (echo "${.sh.file}") 2>&1 )" || : ;
167
+ vars_script_name="$(expr "${vars_script_name:-}" : '^.*dash: [0-9]*: \(.*\):')" ;
168
+ elif [ "sh" = "$vars_script_shell" ] ; then # could be dash masquerading as /bin/sh
169
+ # force a shell error msg; which should contain this script's path/filename
170
+ # sample error msg shown; assume this file is named "vars.sh"; as required by setvars.sh
171
+ vars_script_name="$( (echo "${.sh.file}") 2>&1 )" || : ;
172
+ if [ "$(printf "%s" "$vars_script_name" | grep -Eq "sh: [0-9]+: .*vars\.sh: " ; echo $?)" -eq 0 ] ; then # dash as sh
173
+ # sh: 155: /home/ubuntu/intel/oneapi/vars.sh: Bad substitution
174
+ vars_script_name="$(expr "${vars_script_name:-}" : '^.*sh: [0-9]*: \(.*\):')" ;
175
+ fi
176
+ else # unrecognized shell or dash being sourced from within a user's script
177
+ # force a shell error msg; which should contain this script's path/filename
178
+ # sample error msg shown; assume this file is named "vars.sh"; as required by setvars.sh
179
+ vars_script_name="$( (echo "${.sh.file}") 2>&1 )" || : ;
180
+ if [ "$(printf "%s" "$vars_script_name" | grep -Eq "^.+: [0-9]+: .*vars\.sh: " ; echo $?)" -eq 0 ] ; then # dash
181
+ # .*: 164: intel/oneapi/vars.sh: Bad substitution
182
+ vars_script_name="$(expr "${vars_script_name:-}" : '^.*: [0-9]*: \(.*\):')" ;
183
+ else
184
+ vars_script_name="" ;
185
+ fi
186
+ fi
187
+
188
+ if [ "" = "$vars_script_name" ] ; then
189
+ >&2 echo " ERROR: Unable to proceed: possible causes listed below."
190
+ >&2 echo " This script must be sourced. Did you execute or source this script?" ;
191
+ >&2 echo " Unrecognized/unsupported shell (supported: bash, zsh, ksh, m/lksh, dash)." ;
192
+ >&2 echo " May fail in dash if you rename this script (assumes \"vars.sh\")." ;
193
+ >&2 echo " Can be caused by sourcing from ZSH version 4.x or older." ;
194
+ return 255 2>/dev/null || exit 255
195
+ fi
196
+
197
+
198
+ # ############################################################################
199
+
200
+ # For testing and simple demonstration.
201
+ # This is where you should put your component-specific env var settings.
202
+
203
+ my_script_path=$(get_script_path "${vars_script_name:-}")
204
+ component_root=$(dirname -- "${my_script_path}")
205
+
206
+ # Export required env vars for compiler package.
207
+ CMPLR_ROOT="${component_root}"; export CMPLR_ROOT
208
+
209
+ INTEL_TARGET_ARCH="intel64"
210
+ INTEL_TARGET_PLATFORM="linux"
211
+
212
+ while [ $# -gt 0 ]
213
+ do
214
+ case "$1" in
215
+ ia32)
216
+ INTEL_TARGET_ARCH="ia32"
217
+ shift
218
+ ;;
219
+ intel64)
220
+ INTEL_TARGET_ARCH="intel64"
221
+ shift
222
+ ;;
223
+ *)
224
+ shift
225
+ ;;
226
+ esac
227
+ done
228
+
229
+ # This environment variable to switch il0 compiler to support ia32 mode.
230
+ if [ ${INTEL_TARGET_ARCH} = "ia32" ]; then
231
+ export INTEL_TARGET_ARCH_IA32=ia32
232
+ else
233
+ unset INTEL_TARGET_ARCH_IA32
234
+ fi
235
+
236
+ # intel64 libraries also be needed in ia32 target
237
+ LD_LIBRARY_PATH=$(prepend_path "${CMPLR_ROOT}/${INTEL_TARGET_PLATFORM}/compiler/lib/intel64_lin" "${LD_LIBRARY_PATH:-}") ; export LD_LIBRARY_PATH
238
+ if [ ${INTEL_TARGET_ARCH} = "ia32" ]; then
239
+ LD_LIBRARY_PATH=$(prepend_path "${CMPLR_ROOT}/${INTEL_TARGET_PLATFORM}/compiler/lib/ia32_lin" "${LD_LIBRARY_PATH:-}") ; export LD_LIBRARY_PATH
240
+ fi
241
+
242
+ # OpenCL FPGA runtime
243
+ if [ -f "${CMPLR_ROOT}/${INTEL_TARGET_PLATFORM}/lib/oclfpga/fpgavars.sh" ]; then
244
+ FPGA_VARS_DIR="${CMPLR_ROOT}/${INTEL_TARGET_PLATFORM}/lib/oclfpga"; export FPGA_VARS_DIR
245
+ FPGA_VARS_ARGS="${SETVARS_ARGS:-}"; export FPGA_VARS_ARGS
246
+ # shellcheck source=/dev/null
247
+ . "${FPGA_VARS_DIR}/fpgavars.sh"
248
+ fi
249
+
250
+ # OpenMP offload and CPU LLVM libraries and headers (includes OpenCL CPU run-time)
251
+ LD_LIBRARY_PATH=$(prepend_path "${CMPLR_ROOT}/${INTEL_TARGET_PLATFORM}/lib:${CMPLR_ROOT}/${INTEL_TARGET_PLATFORM}/lib/x64:${CMPLR_ROOT}/${INTEL_TARGET_PLATFORM}/lib/emu" "${LD_LIBRARY_PATH:-}") ; export LD_LIBRARY_PATH
252
+
253
+ # adding OpenCL CPU ICD filename, OpenCL FPGA part should be prepend here, added in fpgavars.sh
254
+ if [ -z "${OCL_ICD_FILENAMES:-}" ]; then
255
+ OCL_ICD_FILENAMES="${CMPLR_ROOT}/${INTEL_TARGET_PLATFORM}/lib/x64/libintelocl.so"
256
+ else
257
+ OCL_ICD_FILENAMES="${OCL_ICD_FILENAMES}:${CMPLR_ROOT}/${INTEL_TARGET_PLATFORM}/lib/x64/libintelocl.so"
258
+ fi
259
+ export OCL_ICD_FILENAMES
260
+
261
+ MANPATH=$(prepend_manpath "${CMPLR_ROOT}/documentation/en/man/common" "${MANPATH:-}") ; export MANPATH
262
+
263
+ DIAGUTIL_PATH=$(prepend_path "${CMPLR_ROOT}/etc/compiler/sys_check/sys_check.sh" "${DIAGUTIL_PATH:-}") ; export DIAGUTIL_PATH
@@ -0,0 +1,14 @@
1
+ #!/bin/bash
2
+
3
+ if [ "${OCL_ICD_VENDORS:-}" = "" ] ; then
4
+ export OCL_ICD_VENDORS_RESET=1
5
+ else
6
+ export OCL_ICD_VENDORS_SAVED=${OCL_ICD_VENDORS}
7
+ fi
8
+ if [ "${OCL_ICD_FILENAMES:-}" = "" ] ; then
9
+ export OCL_ICD_FILENAMES_RESET=1
10
+ else
11
+ export OCL_ICD_FILENAMES_SAVED=${OCL_ICD_FILENAMES}
12
+ fi
13
+ export OCL_ICD_VENDORS=${CONDA_PREFIX}/etc/OpenCL/vendors
14
+ unset OCL_ICD_FILENAMES
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+
3
+ if [[ "${OCL_ICD_VENDORS_RESET:-}" = "1" ]] ; then
4
+ unset OCL_ICD_VENDORS_RESET
5
+ unset OCL_ICD_VENDORS
6
+ elif [ -n "$OCL_ICD_VENDORS_SAVED" ] ; then
7
+ export OCL_ICD_VENDORS=${OCL_ICD_VENDORS_SAVED}
8
+ unset OCL_ICD_VENDORS_SAVED
9
+ fi
10
+ if [[ "${OCL_ICD_FILENAMES_RESET:-}" = "1" ]] ; then
11
+ unset OCL_ICD_FILENAMES_RESET
12
+ unset OCL_ICD_FILENAMES
13
+ elif [ -n "$OCL_ICD_FILENAMES_SAVED" ] ; then
14
+ export OCL_ICD_FILENAMES=${OCL_ICD_FILENAMES_SAVED}
15
+ unset OCL_ICD_FILENAMES_SAVED
16
+ fi
17
+
@@ -0,0 +1,195 @@
1
+ # Copyright (c) 2010 Intel Corporation. All rights reserved.
2
+ #
3
+ # Redistribution and use in source and binary forms, with or without
4
+ # modification, are permitted provided that the following conditions are met:
5
+ #
6
+ # * Redistributions of source code must retain the above copyright notice,
7
+ # this list of conditions and the following disclaimer.
8
+ # * Redistributions in binary form must reproduce the above copyright
9
+ # notice, this list of conditions and the following disclaimer in the
10
+ # documentation and/or other materials provided with the distribution.
11
+ # * Neither the name of Intel Corporation nor the names of its contributors
12
+ # may be used to endorse or promote products derived from this software
13
+ # without specific prior written permission.
14
+ #
15
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16
+ # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17
+ # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
+ # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
19
+ # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20
+ # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21
+ # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
22
+ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
23
+ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24
+ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
+ #
26
+ # Intel Corporation is the author of the Materials, and requests that all
27
+ # problem reports or change requests be submitted to it directly.
28
+ #
29
+ # Intel(R) CPU Runtime for OpenCL(TM) Applications Configuration file
30
+ # =======================================================================
31
+ #
32
+ # Notes:
33
+ # -----------
34
+ # For size with units, accepted units are: "GB", "G", "MB", "M", "KB", "K", "B"
35
+ #
36
+ # Parameters:
37
+ # -----------
38
+ # CL_CONFIG_LOG_FILE [string] - set the full path of the log file
39
+ # CL_CONFIG_DEVICES [string1; string2, string3 | string4 ...] - list of available devices.
40
+ # First device is a default device.
41
+ #
42
+ # CL_CONFIG_DUMP_BIN [bool] -
43
+ # Control whether object binary of OpenCL program is dumped.
44
+ # Destination is the current directory.
45
+ # CL_CONFIG_DUMP_DISASSEMBLY [bool] -
46
+ # Control whether disassembled assembly of OpenCL program is dumped.
47
+ # Destination is the current directory.
48
+ #
49
+ # CL_CONFIG_USE_ITT_API [bool] - determine whether GPA/ITT traces collection is active or not
50
+ # CL_CONFIG_USE_VECTORIZER [bool] - determine whether auto-vectorization module is active or not
51
+ # CL_CONFIG_USE_VTUNE [bool] - determine whether VTune AmplifierXE instrumentation is active or not
52
+ # CL_CONFIG_USE_TRAPPING [bool] - determine whether CPU workers trapping is active or not
53
+ # CL_CONFIG_USE_FAST_RELAXED_MATH [bool] - determine whether build kernels with -cl-fast-relaxed-math option
54
+ #
55
+ # CL_CONFIG_CPU_FORCE_MAX_WORK_GROUP_SIZE [size] -
56
+ # examples: 16384, 131072, 67108864
57
+ # force CPU to work with specified maximum work-group size.
58
+ # Out of bounds values are clamped to [8192, 67108864].
59
+ #
60
+ # CL_CONFIG_CPU_FORCE_WORK_GROUP_SIZE [size or array of size] -
61
+ # examples: export CL_CONFIG_CPU_FORCE_WORK_GROUP_SIZE=128
62
+ # export CL_CONFIG_CPU_FORCE_WORK_GROUP_SIZE=128,1,1
63
+ # Force CPU to work with specified workgroup size. If this env is set,
64
+ # local_work_size of clEnqueueNDRangeKernel is ignored.
65
+ # NOTE: If array size is larger than work_dim of clEnqueueNDRangeKernel,
66
+ # only the first work_dim values of the array are used.
67
+ # If array size is smaller than work_dim, workgroup size of higher
68
+ # dim will be set to 1.
69
+ # clEnqueueNDRangeKernel returns CL_INVALID_WORK_GROUP_SIZE if
70
+ # * any of the first work_dim values is negative.
71
+ # * or any of the first work_dim values is larger than global_work_size.
72
+ # * or maximum of the first work_dim values is larger than query result of
73
+ # CL_DEVICE_MAX_WORK_GROUP_SIZE.
74
+ #
75
+ # CL_CONFIG_CPU_FORCE_GLOBAL_MEM_SIZE [size with units] -
76
+ # examples: 2GB, 512MB, 65536KB, 16777216B
77
+ # force CPU to work with specified global memory size, this will also affect max memory
78
+ # allocation size unless CL_CONFIG_CPU_FORCE_MAX_MEM_ALLOC_SIZE is used too
79
+ #
80
+ # CL_CONFIG_CPU_FORCE_MAX_MEM_ALLOC_SIZE [size with units] -
81
+ # examples: 2GB, 512MB, 65536KB, 16777216B
82
+ # force CPU to work with specified max memory allocation size.
83
+ #
84
+ # CL_CONFIG_CPU_FORCE_LOCAL_MEM_SIZE [size with units] -
85
+ # examples: 8MB, 256KB (default), 8388608B
86
+ # force CL_DEVICE_LOCAL_MEM_SIZE for CPU device to be the given value.
87
+ #
88
+ # CL_CONFIG_CPU_VECTORIZER_MODE [mode]
89
+ # Control vectorization mode of the CPU compiler. Applies only then CL_CONFIG_USE_VECTORIZER = True.
90
+ # 0: (default) Automonous vectorization. The compiler makes heuristic decisions whether to vectorize
91
+ # each kernel, and if so to what vector length.
92
+ # 1: No compiler vectorization. Explicit kernel vector data types are left intact.
93
+ # The same as if CL_CONFIG_USE_VECTORIZER = False.
94
+ # [4, 8, 16, 32, 64]: Disable heuristic and force vectorization to the specified length.
95
+ #
96
+ # NOTE: Some kernels do not support vectorization from functional aspect. Such kernels cannot be vectorized in any mode.
97
+ #
98
+ # CL_CONFIG_CPU_RT_LOOP_UNROLL_FACTOR [factor]
99
+ # Control loop unrolling of loops with non-constant trip count. Out of bounds values are clamped to [1, 16].
100
+ # examples: 1, 2, 3, 16
101
+ # 1: no RT unrolling (default)
102
+ # [2, 16]: unrolling factor
103
+ #
104
+ # CL_CONFIG_CPU_TBB_NUM_WORKERS [unsigned number] -
105
+ # Control the number of TBB workers/threads. Work-groups can be executed
106
+ # parallelly by CL_CONFIG_CPU_TBB_NUM_WORKERS threads.
107
+ # Out of bounds values are clamped to [1, MAX_NUM].
108
+ # cpu device: MAX_NUM is the number of logical CPU cores.
109
+ # Default value is MAX_NUM.
110
+ # fpga-emu device: MAX_NUM is 256. Default value is 32.
111
+ # NOTE: If CL_CONFIG_CPU_TBB_NUM_WORKERS is 1, work-groups are executed
112
+ # sequentially by a single thread.
113
+ #
114
+ # CL_CONFIG_CPU_TARGET_ARCH [cpu target arch] -
115
+ # examples: skx, core-avx2, corei7-avx, corei7
116
+ # force a SIMD instruction set used for OpenCL(TM) kernel compilation.
117
+ #
118
+ # CL_CONFIG_STACK_DEFAULT_SIZE
119
+ # examples: 4MB, 8MB (default), 16MB
120
+ # This value is the default stack size for kernel execution.
121
+ # If actual stack size is greater than this value, stack reallocation will occur.
122
+ #
123
+ # CL_CONFIG_STACK_EXTRA_SIZE
124
+ # examples: 512KB, 1MB (default), 2MB
125
+ # This value is the extra stack size for execution of builtin and third-party functions.
126
+ #
127
+ # CL_CONFIG_CPU_STREAMING_ALWAYS [bool] - determine whether Non-Temporal instructions are used or not
128
+ #
129
+ # CL_CONFIG_CPU_EXPENSIVE_MEM_OPT [unsigned number] -
130
+ # examples: 0 (default), 0x0001
131
+ # A bitmap indicating enabled expensive memory optimizations. These
132
+ # optimizations may lead to more JIT compilation time, but give some
133
+ # performance benefit.
134
+ # Available bits:
135
+ # 0: OpenCL address space alias analysis
136
+ #
137
+ # CL_CONFIG_ENABLE_PARALLEL_COPY [bool]
138
+ # True: (default) parallel copy/fill is enabled. Memory copy/fill in
139
+ # clEnqueueReadBuffer, clEnqueueWriteBuffer, clEnqueueCopyBuffer,
140
+ # clEnqueueSVMMemcpy, clEnqueueMemcpyINTEL, clEnqueueSVMMemFill,
141
+ # clEnqueueMemsetINTEL and clEnqueueMemFillINTEL is executed
142
+ # parallelly using internal kernels.
143
+ # False: parallel copy/fill is disabled.
144
+ #
145
+ # CL_CONFIG_TBB_VERSION [string] -
146
+ # Define the TBB version used by task executor.
147
+ # The full tbb library path is recorded in Windows registry key
148
+ # under the location with this version number. It should be updated
149
+ # when TBB library is uplifted to a new version.
150
+ #
151
+ # CL_CONFIG_TBB_DLL_PATH [string] -
152
+ # Define the TBB DLL PATH used by task executor.
153
+ # As a solution for Conda release channel. The tbb dll full path can be
154
+ # added by this field.
155
+ # It's only used on Windows.
156
+ #
157
+
158
+ #CL_CONFIG_LOG_FILE = C:\cl.log
159
+
160
+ #CL_CONFIG_USER_LOGGER = stderr
161
+
162
+ CL_CONFIG_DUMP_BIN = False
163
+ CL_CONFIG_DUMP_DISASSEMBLY = False
164
+
165
+ CL_CONFIG_USE_ITT_API = False
166
+ CL_CONFIG_USE_VECTORIZER = True
167
+ CL_CONFIG_USE_VTUNE = False
168
+ CL_CONFIG_USE_TRAPPING = False
169
+ CL_CONFIG_USE_FAST_RELAXED_MATH = False
170
+ CL_CONFIG_CPU_STREAMING_ALWAYS = False
171
+
172
+ CL_GPA_CONFIG_ENABLE_API_TRACING = False
173
+ CL_GPA_CONFIG_ENABLE_CONTEXT_TRACING = True
174
+
175
+ CL_GPA_CONFIG_SHOW_QUEUED_MARKER = True
176
+ CL_GPA_CONFIG_SHOW_SUBMITTED_MARKER = False
177
+ CL_GPA_CONFIG_SHOW_RUNNING_MARKER = False
178
+ CL_GPA_CONFIG_SHOW_COMPLETED_MARKER = True
179
+
180
+ #CL_CONFIG_STACK_DEFAULT_SIZE = 8MB
181
+ #CL_CONFIG_STACK_EXTRA_SIZE = 1MB
182
+
183
+ #CL_CONFIG_CPU_FORCE_GLOBAL_MEM_SIZE = 256MB
184
+ #CL_CONFIG_CPU_FORCE_LOCAL_MEM_SIZE = 256KB
185
+ #CL_CONFIG_CPU_FORCE_MAX_MEM_ALLOC_SIZE = 128MB
186
+ #CL_CONFIG_CPU_RT_LOOP_UNROLL_FACTOR = 1
187
+ #CL_CONFIG_CPU_TBB_NUM_WORKERS = 32
188
+ #CL_CONFIG_CPU_VECTORIZER_MODE = 0
189
+ #CL_CONFIG_CPU_EXPENSIVE_MEM_OPT = 0
190
+ #CL_CONFIG_ENABLE_PARALLEL_COPY = True
191
+ CL_CONFIG_TBB_VERSION = 2022.0.0
192
+
193
+ CL_CONFIG_DEVICES = cpu
194
+
195
+ CL_CONFIG_TBB_DLL_PATH =