pyomp 0.5.0__cp314-cp314t-macosx_11_0_arm64.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.
Files changed (52) hide show
  1. numba/openmp/__init__.py +106 -0
  2. numba/openmp/_version.py +34 -0
  3. numba/openmp/analysis.py +251 -0
  4. numba/openmp/compiler.py +402 -0
  5. numba/openmp/config.py +27 -0
  6. numba/openmp/decorators.py +27 -0
  7. numba/openmp/exceptions.py +26 -0
  8. numba/openmp/ir_utils.py +4 -0
  9. numba/openmp/libs/openmp/lib/libgomp.1.dylib +0 -0
  10. numba/openmp/libs/openmp/lib/libgomp.dylib +0 -0
  11. numba/openmp/libs/openmp/lib/libiomp5.dylib +0 -0
  12. numba/openmp/libs/openmp/lib/libomp.dylib +0 -0
  13. numba/openmp/libs/openmp/patches/14.0.6/0001-BACKPORT-Fix-for-CUDA-OpenMP-RTL.patch +39 -0
  14. numba/openmp/libs/openmp/patches/14.0.6/0002-Fix-missing-includes.patch +12 -0
  15. numba/openmp/libs/openmp/patches/14.0.6/0003-Link-static-LLVM-libs.patch +13 -0
  16. numba/openmp/libs/openmp/patches/15.0.7/0001-Fix-missing-includes.patch +14 -0
  17. numba/openmp/libs/openmp/patches/15.0.7/0002-Link-LLVM-statically.patch +101 -0
  18. numba/openmp/libs/openmp/patches/15.0.7/0003-Disable-opaque-pointers-DeviceRTL-bitcode.patch +12 -0
  19. numba/openmp/libs/openmp/patches/16.0.6/0001-Load-plugins-from-install-directory.patch +53 -0
  20. numba/openmp/libs/openmp/patches/16.0.6/0002-Link-LLVM-statically.patch +218 -0
  21. numba/openmp/libs/openmp/patches/20.1.8/0001-Enable-standalone-build.patch +13 -0
  22. numba/openmp/libs/openmp/patches/20.1.8/0002-Link-statically-LLVM.patch +24 -0
  23. numba/openmp/libs/openmp/patches/20.1.8/0003-Do-not-build-liboffload.patch +12 -0
  24. numba/openmp/libs/pass/CGIntrinsicsOpenMP.cpp +2939 -0
  25. numba/openmp/libs/pass/CGIntrinsicsOpenMP.h +606 -0
  26. numba/openmp/libs/pass/CMakeLists.txt +57 -0
  27. numba/openmp/libs/pass/DebugOpenMP.cpp +17 -0
  28. numba/openmp/libs/pass/DebugOpenMP.h +28 -0
  29. numba/openmp/libs/pass/IntrinsicsOpenMP.cpp +837 -0
  30. numba/openmp/libs/pass/IntrinsicsOpenMP.h +13 -0
  31. numba/openmp/libs/pass/IntrinsicsOpenMP_CAPI.h +23 -0
  32. numba/openmp/libs/pass/libIntrinsicsOpenMP.dylib +0 -0
  33. numba/openmp/link_utils.py +126 -0
  34. numba/openmp/llvm_pass.py +48 -0
  35. numba/openmp/llvmlite_extensions.py +75 -0
  36. numba/openmp/omp_context.py +242 -0
  37. numba/openmp/omp_grammar.py +696 -0
  38. numba/openmp/omp_ir.py +2105 -0
  39. numba/openmp/omp_lower.py +3125 -0
  40. numba/openmp/omp_runtime.py +107 -0
  41. numba/openmp/overloads.py +53 -0
  42. numba/openmp/parser.py +6 -0
  43. numba/openmp/tags.py +532 -0
  44. numba/openmp/tests/test_openmp.py +5056 -0
  45. pyomp-0.5.0.dist-info/METADATA +193 -0
  46. pyomp-0.5.0.dist-info/RECORD +52 -0
  47. pyomp-0.5.0.dist-info/WHEEL +6 -0
  48. pyomp-0.5.0.dist-info/licenses/LICENSE +25 -0
  49. pyomp-0.5.0.dist-info/licenses/LICENSE-OPENMP.txt +361 -0
  50. pyomp-0.5.0.dist-info/top_level.txt +3 -0
  51. pyomp.dylibs/libc++.1.0.dylib +0 -0
  52. pyomp.dylibs/libzstd.1.5.7.dylib +0 -0
@@ -0,0 +1,193 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyomp
3
+ Version: 0.5.0
4
+ Summary: Python OpenMP library based on Numba
5
+ Maintainer-email: Giorgis Georgakoudis <georgakoudis1@llnl.gov>
6
+ License-Expression: BSD-2-Clause
7
+ Project-URL: Homepage, https://github.com/Python-for-HPC/PyOMP
8
+ Project-URL: Issues, https://github.com/Python-for-HPC/PyOMP/issues
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Topic :: Software Development :: Compilers
14
+ Requires-Python: <3.15,>=3.10
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ License-File: LICENSE-OPENMP.txt
18
+ Requires-Dist: numba<0.64,>=0.62
19
+ Requires-Dist: lark
20
+ Requires-Dist: cffi
21
+ Requires-Dist: setuptools
22
+ Dynamic: license-file
23
+
24
+ [![Documentation Status](https://readthedocs.org/projects/pyomp/badge/?version=latest)](https://pyomp.readthedocs.io/en/latest/?badge=latest)
25
+ [![pypi](https://github.com/Python-for-HPC/PyOMP/actions/workflows/build-upload-wheels.yml/badge.svg?event=release)](https://github.com/Python-for-HPC/PyOMP/actions/workflows/build-upload-wheels.yml)
26
+ [![conda](https://github.com/Python-for-HPC/PyOMP/actions/workflows/build-upload-conda.yml/badge.svg?event=release)](https://github.com/Python-for-HPC/PyOMP/actions/workflows/build-upload-conda.yml)
27
+ [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/Python-for-HPC/binder/HEAD)
28
+
29
+ # PyOMP
30
+ OpenMP for Python CPU/GPU parallel programming, powered by Numba.
31
+
32
+ PyOMP provides a familiar interface for CPU/GPU programming using OpenMP
33
+ abstractions adapted for Python.
34
+ Besides effortless programmability, PyOMP generates fast code using Numba's JIT
35
+ compiler based on LLVM, which is competitive with equivalent C/C++ implementations.
36
+
37
+ PyOMP is developed and distributed as an *extension* to Numba, so it uses
38
+ Numba as a dependency.
39
+ It is currently tested with several Numba versions on the following
40
+ architecture and operating system combinations: linux-64 (x86_64), osx-arm64
41
+ (mac), and linux-arm64.
42
+ The [compatibility matrix](#compatibility-matrix) with Numba versions records
43
+ the possible combinations.
44
+
45
+ Installation is possible through `pip` or `conda`, detailed in the next section.
46
+
47
+ As PyOMP builds on top of the LLVM OpenMP infrastructure, it also inherits its
48
+ limitations: GPU support is only available on Linux.
49
+ Also, PyOMP currently supports only NVIDIA GPUs with AMD GPU support in development.
50
+
51
+ ## Installation
52
+
53
+ ### Pip
54
+ PyOMP is distributed through PyPI, installable using the following command:
55
+
56
+ ```bash
57
+ pip install pyomp
58
+ ```
59
+
60
+ ### Conda
61
+ PyOMP is also distributed through Conda, installable using the following command:
62
+
63
+ ```bash
64
+ conda install -c python-for-hpc -c conda-forge pyomp
65
+ ```
66
+
67
+ ### Compatibility matrix
68
+
69
+ | PyOMP | Numba |
70
+ | ----- | --------------- |
71
+ | 0.5.x | 0.62.x - 0.63.x |
72
+ | 0.4.x | 0.61.x |
73
+ | 0.3.x | 0.57.x - 0.60.x |
74
+
75
+ Besides a standard installation, we also provide the following options to
76
+ quickly try out PyOMP online or through a container.
77
+
78
+ ### Trying it out
79
+
80
+ #### Binder
81
+ You can try it out for free on a multi-core CPU in JupyterLab at the following link:
82
+
83
+ https://mybinder.org/v2/gh/Python-for-HPC/binder/HEAD
84
+
85
+ #### Docker
86
+
87
+ We also provide pre-built containers for arm64 and amd64 architectures with
88
+ PyOMP and Jupyter pre-installed.
89
+ The following show how to access the container through the terminal or using
90
+ Jupyter.
91
+
92
+ First pull the container
93
+ ```bash
94
+ docker pull ghcr.io/python-for-hpc/pyomp:latest
95
+ ```
96
+
97
+ To use the terminal, run a shell on the container
98
+ ```bash
99
+ docker run -it ghcr.io/python-for-hpc/pyomp:latest /bin/bash
100
+ ```
101
+
102
+ To use Jupyter, run without arguments and forward port 8888.
103
+ ```bash
104
+ docker run -it -p 8888:8888 ghcr.io/python-for-hpc/pyomp:latest
105
+ ```
106
+ Jupyter will start as a service on localhost with token authentication by default.
107
+ Grep the url with the token from the output and copy it to the browser.
108
+ ```bash
109
+ ...
110
+ [I 2024-09-15 17:24:47.912 ServerApp] http://127.0.0.1:8888/tree?token=<token>
111
+ ...
112
+ ```
113
+
114
+ ## Usage
115
+
116
+ From `numba.openmp` import the `@njit` decorator and the `openmp_context`.
117
+ Decorate with `njit` the function you want to parallelize with OpenMP and
118
+ describe parallelism in OpenMP directives using `with` contexts.
119
+ Enjoy the simplicity of OpenMP with Python syntax and parallel performance.
120
+
121
+ For a list of supported OpenMP directives and more detailed information, check
122
+ out the [Documentation](https://pyomp.readthedocs.io).
123
+
124
+ PyOMP supports both CPU and GPU programming.
125
+ For GPU programming, PyOMP implements OpenMP's `target` directive for offloading
126
+ and supports the `device` clause, with `device(0)` by convention offloading to a
127
+ GPU device.
128
+ It is also possible to use the host as a multi-core CPU target device (mainly
129
+ for testing purposes) by setting `device(1)`.
130
+
131
+ ### Example
132
+
133
+ This is an example of calculating $\pi$ with PyOMP with a `parallel for` loop
134
+ using CPU parallelism:
135
+
136
+ ```python
137
+ from numba.openmp import njit
138
+ from numba.openmp import openmp_context as openmp
139
+
140
+ @njit
141
+ def calc_pi(num_steps):
142
+ step = 1.0 / num_steps
143
+ red_sum = 0.0
144
+ with openmp("parallel for reduction(+:red_sum) schedule(static)"):
145
+ for j in range(num_steps):
146
+ x = ((j-1) - 0.5) * step
147
+ red_sum += 4.0 / (1.0 + x * x)
148
+
149
+ pi = step * red_sum
150
+ return pi
151
+
152
+ print("pi =", calc_pi(1000000))
153
+ ```
154
+
155
+ and this is the same example using GPU offloading:
156
+
157
+ ```python
158
+ from numba.openmp import njit
159
+ from numba.openmp import openmp_context as openmp
160
+ from numba.openmp import omp_get_thread_num
161
+
162
+
163
+ @njit
164
+ def calc_pi(num_steps):
165
+ step = 1.0 / num_steps
166
+ red_sum = 0.0
167
+ with openmp("target map(tofrom: red_sum)"):
168
+ with openmp("loop private(x) reduction(+:red_sum)"):
169
+ for i in range(num_steps):
170
+ x = (i + 0.5) * step
171
+ red_sum += 4.0 / (1.0 + x * x)
172
+
173
+ pi = step * red_sum
174
+ return pi
175
+
176
+
177
+ print("pi =", calc_pi(1000000))
178
+
179
+ ```
180
+
181
+ ## Support
182
+
183
+ We welcome any feedback, bug reports, or feature requests.
184
+ Please open an [Issue](https://github.com/Python-for-HPC/PyOMP/issues) or post
185
+ in [Discussions](https://github.com/Python-for-HPC/PyOMP/discussions).
186
+
187
+ ## License
188
+
189
+ PyOMP is licensed under the BSD-2-Clause license (see [LICENSE](LICENSE)).
190
+
191
+ The package includes the LLVM OpenMP runtime library, which is distributed under
192
+ the Apache License v2.0 with LLVM Exceptions. See
193
+ [LICENSE-OPENMP.txt](LICENSE-OPENMP.txt) for details.
@@ -0,0 +1,52 @@
1
+ pyomp-0.5.0.dist-info/RECORD,,
2
+ pyomp-0.5.0.dist-info/WHEEL,sha256=YT2IX0vudm19FRuUNiVF7uvyxU6hRiGOSKKqdtHOxTg,138
3
+ pyomp-0.5.0.dist-info/top_level.txt,sha256=FZ5B_i0-vRFKFtVgkG-fcJ4GrbFKpKlfrjFlQStN2xc,18
4
+ pyomp-0.5.0.dist-info/METADATA,sha256=QUpj47I0kzCvs6trEt2EA1rvan7RlUJ3c_r4g01keI4,6438
5
+ pyomp-0.5.0.dist-info/licenses/LICENSE,sha256=2BK-dNAC93eL0lsbSGXSckPRNszQLAicVZ7AtQr3ykc,1324
6
+ pyomp-0.5.0.dist-info/licenses/LICENSE-OPENMP.txt,sha256=_a0XWKnh-dWoHhiHmzQGdyEV7cksJL-ja3DGVPMl6OQ,19741
7
+ pyomp.dylibs/libc++.1.0.dylib,sha256=XGenbOLnH61UnvWWwmOoCsky27UQd3MGSPcapT7T1vY,1173408
8
+ pyomp.dylibs/libzstd.1.5.7.dylib,sha256=8Sl6KYLnw70Gh1EKK2mPqbo2UiLAR_n9JS2V5M9FkYI,831824
9
+ numba/openmp/tags.py,sha256=H7IGwrK5kRSbLWgeWtA6JshzLSRVC5EZg6a9805PTek,20421
10
+ numba/openmp/config.py,sha256=Uaj8411UJh6kK4rLOhYvt0Rvhg3g_KYHA6l21ZXTJzM,916
11
+ numba/openmp/compiler.py,sha256=u1lW_rmsEJ7WbK_RnLdZ6TDxlLz5RuzvfGPwSdlRz70,15073
12
+ numba/openmp/analysis.py,sha256=O4nkfi2ETE5lYTMs3RMk92Mq1Q7rsUQvYn2MQGywddQ,6784
13
+ numba/openmp/_version.py,sha256=3soI8_FeekAE5ThQxeteiN5-YP7gqti-j_qP_fgP1DM,712
14
+ numba/openmp/ir_utils.py,sha256=ir-SKSu8kPP3Da6wG1DvdujW19Nqu3eUGDRwDgx760A,108
15
+ numba/openmp/llvm_pass.py,sha256=rPsWHkmfmXv6HyJ55fcbIkOKhh0dzu2T24e-kb-TUfc,1313
16
+ numba/openmp/__init__.py,sha256=zbNUFQYPlgbqI4wlFhDquw8QbYpHSfdgaGvno3kEbRQ,3056
17
+ numba/openmp/llvmlite_extensions.py,sha256=f0q1YjZ8DwtdQqIH7GX7L9okhurxUJUO5abvm_3nV1U,2559
18
+ numba/openmp/omp_grammar.py,sha256=8uoqOPSBuQCI32aG06HHigNXB9F4fNNZ-N7T42IeUPA,33334
19
+ numba/openmp/omp_runtime.py,sha256=EhFY4ALpPPtficeareYOyZu-8xh28MPmGoYOJbrLSz8,4579
20
+ numba/openmp/parser.py,sha256=3XuXI8UOKGI3liTWX5RhIUYSLNyjwYdME0BO0uuqLfY,197
21
+ numba/openmp/omp_context.py,sha256=kDfV8KzbXcZe0X_L4Lg5VJtRxh5-StUp9A7BYha-WO4,9507
22
+ numba/openmp/link_utils.py,sha256=WzPQRjhQsmfs4jGf9Je-K1TVgpMJG-CVKAntUVtagxw,4313
23
+ numba/openmp/omp_lower.py,sha256=nF4dsHz75bO9JsIrKALIPlC3MQCiSw7V3N9-1s1kDZQ,123669
24
+ numba/openmp/overloads.py,sha256=qnayxsLIeMp-fWSlmrcvRWfJxTpvbhsQ4bCvX5mZRdA,1172
25
+ numba/openmp/exceptions.py,sha256=flHYQlEjy8KsEz0ZjJPiLS-8e8RTlsmZbYnu7VPG3oQ,394
26
+ numba/openmp/omp_ir.py,sha256=6-GWzJ3f78v3bIwsG18znnbr4i_P6YeF-vXAvoq8Bg8,87164
27
+ numba/openmp/decorators.py,sha256=yRobOa6lwwCdh8tLF1m5Xr8tJm_IV2CRbd0n_8foZg4,721
28
+ numba/openmp/tests/test_openmp.py,sha256=-5paccnzeYVyHKDs1mjN7z0PXEQAYVkuXHLbz7E3Bn0,172220
29
+ numba/openmp/libs/pass/DebugOpenMP.h,sha256=b5v8RYo5s2m5ltVNrnIoFZpO47RCJGr8rOam4F9dNlU,778
30
+ numba/openmp/libs/pass/CMakeLists.txt,sha256=xmcCwxk7sCJEdmZD44On5lI4yE1Q3VUTGYcYBJiYG08,1573
31
+ numba/openmp/libs/pass/DebugOpenMP.cpp,sha256=KH8gwU0PwISe6H1CPwOstrf1d1wx-79-WfEf33IgBTc,471
32
+ numba/openmp/libs/pass/IntrinsicsOpenMP.cpp,sha256=6tixycgyoi8-Kh_-anJm9etS9L8M56hJ7Aj2sJbfFQo,33840
33
+ numba/openmp/libs/pass/libIntrinsicsOpenMP.dylib,sha256=Tyerf-9iVkzjCEsPeMGzdnGuzBDllpDH-apCNk1V15I,37806624
34
+ numba/openmp/libs/pass/IntrinsicsOpenMP.h,sha256=lZ-PUU4ATfNDdb577kwHG8dMfaUgSsvthJxw0b9EeoU,274
35
+ numba/openmp/libs/pass/IntrinsicsOpenMP_CAPI.h,sha256=R3-qz9N7VefK1UkucZ9YDMxK66pIac1RrV0YRB3OYao,448
36
+ numba/openmp/libs/pass/CGIntrinsicsOpenMP.h,sha256=Go2X1dSwgszj-Hf2fGvFU7K790YTYu_T9_USU8VrcFo,23708
37
+ numba/openmp/libs/pass/CGIntrinsicsOpenMP.cpp,sha256=NpwZFKaFuj3BVseP09wU7zBsuPvcLDZLmGsq4IVMX5E,120797
38
+ numba/openmp/libs/openmp/patches/14.0.6/0001-BACKPORT-Fix-for-CUDA-OpenMP-RTL.patch,sha256=8p5GyLJceYyh44be0s_nXkBiDAxLQjHVJWeQEobUSeU,1289
39
+ numba/openmp/libs/openmp/patches/14.0.6/0002-Fix-missing-includes.patch,sha256=OinEU9EBvVqnCqgo14gKxDJFxEL_Yx2me-iurnxEmQ4,354
40
+ numba/openmp/libs/openmp/patches/14.0.6/0003-Link-static-LLVM-libs.patch,sha256=BX_RYHrm5UcN4CrN92SmfO5dMMf0DL6jvaWzQFc76Yc,663
41
+ numba/openmp/libs/openmp/patches/20.1.8/0003-Do-not-build-liboffload.patch,sha256=GEGzVtqABTFNC3zEmAk-Kbrm1oHfS6AFKZQemz2Wf8A,328
42
+ numba/openmp/libs/openmp/patches/20.1.8/0001-Enable-standalone-build.patch,sha256=Aja37T86O2p1m8-F5uMeCROzTJGeyUCF4-lZLoptc34,488
43
+ numba/openmp/libs/openmp/patches/20.1.8/0002-Link-statically-LLVM.patch,sha256=JV7d-zw6We-QveacDoileLD04HKDwNMzJ7kbx4uyVG0,801
44
+ numba/openmp/libs/openmp/patches/15.0.7/0001-Fix-missing-includes.patch,sha256=UDDWjmu4vindulRVyAyeAdkXTZ7RIxd4omOY4b1VzgU,414
45
+ numba/openmp/libs/openmp/patches/15.0.7/0003-Disable-opaque-pointers-DeviceRTL-bitcode.patch,sha256=bqcrNTOPivJi-FFkBc6N3pShpIfdJ22wsUvEueTTcYw,526
46
+ numba/openmp/libs/openmp/patches/15.0.7/0002-Link-LLVM-statically.patch,sha256=QRTCaAYE0CDyDd2mr3s4GH0ZwnM6QNnMGwxfKH2tq3s,4051
47
+ numba/openmp/libs/openmp/patches/16.0.6/0001-Load-plugins-from-install-directory.patch,sha256=itPh5PojeZr5w5Dwu8vrl3ZslgTjjYRaiPnu8DgZLAg,2343
48
+ numba/openmp/libs/openmp/patches/16.0.6/0002-Link-LLVM-statically.patch,sha256=99oAGEm9nTCGl-ejHWOVvXKv6GwxFCN1LbttkjiHswo,7396
49
+ numba/openmp/libs/openmp/lib/libiomp5.dylib,sha256=WzDtJGrtnr4AxtXPzCrgNdenh9Gb5bbm0Oo6mgtvObk,807344
50
+ numba/openmp/libs/openmp/lib/libgomp.dylib,sha256=WzDtJGrtnr4AxtXPzCrgNdenh9Gb5bbm0Oo6mgtvObk,807344
51
+ numba/openmp/libs/openmp/lib/libomp.dylib,sha256=WzDtJGrtnr4AxtXPzCrgNdenh9Gb5bbm0Oo6mgtvObk,807344
52
+ numba/openmp/libs/openmp/lib/libgomp.1.dylib,sha256=WzDtJGrtnr4AxtXPzCrgNdenh9Gb5bbm0Oo6mgtvObk,807344
@@ -0,0 +1,6 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.10.2)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314t-macosx_11_0_arm64
5
+ Generator: delocate 0.13.0
6
+
@@ -0,0 +1,25 @@
1
+ BSD 2-Clause License
2
+
3
+ Copyright (c) 2021, Python-for-HPC
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,361 @@
1
+ ==============================================================================
2
+ The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:
3
+ ==============================================================================
4
+
5
+ Apache License
6
+ Version 2.0, January 2004
7
+ http://www.apache.org/licenses/
8
+
9
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
10
+
11
+ 1. Definitions.
12
+
13
+ "License" shall mean the terms and conditions for use, reproduction,
14
+ and distribution as defined by Sections 1 through 9 of this document.
15
+
16
+ "Licensor" shall mean the copyright owner or entity authorized by
17
+ the copyright owner that is granting the License.
18
+
19
+ "Legal Entity" shall mean the union of the acting entity and all
20
+ other entities that control, are controlled by, or are under common
21
+ control with that entity. For the purposes of this definition,
22
+ "control" means (i) the power, direct or indirect, to cause the
23
+ direction or management of such entity, whether by contract or
24
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
25
+ outstanding shares, or (iii) beneficial ownership of such entity.
26
+
27
+ "You" (or "Your") shall mean an individual or Legal Entity
28
+ exercising permissions granted by this License.
29
+
30
+ "Source" form shall mean the preferred form for making modifications,
31
+ including but not limited to software source code, documentation
32
+ source, and configuration files.
33
+
34
+ "Object" form shall mean any form resulting from mechanical
35
+ transformation or translation of a Source form, including but
36
+ not limited to compiled object code, generated documentation,
37
+ and conversions to other media types.
38
+
39
+ "Work" shall mean the work of authorship, whether in Source or
40
+ Object form, made available under the License, as indicated by a
41
+ copyright notice that is included in or attached to the work
42
+ (an example is provided in the Appendix below).
43
+
44
+ "Derivative Works" shall mean any work, whether in Source or Object
45
+ form, that is based on (or derived from) the Work and for which the
46
+ editorial revisions, annotations, elaborations, or other modifications
47
+ represent, as a whole, an original work of authorship. For the purposes
48
+ of this License, Derivative Works shall not include works that remain
49
+ separable from, or merely link (or bind by name) to the interfaces of,
50
+ the Work and Derivative Works thereof.
51
+
52
+ "Contribution" shall mean any work of authorship, including
53
+ the original version of the Work and any modifications or additions
54
+ to that Work or Derivative Works thereof, that is intentionally
55
+ submitted to Licensor for inclusion in the Work by the copyright owner
56
+ or by an individual or Legal Entity authorized to submit on behalf of
57
+ the copyright owner. For the purposes of this definition, "submitted"
58
+ means any form of electronic, verbal, or written communication sent
59
+ to the Licensor or its representatives, including but not limited to
60
+ communication on electronic mailing lists, source code control systems,
61
+ and issue tracking systems that are managed by, or on behalf of, the
62
+ Licensor for the purpose of discussing and improving the Work, but
63
+ excluding communication that is conspicuously marked or otherwise
64
+ designated in writing by the copyright owner as "Not a Contribution."
65
+
66
+ "Contributor" shall mean Licensor and any individual or Legal Entity
67
+ on behalf of whom a Contribution has been received by Licensor and
68
+ subsequently incorporated within the Work.
69
+
70
+ 2. Grant of Copyright License. Subject to the terms and conditions of
71
+ this License, each Contributor hereby grants to You a perpetual,
72
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
73
+ copyright license to reproduce, prepare Derivative Works of,
74
+ publicly display, publicly perform, sublicense, and distribute the
75
+ Work and such Derivative Works in Source or Object form.
76
+
77
+ 3. Grant of Patent License. Subject to the terms and conditions of
78
+ this License, each Contributor hereby grants to You a perpetual,
79
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
80
+ (except as stated in this section) patent license to make, have made,
81
+ use, offer to sell, sell, import, and otherwise transfer the Work,
82
+ where such license applies only to those patent claims licensable
83
+ by such Contributor that are necessarily infringed by their
84
+ Contribution(s) alone or by combination of their Contribution(s)
85
+ with the Work to which such Contribution(s) was submitted. If You
86
+ institute patent litigation against any entity (including a
87
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
88
+ or a Contribution incorporated within the Work constitutes direct
89
+ or contributory patent infringement, then any patent licenses
90
+ granted to You under this License for that Work shall terminate
91
+ as of the date such litigation is filed.
92
+
93
+ 4. Redistribution. You may reproduce and distribute copies of the
94
+ Work or Derivative Works thereof in any medium, with or without
95
+ modifications, and in Source or Object form, provided that You
96
+ meet the following conditions:
97
+
98
+ (a) You must give any other recipients of the Work or
99
+ Derivative Works a copy of this License; and
100
+
101
+ (b) You must cause any modified files to carry prominent notices
102
+ stating that You changed the files; and
103
+
104
+ (c) You must retain, in the Source form of any Derivative Works
105
+ that You distribute, all copyright, patent, trademark, and
106
+ attribution notices from the Source form of the Work,
107
+ excluding those notices that do not pertain to any part of
108
+ the Derivative Works; and
109
+
110
+ (d) If the Work includes a "NOTICE" text file as part of its
111
+ distribution, then any Derivative Works that You distribute must
112
+ include a readable copy of the attribution notices contained
113
+ within such NOTICE file, excluding those notices that do not
114
+ pertain to any part of the Derivative Works, in at least one
115
+ of the following places: within a NOTICE text file distributed
116
+ as part of the Derivative Works; within the Source form or
117
+ documentation, if provided along with the Derivative Works; or,
118
+ within a display generated by the Derivative Works, if and
119
+ wherever such third-party notices normally appear. The contents
120
+ of the NOTICE file are for informational purposes only and
121
+ do not modify the License. You may add Your own attribution
122
+ notices within Derivative Works that You distribute, alongside
123
+ or as an addendum to the NOTICE text from the Work, provided
124
+ that such additional attribution notices cannot be construed
125
+ as modifying the License.
126
+
127
+ You may add Your own copyright statement to Your modifications and
128
+ may provide additional or different license terms and conditions
129
+ for use, reproduction, or distribution of Your modifications, or
130
+ for any such Derivative Works as a whole, provided Your use,
131
+ reproduction, and distribution of the Work otherwise complies with
132
+ the conditions stated in this License.
133
+
134
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
135
+ any Contribution intentionally submitted for inclusion in the Work
136
+ by You to the Licensor shall be under the terms and conditions of
137
+ this License, without any additional terms or conditions.
138
+ Notwithstanding the above, nothing herein shall supersede or modify
139
+ the terms of any separate license agreement you may have executed
140
+ with Licensor regarding such Contributions.
141
+
142
+ 6. Trademarks. This License does not grant permission to use the trade
143
+ names, trademarks, service marks, or product names of the Licensor,
144
+ except as required for reasonable and customary use in describing the
145
+ origin of the Work and reproducing the content of the NOTICE file.
146
+
147
+ 7. Disclaimer of Warranty. Unless required by applicable law or
148
+ agreed to in writing, Licensor provides the Work (and each
149
+ Contributor provides its Contributions) on an "AS IS" BASIS,
150
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
151
+ implied, including, without limitation, any warranties or conditions
152
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
153
+ PARTICULAR PURPOSE. You are solely responsible for determining the
154
+ appropriateness of using or redistributing the Work and assume any
155
+ risks associated with Your exercise of permissions under this License.
156
+
157
+ 8. Limitation of Liability. In no event and under no legal theory,
158
+ whether in tort (including negligence), contract, or otherwise,
159
+ unless required by applicable law (such as deliberate and grossly
160
+ negligent acts) or agreed to in writing, shall any Contributor be
161
+ liable to You for damages, including any direct, indirect, special,
162
+ incidental, or consequential damages of any character arising as a
163
+ result of this License or out of the use or inability to use the
164
+ Work (including but not limited to damages for loss of goodwill,
165
+ work stoppage, computer failure or malfunction, or any and all
166
+ other commercial damages or losses), even if such Contributor
167
+ has been advised of the possibility of such damages.
168
+
169
+ 9. Accepting Warranty or Additional Liability. While redistributing
170
+ the Work or Derivative Works thereof, You may choose to offer,
171
+ and charge a fee for, acceptance of support, warranty, indemnity,
172
+ or other liability obligations and/or rights consistent with this
173
+ License. However, in accepting such obligations, You may act only
174
+ on Your own behalf and on Your sole responsibility, not on behalf
175
+ of any other Contributor, and only if You agree to indemnify,
176
+ defend, and hold each Contributor harmless for any liability
177
+ incurred by, or claims asserted against, such Contributor by reason
178
+ of your accepting any such warranty or additional liability.
179
+
180
+ END OF TERMS AND CONDITIONS
181
+
182
+ APPENDIX: How to apply the Apache License to your work.
183
+
184
+ To apply the Apache License to your work, attach the following
185
+ boilerplate notice, with the fields enclosed by brackets "[]"
186
+ replaced with your own identifying information. (Don't include
187
+ the brackets!) The text should be enclosed in the appropriate
188
+ comment syntax for the file format. We also recommend that a
189
+ file or class name and description of purpose be included on the
190
+ same "printed page" as the copyright notice for easier
191
+ identification within third-party archives.
192
+
193
+ Copyright [yyyy] [name of copyright owner]
194
+
195
+ Licensed under the Apache License, Version 2.0 (the "License");
196
+ you may not use this file except in compliance with the License.
197
+ You may obtain a copy of the License at
198
+
199
+ http://www.apache.org/licenses/LICENSE-2.0
200
+
201
+ Unless required by applicable law or agreed to in writing, software
202
+ distributed under the License is distributed on an "AS IS" BASIS,
203
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
204
+ See the License for the specific language governing permissions and
205
+ limitations under the License.
206
+
207
+
208
+ ---- LLVM Exceptions to the Apache 2.0 License ----
209
+
210
+ As an exception, if, as a result of your compiling your source code, portions
211
+ of this Software are embedded into an Object form of such source code, you
212
+ may redistribute such embedded portions in such Object form without complying
213
+ with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
214
+
215
+ In addition, if you combine or link compiled forms of this Software with
216
+ software that is licensed under the GPLv2 ("Combined Software") and if a
217
+ court of competent jurisdiction determines that the patent provision (Section
218
+ 3), the indemnity provision (Section 9) or other Section of the License
219
+ conflicts with the conditions of the GPLv2, you may retroactively and
220
+ prospectively choose to deem waived or otherwise exclude such Section(s) of
221
+ the License, but only in their entirety and only with respect to the Combined
222
+ Software.
223
+
224
+ ==============================================================================
225
+ Software from third parties included in the LLVM Project:
226
+ ==============================================================================
227
+ The LLVM Project contains third party software which is under different license
228
+ terms. All such code will be identified clearly using at least one of two
229
+ mechanisms:
230
+ 1) It will be in a separate directory tree with its own `LICENSE.txt` or
231
+ `LICENSE` file at the top containing the specific license and restrictions
232
+ which apply to that software, or
233
+ 2) It will contain specific license and restriction terms at the top of every
234
+ file.
235
+
236
+ ==============================================================================
237
+ Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):
238
+ ==============================================================================
239
+
240
+ The software contained in this directory tree is dual licensed under both the
241
+ University of Illinois "BSD-Like" license and the MIT license. As a user of
242
+ this code you may choose to use it under either license. As a contributor,
243
+ you agree to allow your code to be used under both. The full text of the
244
+ relevant licenses is included below.
245
+
246
+ In addition, a license agreement from the copyright/patent holders of the
247
+ software contained in this directory tree is included below.
248
+
249
+ ==============================================================================
250
+
251
+ University of Illinois/NCSA
252
+ Open Source License
253
+
254
+ Copyright (c) 1997-2019 Intel Corporation
255
+
256
+ All rights reserved.
257
+
258
+ Developed by:
259
+ OpenMP Runtime Team
260
+ Intel Corporation
261
+ http://www.openmprtl.org
262
+
263
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
264
+ this software and associated documentation files (the "Software"), to deal with
265
+ the Software without restriction, including without limitation the rights to
266
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
267
+ of the Software, and to permit persons to whom the Software is furnished to do
268
+ so, subject to the following conditions:
269
+
270
+ * Redistributions of source code must retain the above copyright notice,
271
+ this list of conditions and the following disclaimers.
272
+
273
+ * Redistributions in binary form must reproduce the above copyright notice,
274
+ this list of conditions and the following disclaimers in the
275
+ documentation and/or other materials provided with the distribution.
276
+
277
+ * Neither the names of Intel Corporation OpenMP Runtime Team nor the
278
+ names of its contributors may be used to endorse or promote products
279
+ derived from this Software without specific prior written permission.
280
+
281
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
282
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
283
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
284
+ CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
285
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
286
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
287
+ SOFTWARE.
288
+
289
+ ==============================================================================
290
+
291
+ Copyright (c) 1997-2019 Intel Corporation
292
+
293
+ Permission is hereby granted, free of charge, to any person obtaining a copy
294
+ of this software and associated documentation files (the "Software"), to deal
295
+ in the Software without restriction, including without limitation the rights
296
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
297
+ copies of the Software, and to permit persons to whom the Software is
298
+ furnished to do so, subject to the following conditions:
299
+
300
+ The above copyright notice and this permission notice shall be included in
301
+ all copies or substantial portions of the Software.
302
+
303
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
304
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
305
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
306
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
307
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
308
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
309
+ THE SOFTWARE.
310
+
311
+ ==============================================================================
312
+
313
+ Intel Corporation
314
+
315
+ Software Grant License Agreement ("Agreement")
316
+
317
+ Except for the license granted herein to you, Intel Corporation ("Intel") reserves
318
+ all right, title, and interest in and to the Software (defined below).
319
+
320
+ Definition
321
+
322
+ "Software" means the code and documentation as well as any original work of
323
+ authorship, including any modifications or additions to an existing work, that
324
+ is intentionally submitted by Intel to llvm.org (http://llvm.org) ("LLVM") for
325
+ inclusion in, or documentation of, any of the products owned or managed by LLVM
326
+ (the "Work"). For the purposes of this definition, "submitted" means any form of
327
+ electronic, verbal, or written communication sent to LLVM or its
328
+ representatives, including but not limited to communication on electronic
329
+ mailing lists, source code control systems, and issue tracking systems that are
330
+ managed by, or on behalf of, LLVM for the purpose of discussing and improving
331
+ the Work, but excluding communication that is conspicuously marked otherwise.
332
+
333
+ 1. Grant of Copyright License. Subject to the terms and conditions of this
334
+ Agreement, Intel hereby grants to you and to recipients of the Software
335
+ distributed by LLVM a perpetual, worldwide, non-exclusive, no-charge,
336
+ royalty-free, irrevocable copyright license to reproduce, prepare derivative
337
+ works of, publicly display, publicly perform, sublicense, and distribute the
338
+ Software and such derivative works.
339
+
340
+ 2. Grant of Patent License. Subject to the terms and conditions of this
341
+ Agreement, Intel hereby grants you and to recipients of the Software
342
+ distributed by LLVM a perpetual, worldwide, non-exclusive, no-charge,
343
+ royalty-free, irrevocable (except as stated in this section) patent license
344
+ to make, have made, use, offer to sell, sell, import, and otherwise transfer
345
+ the Work, where such license applies only to those patent claims licensable
346
+ by Intel that are necessarily infringed by Intel's Software alone or by
347
+ combination of the Software with the Work to which such Software was
348
+ submitted. If any entity institutes patent litigation against Intel or any
349
+ other entity (including a cross-claim or counterclaim in a lawsuit) alleging
350
+ that Intel's Software, or the Work to which Intel has contributed constitutes
351
+ direct or contributory patent infringement, then any patent licenses granted
352
+ to that entity under this Agreement for the Software or Work shall terminate
353
+ as of the date such litigation is filed.
354
+
355
+ Unless required by applicable law or agreed to in writing, the software is
356
+ provided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
357
+ either express or implied, including, without limitation, any warranties or
358
+ conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
359
+ PARTICULAR PURPOSE.
360
+
361
+ ==============================================================================
@@ -0,0 +1,3 @@
1
+ libomp
2
+ numba
3
+ pass
Binary file
Binary file