diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/licenses/LICENSE-APACHE b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/licenses/LICENSE-APACHE new file mode 100644 index 0000000000000000000000000000000000000000..d645695673349e3947e8e5ae42332d0ac3164cd7 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/licenses/LICENSE-APACHE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/licenses/LICENSE-MIT b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/licenses/LICENSE-MIT new file mode 100644 index 0000000000000000000000000000000000000000..03be635ad5df4567a85180c7a03a54ee96e1ee98 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/licenses/LICENSE-MIT @@ -0,0 +1,20 @@ +Copyright 2019-2020 Lawrence Livermore National Security, LLC and other +Archspec Project Developers. See the top-level COPYRIGHT file for details. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/recipe/conda_build_config.yaml b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/recipe/conda_build_config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..83a7cc097539deb7d4ec88d252b9d19535fa9735 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/recipe/conda_build_config.yaml @@ -0,0 +1,28 @@ +c_compiler: gcc +channel_targets: defaults +cpu_optimization_target: nocona +cran_mirror: https://cran.r-project.org +cxx_compiler: gxx +extend_keys: +- extend_keys +- ignore_version +- ignore_build_only_deps +- pin_run_as_build +fortran_compiler: gfortran +ignore_build_only_deps: +- python +- numpy +lua: '5' +numpy: '1.26' +perl: 5.26.2 +pin_run_as_build: + python: + max_pin: x.x + min_pin: x.x + r-base: + max_pin: x.x + min_pin: x.x +platform: linux-64 +python: '3.12' +r_base: '3.5' +target_platform: linux-64 diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/recipe/meta.yaml b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/recipe/meta.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6a452f7f17380c71e319186177466b546bd6e890 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/recipe/meta.yaml @@ -0,0 +1,81 @@ +# This file created by conda-build 25.1.2 +# meta.yaml template originally from: +# /home/task_175812491784513/archspec-feedstock/recipe, last modified Wed Sep 17 16:02:17 2025 +# ------------------------------------------------ + +package: + name: archspec + version: 0.2.5 +source: + sha256: 5bec8dfc5366ff299071200466dc9572d56db4e43abca3c66bdd62bc2b731a2a + url: https://pypi.io/packages/source/a/archspec/archspec-0.2.5.tar.gz +build: + entry_points: + - archspec = archspec.cli:main + noarch: python + number: '0' + script: /home/task_175812491784513/conda-bld/archspec_1758124989039/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/bin/python + -m pip install . -vv --no-deps --no-build-isolation + string: pyhd3eb1b0_0 +requirements: + host: + - _libgcc_mutex 0.1 main + - _openmp_mutex 5.1 1_gnu + - bzip2 1.0.8 h5eee18b_6 + - ca-certificates 2025.9.9 h06a4308_0 + - expat 2.7.1 h6a678d5_0 + - ld_impl_linux-64 2.40 h12ee557_0 + - libffi 3.4.4 h6a678d5_1 + - libgcc-ng 11.2.0 h1234567_1 + - libgomp 11.2.0 h1234567_1 + - libmpdec 4.0.0 h5eee18b_0 + - libstdcxx-ng 11.2.0 h1234567_1 + - libuuid 1.41.5 h5eee18b_0 + - libxcb 1.17.0 h9b100fa_0 + - libzlib 1.3.1 hb25bd0a_0 + - ncurses 6.5 h7934f7d_0 + - openssl 3.0.17 h5eee18b_0 + - pip 25.2 pyhc872135_0 + - poetry-core 2.2.0 py313h06a4308_0 + - pthread-stubs 0.3 h0ce48e5_1 + - python 3.13.7 h7e8bc2b_100_cp313 + - python_abi 3.13 1_cp313 + - readline 8.3 hc2a1206_0 + - setuptools 78.1.1 py313h06a4308_0 + - sqlite 3.50.2 hb25bd0a_1 + - tk 8.6.15 h54e0aa7_0 + - tzdata 2025b h04d1e81_0 + - wheel 0.45.1 py313h06a4308_0 + - xorg-libx11 1.8.12 h9b100fa_1 + - xorg-libxau 1.0.12 h9b100fa_0 + - xorg-libxdmcp 1.1.5 h9b100fa_0 + - xorg-xorgproto 2024.1 h5eee18b_1 + - xz 5.6.4 h5eee18b_1 + - zlib 1.3.1 hb25bd0a_0 + run: + - python >=3.7 +test: + commands: + - pip check + - archspec --help + imports: + - archspec + - archspec.cpu + requires: + - pip +about: + description: A library to query system architecture + dev_url: https://github.com/archspec/archspec/ + doc_url: https://archspec.readthedocs.io/ + home: https://pypi.org/project/archspec/ + license: MIT OR Apache-2.0 + license_file: + - LICENSE-APACHE + - LICENSE-MIT + summary: A library to query system architecture +extra: + copy_test_source_files: true + final: true + recipe-maintainers: + - anthchirp + - isuruf diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/recipe/meta.yaml.template b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/recipe/meta.yaml.template new file mode 100644 index 0000000000000000000000000000000000000000..1b251d66986792a9b82efe091bef41b19231af91 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/recipe/meta.yaml.template @@ -0,0 +1,53 @@ +{% set name = "archspec" %} +{% set version = "0.2.5" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/archspec-{{ version }}.tar.gz + sha256: 5bec8dfc5366ff299071200466dc9572d56db4e43abca3c66bdd62bc2b731a2a + +build: + number: 0 + noarch: python + entry_points: + - archspec = archspec.cli:main + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + +requirements: + host: + - pip + - python >=3.7 + - poetry-core + run: + # According to the upstream `pyproject.toml`, python==3.6.15 is also + # supported, but including that here seems more trouble than it's worth. + - python >=3.7 + +test: + imports: + - archspec + - archspec.cpu + commands: + - pip check + - archspec --help + requires: + - pip + +about: + home: https://pypi.org/project/archspec/ + summary: A library to query system architecture + description: A library to query system architecture + license: MIT OR Apache-2.0 + license_file: + - LICENSE-MIT + - LICENSE-APACHE + dev_url: https://github.com/archspec/archspec/ + doc_url: https://archspec.readthedocs.io/ + +extra: + recipe-maintainers: + - anthchirp + - isuruf diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/test/run_test.bat b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/test/run_test.bat new file mode 100644 index 0000000000000000000000000000000000000000..fba3cfda54ca7296f3cebf688198fb6a34cc7e1a --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/test/run_test.bat @@ -0,0 +1,9 @@ + + + + +pip check +IF %ERRORLEVEL% NEQ 0 exit /B 1 +archspec --help +IF %ERRORLEVEL% NEQ 0 exit /B 1 +exit /B 0 diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/test/run_test.py b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/test/run_test.py new file mode 100644 index 0000000000000000000000000000000000000000..9c14db9e54d8c6ab28bbca64b1f075a9e7b630c0 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/test/run_test.py @@ -0,0 +1,6 @@ +print("import: 'archspec'") +import archspec + +print("import: 'archspec.cpu'") +import archspec.cpu + diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/test/run_test.sh b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/test/run_test.sh new file mode 100644 index 0000000000000000000000000000000000000000..2fd217f9327166e19e81e31148613f590e5427d4 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/test/run_test.sh @@ -0,0 +1,9 @@ + + +set -ex + + + +pip check +archspec --help +exit 0 diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/test/test_time_dependencies.json b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/test/test_time_dependencies.json new file mode 100644 index 0000000000000000000000000000000000000000..215362c1832b66eb448cdeeadbb1db3470d5adb4 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/info/test/test_time_dependencies.json @@ -0,0 +1 @@ +["pip"] \ No newline at end of file diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec-0.2.5.dist-info/licenses/LICENSE-APACHE b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec-0.2.5.dist-info/licenses/LICENSE-APACHE new file mode 100644 index 0000000000000000000000000000000000000000..d645695673349e3947e8e5ae42332d0ac3164cd7 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec-0.2.5.dist-info/licenses/LICENSE-APACHE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec-0.2.5.dist-info/licenses/LICENSE-MIT b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec-0.2.5.dist-info/licenses/LICENSE-MIT new file mode 100644 index 0000000000000000000000000000000000000000..03be635ad5df4567a85180c7a03a54ee96e1ee98 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec-0.2.5.dist-info/licenses/LICENSE-MIT @@ -0,0 +1,20 @@ +Copyright 2019-2020 Lawrence Livermore National Security, LLC and other +Archspec Project Developers. See the top-level COPYRIGHT file for details. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec-0.2.5.dist-info/licenses/NOTICE b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec-0.2.5.dist-info/licenses/NOTICE new file mode 100644 index 0000000000000000000000000000000000000000..3737d5a86ddc20bfd04ce225fff2d34407df06f9 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec-0.2.5.dist-info/licenses/NOTICE @@ -0,0 +1,21 @@ +This work was produced under the auspices of the U.S. Department of +Energy by Lawrence Livermore National Laboratory under Contract +DE-AC52-07NA27344. + +This work was prepared as an account of work sponsored by an agency of +the United States Government. Neither the United States Government nor +Lawrence Livermore National Security, LLC, nor any of their employees +makes any warranty, expressed or implied, or assumes any legal liability +or responsibility for the accuracy, completeness, or usefulness of any +information, apparatus, product, or process disclosed, or represents that +its use would not infringe privately owned rights. + +Reference herein to any specific commercial product, process, or service +by trade name, trademark, manufacturer, or otherwise does not necessarily +constitute or imply its endorsement, recommendation, or favoring by the +United States Government or Lawrence Livermore National Security, LLC. + +The views and opinions of authors expressed herein do not necessarily +state or reflect those of the United States Government or Lawrence +Livermore National Security, LLC, and shall not be used for advertising +or product endorsement purposes. diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/darwin-monterey-m2 b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/darwin-monterey-m2 new file mode 100644 index 0000000000000000000000000000000000000000..757a1fb79ea15a10ff45e2b56ff6645786385e4f --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/darwin-monterey-m2 @@ -0,0 +1,117 @@ +hw.ncpu: 8 +hw.byteorder: 1234 +hw.memsize: 17179869184 +hw.activecpu: 8 +hw.perflevel0.physicalcpu: 4 +hw.perflevel0.physicalcpu_max: 4 +hw.perflevel0.logicalcpu: 4 +hw.perflevel0.logicalcpu_max: 4 +hw.perflevel0.l1icachesize: 196608 +hw.perflevel0.l1dcachesize: 131072 +hw.perflevel0.l2cachesize: 16777216 +hw.perflevel0.cpusperl2: 4 +hw.perflevel1.physicalcpu: 4 +hw.perflevel1.physicalcpu_max: 4 +hw.perflevel1.logicalcpu: 4 +hw.perflevel1.logicalcpu_max: 4 +hw.perflevel1.l1icachesize: 131072 +hw.perflevel1.l1dcachesize: 65536 +hw.perflevel1.l2cachesize: 4194304 +hw.perflevel1.cpusperl2: 4 +hw.optional.arm.FEAT_FlagM: 1 +hw.optional.arm.FEAT_FlagM2: 1 +hw.optional.arm.FEAT_FHM: 1 +hw.optional.arm.FEAT_DotProd: 1 +hw.optional.arm.FEAT_SHA3: 1 +hw.optional.arm.FEAT_RDM: 1 +hw.optional.arm.FEAT_LSE: 1 +hw.optional.arm.FEAT_SHA256: 1 +hw.optional.arm.FEAT_SHA512: 1 +hw.optional.arm.FEAT_SHA1: 1 +hw.optional.arm.FEAT_AES: 1 +hw.optional.arm.FEAT_PMULL: 1 +hw.optional.arm.FEAT_SPECRES: 0 +hw.optional.arm.FEAT_SB: 1 +hw.optional.arm.FEAT_FRINTTS: 1 +hw.optional.arm.FEAT_LRCPC: 1 +hw.optional.arm.FEAT_LRCPC2: 1 +hw.optional.arm.FEAT_FCMA: 1 +hw.optional.arm.FEAT_JSCVT: 1 +hw.optional.arm.FEAT_PAuth: 1 +hw.optional.arm.FEAT_PAuth2: 1 +hw.optional.arm.FEAT_FPAC: 1 +hw.optional.arm.FEAT_DPB: 1 +hw.optional.arm.FEAT_DPB2: 1 +hw.optional.arm.FEAT_BF16: 1 +hw.optional.arm.FEAT_I8MM: 1 +hw.optional.arm.FEAT_ECV: 1 +hw.optional.arm.FEAT_LSE2: 1 +hw.optional.arm.FEAT_CSV2: 1 +hw.optional.arm.FEAT_CSV3: 1 +hw.optional.arm.FEAT_FP16: 1 +hw.optional.arm.FEAT_SSBS: 1 +hw.optional.arm.FEAT_BTI: 1 +hw.optional.floatingpoint: 1 +hw.optional.neon: 1 +hw.optional.neon_hpfp: 1 +hw.optional.neon_fp16: 1 +hw.optional.armv8_1_atomics: 1 +hw.optional.armv8_2_fhm: 1 +hw.optional.armv8_2_sha512: 1 +hw.optional.armv8_2_sha3: 1 +hw.optional.armv8_3_compnum: 1 +hw.optional.watchpoint: 4 +hw.optional.breakpoint: 6 +hw.optional.armv8_crc32: 1 +hw.optional.armv8_gpi: 1 +hw.optional.AdvSIMD: 1 +hw.optional.AdvSIMD_HPFPCvt: 1 +hw.optional.ucnormal_mem: 1 +hw.optional.arm64: 1 +hw.features.allows_security_research: 0 +hw.physicalcpu: 8 +hw.physicalcpu_max: 8 +hw.logicalcpu: 8 +hw.logicalcpu_max: 8 +hw.cputype: 16777228 +hw.cpusubtype: 2 +hw.cpu64bit_capable: 1 +hw.cpufamily: -634136515 +hw.cpusubfamily: 2 +hw.cacheconfig: 8 1 4 0 0 0 0 0 0 0 +hw.cachesize: 3697410048 65536 4194304 0 0 0 0 0 0 0 +hw.pagesize: 16384 +hw.pagesize32: 16384 +hw.cachelinesize: 128 +hw.l1icachesize: 131072 +hw.l1dcachesize: 65536 +hw.l2cachesize: 4194304 +hw.tbfrequency: 24000000 +hw.packages: 1 +hw.osenvironment: +hw.ephemeral_storage: 0 +hw.use_recovery_securityd: 0 +hw.use_kernelmanagerd: 1 +hw.serialdebugmode: 0 +hw.nperflevels: 2 +hw.targettype: J413 +machdep.cpu.cores_per_package: 8 +machdep.cpu.core_count: 8 +machdep.cpu.logical_per_package: 8 +machdep.cpu.thread_count: 8 +machdep.cpu.brand_string: Apple M2 +machdep.user_idle_level: 0 +machdep.wake_abstime: 5418683402971 +machdep.time_since_reset: 6671416324 +machdep.wake_conttime: 22097060794869 +machdep.deferred_ipi_timeout: 64000 +machdep.lck_mtx_adaptive_spin_mode: 1 +machdep.virtual_address_size: 47 +machdep.report_phy_read_delay: 0 +machdep.report_phy_write_delay: 0 +machdep.trace_phy_read_delay: 0 +machdep.trace_phy_write_delay: 0 +machdep.report_phy_read_osbt: 0 +machdep.report_phy_write_osbt: 0 +machdep.phy_read_delay_panic: 0 +machdep.phy_writedelay_panic: 0 diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-amazon-cortex_a72 b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-amazon-cortex_a72 new file mode 100644 index 0000000000000000000000000000000000000000..f500e6f8077196a8270fc88932f4fcdb46233b5b --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-amazon-cortex_a72 @@ -0,0 +1,8 @@ +processor : 0 +BogoMIPS : 166.66 +Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid +CPU implementer : 0x41 +CPU architecture: 8 +CPU variant : 0x0 +CPU part : 0xd08 +CPU revision : 3 diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-amazon-neoverse_n1 b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-amazon-neoverse_n1 new file mode 100644 index 0000000000000000000000000000000000000000..17f1615825d77b3aeea6fdbbb250ca22cc9598b1 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-amazon-neoverse_n1 @@ -0,0 +1,8 @@ +processor : 0 +BogoMIPS : 243.75 +Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs +CPU implementer : 0x41 +CPU architecture: 8 +CPU variant : 0x3 +CPU part : 0xd0c +CPU revision : 1 diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-amazon-neoverse_v1 b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-amazon-neoverse_v1 new file mode 100644 index 0000000000000000000000000000000000000000..01246f99da41a5619a3b89e51e97b8919e94996d --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-amazon-neoverse_v1 @@ -0,0 +1,8 @@ +processor : 0 +BogoMIPS : 2100.00 +Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs paca pacg dcpodp svei8mm svebf16 i8mm bf16 dgh rng +CPU implementer : 0x41 +CPU architecture: 8 +CPU variant : 0x1 +CPU part : 0xd40 +CPU revision : 1 diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-amazon2-sapphirerapids b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-amazon2-sapphirerapids new file mode 100644 index 0000000000000000000000000000000000000000..633a8457d478ddd697aaf0e547dd4636a779079b --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-amazon2-sapphirerapids @@ -0,0 +1,26 @@ +processor : 0 +vendor_id : GenuineIntel +cpu family : 6 +model : 143 +model name : Intel(R) Xeon(R) Platinum 8488C +stepping : 8 +microcode : 0x2b000461 +cpu MHz : 3101.940 +cache size : 107520 KB +physical id : 0 +siblings : 48 +core id : 0 +cpu cores : 48 +apicid : 0 +initial apicid : 0 +fpu : yes +fpu_exception : yes +cpuid level : 31 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx512_bf16 wbnoinvd ida arat avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq rdpid cldemote movdiri movdir64b md_clear serialize flush_l1d arch_capabilities +bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs +bogomips : 4800.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: \ No newline at end of file diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-asahi-m2 b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-asahi-m2 new file mode 100644 index 0000000000000000000000000000000000000000..93d048bec7e4ccddc5f8189dc6b81eafaddd3767 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-asahi-m2 @@ -0,0 +1,8 @@ +processor : 0 +BogoMIPS : 48.00 +Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint i8mm bf16 bti ecv +CPU implementer : 0x61 +CPU architecture: 8 +CPU variant : 0x1 +CPU part : 0x032 +CPU revision : 0 diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel6-piledriver b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel6-piledriver new file mode 100644 index 0000000000000000000000000000000000000000..599d0c6fe7a933c2e44f79dfe473c9542395732d --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel6-piledriver @@ -0,0 +1,29 @@ +processor : 0 +vendor_id : AuthenticAMD +cpu family : 21 +model : 2 +model name : AMD FX(tm)-8350 Eight-Core Processor +stepping : 0 +microcode : 0x6000832 +cpu MHz : 4013.832 +cache size : 2048 KB +physical id : 0 +siblings : 8 +core id : 0 +cpu cores : 4 +apicid : 16 +initial apicid : 0 +fpu : yes +fpu_exception : yes +cpuid level : 13 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold vmmcall bmi1 +bugs : fxsave_leak sysret_ss_attrs +bogomips : 8030.15 +TLB size : 1536 4K pages +clflush size : 64 +cache_alignment : 64 +address sizes : 48 bits physical, 48 bits virtual +power management: ts ttp tm 100mhzsteps hwpstate cpb eff_freq_ro + +# /proc/cpuinfo taken from https://www.redhat.com/archives/vfio-users/2015-August/msg00111.html \ No newline at end of file diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel7-broadwell b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel7-broadwell new file mode 100644 index 0000000000000000000000000000000000000000..427cd85bf2eaa24b98e80e26813658659b7a04a5 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel7-broadwell @@ -0,0 +1,25 @@ +processor : 0 +vendor_id : GenuineIntel +cpu family : 6 +model : 79 +model name : Intel(R) Xeon(R) CPU E5-2690 v4 @ 2.60GHz +stepping : 1 +microcode : 0xb00002a +cpu MHz : 2600.000 +cache size : 35840 KB +physical id : 0 +siblings : 14 +core id : 0 +cpu cores : 14 +apicid : 0 +initial apicid : 0 +fpu : yes +fpu_exception : yes +cpuid level : 20 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 cdp_l3 invpcid_single intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a rdseed adx smap xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local ibpb ibrs stibp dtherm arat pln pts spec_ctrl intel_stibp +bogomips : 5188.06 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel7-haswell b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel7-haswell new file mode 100644 index 0000000000000000000000000000000000000000..7bb5aa958f8b9254990bbdc31a32434b187fe067 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel7-haswell @@ -0,0 +1,25 @@ +processor : 0 +vendor_id : GenuineIntel +cpu family : 6 +model : 63 +model name : Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz +stepping : 2 +microcode : 0x3c +cpu MHz : 1757.910 +cache size : 30720 KB +physical id : 0 +siblings : 12 +core id : 0 +cpu cores : 12 +apicid : 0 +initial apicid : 0 +fpu : yes +fpu_exception : yes +cpuid level : 15 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb invpcid_single tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm xsaveopt cqm_llc cqm_occup_llc ibpb ibrs stibp dtherm arat pln pts spec_ctrl intel_stibp +bogomips : 4987.97 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel7-skylake_avx512 b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel7-skylake_avx512 new file mode 100644 index 0000000000000000000000000000000000000000..e9ab1987ddab06277177db82f6a5b590b901f276 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel7-skylake_avx512 @@ -0,0 +1,25 @@ +processor : 0 +vendor_id : GenuineIntel +cpu family : 6 +model : 85 +model name : Intel(R) Xeon(R) Gold 6132 CPU @ 2.60GHz +stepping : 4 +microcode : 0x200004d +cpu MHz : 2600.000 +cache size : 19712 KB +physical id : 0 +siblings : 14 +core id : 0 +cpu cores : 14 +apicid : 0 +initial apicid : 0 +fpu : yes +fpu_exception : yes +cpuid level : 22 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 cdp_l3 invpcid_single intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local ibpb ibrs stibp dtherm ida arat pln pts spec_ctrl intel_stibp ssbd +bogomips : 5200.00 +clflush size : 64 +cache_alignment : 64 +address sizes : 46 bits physical, 48 bits virtual +power management: diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel8-power9 b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel8-power9 new file mode 100644 index 0000000000000000000000000000000000000000..7e1a89b631b51a03e4eeb94783abc422e5af64f5 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel8-power9 @@ -0,0 +1,4 @@ +processor : 0 +cpu : POWER9, altivec supported +clock : 3666.000000MHz +revision : 2.2 (pvr 004e 1202) diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel9-neoverse_n2 b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel9-neoverse_n2 new file mode 100644 index 0000000000000000000000000000000000000000..f47458f51374540fbe53cb5bf7d7d9b5717c341a --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel9-neoverse_n2 @@ -0,0 +1,8 @@ +processor : 0 +BogoMIPS : 2100.00 +Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb dcpodp sve2 sveaes svepmull svebitperm svesha3 flagm2 frint svei8mm svebf16 i8mm bf16 dgh +CPU implementer : 0x41 +CPU architecture: 8 +CPU variant : 0x0 +CPU part : 0xd49 +CPU revision : 0 diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel9-neoverse_v2 b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel9-neoverse_v2 new file mode 100644 index 0000000000000000000000000000000000000000..cd5024170f79f726dc9ca8ee8106b8d0d23ce40d --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rhel9-neoverse_v2 @@ -0,0 +1,8 @@ +processor : 0 +BogoMIPS : 2000.00 +Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh +CPU implementer : 0x41 +CPU architecture: 8 +CPU variant : 0x0 +CPU part : 0xd4f +CPU revision : 0 diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rocky8-a64fx b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rocky8-a64fx new file mode 100644 index 0000000000000000000000000000000000000000..2484dbe3e77128c56eff71ab117b62b003889746 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rocky8-a64fx @@ -0,0 +1,8 @@ +processor : 0 +BogoMIPS : 200.00 +Features : fp asimd evtstrm sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm fcma dcpop sve +CPU implementer : 0x46 +CPU architecture: 8 +CPU variant : 0x1 +CPU part : 0x001 +CPU revision : 0 diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rocky8.5-zen4 b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rocky8.5-zen4 new file mode 100644 index 0000000000000000000000000000000000000000..aa1c08bd1d68596efd425aa396244116f3e5114e --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-rocky8.5-zen4 @@ -0,0 +1,27 @@ +processor : 0 +vendor_id : AuthenticAMD +cpu family : 25 +model : 17 +model name : AMD EPYC 9654 96-Core Processor +stepping : 1 +microcode : 0xa10110d +cpu MHz : 2400.000 +cache size : 1024 KB +physical id : 0 +siblings : 96 +core id : 0 +cpu cores : 96 +apicid : 0 +initial apicid : 0 +fpu : yes +fpu_exception : yes +cpuid level : 16 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 invpcid_single hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local avx512_bf16 clzero irperf xsaveerptr wbnoinvd amd_ppin arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpid overflow_recov succor smca fsrm flush_l1d sme sev sev_es +bugs : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass +bogomips : 4792.38 +TLB size : 3584 4K pages +clflush size : 64 +cache_alignment : 64 +address sizes : 52 bits physical, 57 bits virtual +power management: ts ttp tm hwpstate cpb eff_freq_ro [13] [14] diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-scientificfermi6-piledriver b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-scientificfermi6-piledriver new file mode 100644 index 0000000000000000000000000000000000000000..a87afeee612e1a71e7431ab0531f8d9c7c5564d7 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-scientificfermi6-piledriver @@ -0,0 +1,25 @@ +processor : 31 +vendor_id : AuthenticAMD +cpu family : 21 +model : 2 +model name : AMD Opteron(tm) Processor 6320 +stepping : 0 +cpu MHz : 2800.154 +cache size : 2048 KB +physical id : 3 +siblings : 8 +core id : 3 +cpu cores : 4 +apicid : 135 +initial apicid : 103 +fpu : yes +fpu_exception : yes +cpuid level : 13 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nonstop_tsc extd_apicid amd_dcm aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb cpb ssbd retpoline ibpb npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold bmi1 +bogomips : 5599.22 +TLB size : 1536 4K pages +clflush size : 64 +cache_alignment : 64 +address sizes : 48 bits physical, 48 bits virtual +power management: ts ttp tm 100mhzsteps hwpstate cpb eff_freq_ro diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-ubuntu20.04-zen3 b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-ubuntu20.04-zen3 new file mode 100644 index 0000000000000000000000000000000000000000..9d1f572b7ad812cdf5fc3c00def508841d073300 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-ubuntu20.04-zen3 @@ -0,0 +1,27 @@ +processor : 0 +vendor_id : AuthenticAMD +cpu family : 25 +model : 33 +model name : AMD Ryzen 9 5950X 16-Core Processor +stepping : 0 +microcode : 0xa201009 +cpu MHz : 2122.858 +cache size : 512 KB +physical id : 0 +siblings : 32 +core id : 0 +cpu cores : 16 +apicid : 0 +initial apicid : 0 +fpu : yes +fpu_exception : yes +cpuid level : 16 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca +bugs : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass +bogomips : 6786.81 +TLB size : 2560 4K pages +clflush size : 64 +cache_alignment : 64 +address sizes : 48 bits physical, 48 bits virtual +power management: ts ttp tm hwpstate cpb eff_freq_ro [13] [14] diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-ubuntu22.04-neoverse_n2 b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-ubuntu22.04-neoverse_n2 new file mode 100644 index 0000000000000000000000000000000000000000..cf555d2f49d236ed990db2791763b0eff5e61357 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-ubuntu22.04-neoverse_n2 @@ -0,0 +1,8 @@ +processor : 0 +BogoMIPS : 2000.00 +Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 flagm2 frint svei8mm svebf16 i8mm bf16 +CPU implementer : 0x41 +CPU architecture: 8 +CPU variant : 0x0 +CPU part : 0xd49 +CPU revision : 0 \ No newline at end of file diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-ubuntu22.04-neoverse_v2 b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-ubuntu22.04-neoverse_v2 new file mode 100644 index 0000000000000000000000000000000000000000..c3c8433415d7a08c60057c01a91bafceba4923e7 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/json/tests/targets/linux-ubuntu22.04-neoverse_v2 @@ -0,0 +1,8 @@ +processor : 0 +BogoMIPS : 2000.00 +Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti +CPU implementer : 0x41 +CPU architecture: 8 +CPU variant : 0x0 +CPU part : 0xd4f +CPU revision : 0 diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/vendor/cpuid/.gitignore b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/vendor/cpuid/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..c9b568f7eac5edcb35307bb793869b2c20e5ae41 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/vendor/cpuid/.gitignore @@ -0,0 +1,2 @@ +*.pyc +*.swp diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/vendor/cpuid/LICENSE b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/vendor/cpuid/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..af36480022f9ffcd2ea82399328e271788b55503 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/vendor/cpuid/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2014 Anders Høst + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/vendor/cpuid/README.md b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/vendor/cpuid/README.md new file mode 100644 index 0000000000000000000000000000000000000000..4c79e37d86ce7e77133dad5cae2ea6e4e02a7d0d --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/vendor/cpuid/README.md @@ -0,0 +1,76 @@ +cpuid.py +======== + +Now, this is silly! + +Pure Python library for accessing information about x86 processors +by querying the [CPUID](http://en.wikipedia.org/wiki/CPUID) +instruction. Well, not exactly pure Python... + +It works by allocating a small piece of virtual memory, copying +a raw x86 function to that memory, giving the memory execute +permissions and then calling the memory as a function. The injected +function executes the CPUID instruction and copies the result back +to a ctypes.Structure where is can be read by Python. + +It should work fine on both 32 and 64 bit versions of Windows and Linux +running x86 processors. Apple OS X and other BSD systems should also work, +not tested though... + + +Why? +---- +For poops and giggles. Plus, having access to a low-level feature +without having to compile a C wrapper is pretty neat. + + +Examples +-------- +Getting info with eax=0: + + import cpuid + + q = cpuid.CPUID() + eax, ebx, ecx, edx = q(0) + +Running the files: + + $ python example.py + Vendor ID : GenuineIntel + CPU name : Intel(R) Xeon(R) CPU W3550 @ 3.07GHz + + Vector instructions supported: + SSE : Yes + SSE2 : Yes + SSE3 : Yes + SSSE3 : Yes + SSE4.1 : Yes + SSE4.2 : Yes + SSE4a : -- + AVX : -- + AVX2 : -- + + $ python cpuid.py + CPUID A B C D + 00000000 0000000b 756e6547 6c65746e 49656e69 + 00000001 000106a5 00100800 009ce3bd bfebfbff + 00000002 55035a01 00f0b2e4 00000000 09ca212c + 00000003 00000000 00000000 00000000 00000000 + 00000004 00000000 00000000 00000000 00000000 + 00000005 00000040 00000040 00000003 00001120 + 00000006 00000003 00000002 00000001 00000000 + 00000007 00000000 00000000 00000000 00000000 + 00000008 00000000 00000000 00000000 00000000 + 00000009 00000000 00000000 00000000 00000000 + 0000000a 07300403 00000044 00000000 00000603 + 0000000b 00000000 00000000 00000095 00000000 + 80000000 80000008 00000000 00000000 00000000 + 80000001 00000000 00000000 00000001 28100800 + 80000002 65746e49 2952286c 6f655820 2952286e + 80000003 55504320 20202020 20202020 57202020 + 80000004 30353533 20402020 37302e33 007a4847 + 80000005 00000000 00000000 00000000 00000000 + 80000006 00000000 00000000 01006040 00000000 + 80000007 00000000 00000000 00000000 00000100 + 80000008 00003024 00000000 00000000 00000000 + diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/vendor/cpuid/cpuid.py b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/vendor/cpuid/cpuid.py new file mode 100644 index 0000000000000000000000000000000000000000..79c15d16d1ab7e4149de287823e22eeaf2218e19 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/vendor/cpuid/cpuid.py @@ -0,0 +1,172 @@ +# -*- coding: utf-8 -*- +# +# Copyright (c) 2024 Anders Høst +# + +from __future__ import print_function + +import platform +import os +import ctypes +from ctypes import c_uint32, c_long, c_ulong, c_size_t, c_void_p, POINTER, CFUNCTYPE + +# Posix x86_64: +# Three first call registers : RDI, RSI, RDX +# Volatile registers : RAX, RCX, RDX, RSI, RDI, R8-11 + +# Windows x86_64: +# Three first call registers : RCX, RDX, R8 +# Volatile registers : RAX, RCX, RDX, R8-11 + +# cdecl 32 bit: +# Three first call registers : Stack (%esp) +# Volatile registers : EAX, ECX, EDX + +_POSIX_64_OPC = [ + 0x53, # push %rbx + 0x89, 0xf0, # mov %esi,%eax + 0x89, 0xd1, # mov %edx,%ecx + 0x0f, 0xa2, # cpuid + 0x89, 0x07, # mov %eax,(%rdi) + 0x89, 0x5f, 0x04, # mov %ebx,0x4(%rdi) + 0x89, 0x4f, 0x08, # mov %ecx,0x8(%rdi) + 0x89, 0x57, 0x0c, # mov %edx,0xc(%rdi) + 0x5b, # pop %rbx + 0xc3 # retq +] + +_WINDOWS_64_OPC = [ + 0x53, # push %rbx + 0x89, 0xd0, # mov %edx,%eax + 0x49, 0x89, 0xc9, # mov %rcx,%r9 + 0x44, 0x89, 0xc1, # mov %r8d,%ecx + 0x0f, 0xa2, # cpuid + 0x41, 0x89, 0x01, # mov %eax,(%r9) + 0x41, 0x89, 0x59, 0x04, # mov %ebx,0x4(%r9) + 0x41, 0x89, 0x49, 0x08, # mov %ecx,0x8(%r9) + 0x41, 0x89, 0x51, 0x0c, # mov %edx,0xc(%r9) + 0x5b, # pop %rbx + 0xc3 # retq +] + +_CDECL_32_OPC = [ + 0x53, # push %ebx + 0x57, # push %edi + 0x8b, 0x7c, 0x24, 0x0c, # mov 0xc(%esp),%edi + 0x8b, 0x44, 0x24, 0x10, # mov 0x10(%esp),%eax + 0x8b, 0x4c, 0x24, 0x14, # mov 0x14(%esp),%ecx + 0x0f, 0xa2, # cpuid + 0x89, 0x07, # mov %eax,(%edi) + 0x89, 0x5f, 0x04, # mov %ebx,0x4(%edi) + 0x89, 0x4f, 0x08, # mov %ecx,0x8(%edi) + 0x89, 0x57, 0x0c, # mov %edx,0xc(%edi) + 0x5f, # pop %edi + 0x5b, # pop %ebx + 0xc3 # ret +] + +is_windows = os.name == "nt" +is_64bit = ctypes.sizeof(ctypes.c_voidp) == 8 + + +class CPUID_struct(ctypes.Structure): + _register_names = ("eax", "ebx", "ecx", "edx") + _fields_ = [(r, c_uint32) for r in _register_names] + + def __getitem__(self, item): + if item not in self._register_names: + raise KeyError(item) + return getattr(self, item) + + def __repr__(self): + return "eax=0x{:x}, ebx=0x{:x}, ecx=0x{:x}, edx=0x{:x}".format(self.eax, self.ebx, self.ecx, self.edx) + + +class CPUID(object): + def __init__(self): + if platform.machine() not in ("AMD64", "x86_64", "x86", "i686"): + raise SystemError("Only available for x86") + + if is_windows: + if is_64bit: + # VirtualAlloc seems to fail under some weird + # circumstances when ctypes.windll.kernel32 is + # used under 64 bit Python. CDLL fixes this. + self.win = ctypes.CDLL("kernel32.dll") + opc = _WINDOWS_64_OPC + else: + # Here ctypes.windll.kernel32 is needed to get the + # right DLL. Otherwise it will fail when running + # 32 bit Python on 64 bit Windows. + self.win = ctypes.windll.kernel32 + opc = _CDECL_32_OPC + else: + opc = _POSIX_64_OPC if is_64bit else _CDECL_32_OPC + + size = len(opc) + code = (ctypes.c_ubyte * size)(*opc) + + if is_windows: + self.win.VirtualAlloc.restype = c_void_p + self.win.VirtualAlloc.argtypes = [ctypes.c_void_p, ctypes.c_size_t, ctypes.c_ulong, ctypes.c_ulong] + self.addr = self.win.VirtualAlloc(None, size, 0x1000, 0x40) + if not self.addr: + raise MemoryError("Could not allocate RWX memory") + ctypes.memmove(self.addr, code, size) + else: + from mmap import ( + mmap, + MAP_PRIVATE, + MAP_ANONYMOUS, + PROT_WRITE, + PROT_READ, + PROT_EXEC, + ) + self.mm = mmap( + -1, + size, + flags=MAP_PRIVATE | MAP_ANONYMOUS, + prot=PROT_WRITE | PROT_READ | PROT_EXEC, + ) + self.mm.write(code) + self.addr = ctypes.addressof(ctypes.c_int.from_buffer(self.mm)) + + func_type = CFUNCTYPE(None, POINTER(CPUID_struct), c_uint32, c_uint32) + self.func_ptr = func_type(self.addr) + + def __call__(self, eax, ecx=0): + struct = self.registers_for(eax=eax, ecx=ecx) + return struct.eax, struct.ebx, struct.ecx, struct.edx + + def registers_for(self, eax, ecx=0): + """Calls cpuid with eax and ecx set as the input arguments, and returns a structure + containing eax, ebx, ecx, and edx. + """ + struct = CPUID_struct() + self.func_ptr(struct, eax, ecx) + return struct + + def __del__(self): + if is_windows: + self.win.VirtualFree.restype = c_long + self.win.VirtualFree.argtypes = [c_void_p, c_size_t, c_ulong] + self.win.VirtualFree(self.addr, 0, 0x8000) + else: + self.mm.close() + + + +if __name__ == "__main__": + def valid_inputs(): + cpuid = CPUID() + for eax in (0x0, 0x80000000): + highest, _, _, _ = cpuid(eax) + while eax <= highest: + regs = cpuid(eax) + yield (eax, regs) + eax += 1 + + + print(" ".join(x.ljust(8) for x in ("CPUID", "A", "B", "C", "D")).strip()) + for eax, regs in valid_inputs(): + print("%08x" % eax, " ".join("%08x" % reg for reg in regs)) diff --git a/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/vendor/cpuid/example.py b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/vendor/cpuid/example.py new file mode 100644 index 0000000000000000000000000000000000000000..e07e3c15215b0a9411eb1c4cb6322ecb0fbe8892 --- /dev/null +++ b/data/miniconda3/pkgs/archspec-0.2.5-pyhd3eb1b0_0/site-packages/archspec/vendor/cpuid/example.py @@ -0,0 +1,62 @@ +# -*- coding: utf-8 -*- +# +# Copyright (c) 2024 Anders Høst +# + +from __future__ import print_function + +import struct +import cpuid + + +def cpu_vendor(cpu): + _, b, c, d = cpu(0) + return struct.pack("III", b, d, c).decode("utf-8") + + +def cpu_name(cpu): + name = "".join((struct.pack("IIII", *cpu(0x80000000 + i)).decode("utf-8") + for i in range(2, 5))) + + return name.split('\x00', 1)[0] + + +def is_set(cpu, leaf, subleaf, reg_idx, bit): + """ + @param {leaf} %eax + @param {sublead} %ecx, 0 in most cases + @param {reg_idx} idx of [%eax, %ebx, %ecx, %edx], 0-based + @param {bit} bit of reg selected by {reg_idx}, 0-based + """ + + regs = cpu(leaf, subleaf) + + if (1 << bit) & regs[reg_idx]: + return "Yes" + else: + return "--" + + +if __name__ == "__main__": + cpu = cpuid.CPUID() + + print("Vendor ID : %s" % cpu_vendor(cpu)) + print("CPU name : %s" % cpu_name(cpu)) + print() + print("Vector instructions supported:") + print("SSE : %s" % is_set(cpu, 1, 0, 3, 25)) + print("SSE2 : %s" % is_set(cpu, 1, 0, 3, 26)) + print("SSE3 : %s" % is_set(cpu, 1, 0, 2, 0)) + print("SSSE3 : %s" % is_set(cpu, 1, 0, 2, 9)) + print("SSE4.1 : %s" % is_set(cpu, 1, 0, 2, 19)) + print("SSE4.2 : %s" % is_set(cpu, 1, 0, 2, 20)) + print("SSE4a : %s" % is_set(cpu, 0x80000001, 0, 2, 6)) + print("AVX : %s" % is_set(cpu, 1, 0, 2, 28)) + print("AVX2 : %s" % is_set(cpu, 7, 0, 1, 5)) + print("BMI1 : %s" % is_set(cpu, 7, 0, 1, 3)) + print("BMI2 : %s" % is_set(cpu, 7, 0, 1, 8)) + # Intel RDT CMT/MBM + print("L3 Monitoring : %s" % is_set(cpu, 0xf, 0, 3, 1)) + print("L3 Occupancy : %s" % is_set(cpu, 0xf, 1, 3, 0)) + print("L3 Total BW : %s" % is_set(cpu, 0xf, 1, 3, 1)) + print("L3 Local BW : %s" % is_set(cpu, 0xf, 1, 3, 2)) diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/about.json b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/about.json new file mode 100644 index 0000000000000000000000000000000000000000..cb8c92a716b3563dfed8fa8f8f01a27733eee7ad --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/about.json @@ -0,0 +1,165 @@ +{ + "channels": [ + "https://repo.anaconda.com/pkgs/main", + "https://repo.anaconda.com/pkgs/r", + "https://repo.anaconda.com/pkgs/main" + ], + "conda_build_version": "25.1.2", + "conda_version": "25.1.1", + "description": "Compiler for CUDA applications.\n", + "doc_url": "https://docs.nvidia.com/cuda/index.html", + "env_vars": { + "CIO_TEST": "" + }, + "extra": { + "copy_test_source_files": true, + "feedstock-name": "cuda-nvcc-impl", + "final": true, + "parent_recipe": { + "name": "cuda-nvcc-impl-split", + "path": "/home/task_175891970154079/cuda-nvcc-impl-feedstock/recipe", + "version": "12.8.93" + }, + "recipe-maintainers": [ + "conda-forge/cuda" + ] + }, + "home": "https://developer.nvidia.com/cuda-toolkit", + "identifiers": [], + "keywords": [], + "license": "LicenseRef-NVIDIA-End-User-License-Agreement", + "license_file": "LICENSE", + "license_url": "https://docs.nvidia.com/cuda/eula/index.html", + "root_pkgs": [ + "_libgcc_mutex 0.1 main", + "ca-certificates 2025.9.9 h06a4308_0", + "ld_impl_linux-64 2.40 h12ee557_0", + "libstdcxx-ng 11.2.0 h1234567_1", + "nlohmann_json 3.11.2 h6a678d5_0", + "pybind11-abi 5 hd3eb1b0_0", + "tzdata 2025a h04d1e81_0", + "libgomp 11.2.0 h1234567_1", + "_openmp_mutex 5.1 1_gnu", + "libgcc-ng 11.2.0 h1234567_1", + "bzip2 1.0.8 h5eee18b_6", + "c-ares 1.19.1 h5eee18b_0", + "cpp-expected 1.1.0 hdb19cb5_0", + "expat 2.6.4 h6a678d5_0", + "fmt 9.1.0 hdb19cb5_1", + "icu 73.1 h6a678d5_0", + "libev 4.33 h7f8727e_1", + "libffi 3.4.4 h6a678d5_1", + "libuuid 1.41.5 h5eee18b_0", + "lz4-c 1.9.4 h6a678d5_1", + "ncurses 6.4 h6a678d5_0", + "liblief 0.12.3 h6a678d5_0", + "reproc 14.2.4 h6a678d5_2", + "simdjson 3.10.1 hdb19cb5_0", + "xz 5.4.6 h5eee18b_1", + "yaml-cpp 0.8.0 h6a678d5_1", + "zlib 1.2.13 h5eee18b_1", + "libedit 3.1.20230828 h5eee18b_0", + "libnghttp2 1.57.0 h2d74bed_0", + "libssh2 1.11.1 h251f7ec_0", + "libxml2 2.13.5 hfdd30dd_0", + "pcre2 10.42 hebb0a14_1", + "readline 8.2 h5eee18b_0", + "reproc-cpp 14.2.4 h6a678d5_2", + "spdlog 1.11.0 hdb19cb5_0", + "tk 8.6.14 h39e8969_0", + "zstd 1.5.6 hc292b87_0", + "krb5 1.20.1 h143b758_1", + "libarchive 3.7.7 hfab0078_0", + "libsolv 0.7.30 he621ea3_1", + "sqlite 3.45.3 h5eee18b_0", + "libcurl 8.11.1 hc9e6f67_0", + "python 3.12.9 h5148396_0", + "libmamba 2.0.5 haf1ee3a_1", + "menuinst 2.2.0 py312h06a4308_1", + "anaconda-anon-usage 0.5.0 py312hfc0e8ea_100", + "annotated-types 0.6.0 py312h06a4308_0", + "archspec 0.2.3 pyhd3eb1b0_0", + "boltons 24.1.0 py312h06a4308_0", + "brotli-python 1.0.9 py312h6a678d5_9", + "charset-normalizer 3.3.2 pyhd3eb1b0_0", + "distro 1.9.0 py312h06a4308_0", + "frozendict 2.4.2 py312h06a4308_0", + "idna 3.7 py312h06a4308_0", + "jsonpointer 2.1 pyhd3eb1b0_0", + "libmambapy 2.0.5 py312hdb19cb5_1", + "mdurl 0.1.0 py312h06a4308_0", + "packaging 24.2 py312h06a4308_0", + "platformdirs 3.10.0 py312h06a4308_0", + "pluggy 1.5.0 py312h06a4308_0", + "pycosat 0.6.6 py312h5eee18b_2", + "pycparser 2.21 pyhd3eb1b0_0", + "pygments 2.15.1 py312h06a4308_1", + "pysocks 1.7.1 py312h06a4308_0", + "ruamel.yaml.clib 0.2.8 py312h5eee18b_0", + "setuptools 75.8.0 py312h06a4308_0", + "tqdm 4.67.1 py312he106c6f_0", + "truststore 0.10.0 py312h06a4308_0", + "typing_extensions 4.12.2 py312h06a4308_0", + "wheel 0.45.1 py312h06a4308_0", + "cffi 1.17.1 py312h1fdaa30_1", + "jsonpatch 1.33 py312h06a4308_1", + "markdown-it-py 2.2.0 py312h06a4308_1", + "pip 25.0 py312h06a4308_0", + "ruamel.yaml 0.18.6 py312h5eee18b_0", + "typing-extensions 4.12.2 py312h06a4308_0", + "urllib3 2.3.0 py312h06a4308_0", + "cryptography 43.0.3 py312h7825ff9_1", + "pydantic-core 2.27.1 py312h4aa5aa6_0", + "requests 2.32.3 py312h06a4308_1", + "rich 13.9.4 py312h06a4308_0", + "zstandard 0.23.0 py312h2c38b39_1", + "conda-content-trust 0.2.0 py312h06a4308_1", + "conda-package-streaming 0.11.0 py312h06a4308_0", + "pydantic 2.10.3 py312h06a4308_0", + "conda-package-handling 2.4.0 py312h06a4308_0", + "conda 25.1.1 py312h06a4308_0", + "conda-anaconda-tos 0.1.2 py312h06a4308_0", + "conda-libmamba-solver 25.1.1 pyhd3eb1b0_0", + "libsodium 1.0.18 h7b6447c_0", + "openssl 3.0.17 h5eee18b_0", + "patch 2.8 hb25bd0a_0", + "patchelf 0.17.2 h6a678d5_0", + "yaml 0.2.5 h7b6447c_0", + "argcomplete 3.6.2 py312h06a4308_0", + "attrs 24.3.0 py312h06a4308_0", + "certifi 2025.8.3 py312h06a4308_0", + "chardet 5.2.0 py312h06a4308_0", + "click 8.2.1 py312h06a4308_0", + "filelock 3.17.0 py312h06a4308_0", + "jmespath 1.0.1 py312h06a4308_0", + "markupsafe 3.0.2 py312h5eee18b_0", + "more-itertools 10.3.0 py312h06a4308_0", + "pkginfo 1.12.0 py312h06a4308_0", + "psutil 7.0.0 py312hee96239_0", + "py-lief 0.12.3 py312h6a678d5_0", + "python-libarchive-c 5.1 pyhd3eb1b0_0", + "pytz 2025.2 py312h06a4308_0", + "pyyaml 6.0.2 py312h5eee18b_0", + "rpds-py 0.22.3 py312h4aa5aa6_0", + "six 1.17.0 py312h06a4308_0", + "soupsieve 2.5 py312h06a4308_0", + "tomlkit 0.13.2 py312h06a4308_0", + "xmltodict 0.14.2 py312h06a4308_0", + "jinja2 3.1.6 py312h06a4308_0", + "python-dateutil 2.9.0post0 py312h06a4308_2", + "referencing 0.30.2 py312h06a4308_0", + "yq 3.4.3 py312h06a4308_0", + "beautifulsoup4 4.13.5 py312h06a4308_0", + "botocore 1.37.10 py312h06a4308_0", + "jsonschema-specifications 2023.7.1 py312h06a4308_0", + "pynacl 1.5.0 py312h5eee18b_1", + "jsonschema 4.25.0 py312h06a4308_0", + "s3transfer 0.11.2 py312h06a4308_0", + "boto3 1.37.10 py312h06a4308_0", + "conda-anaconda-telemetry 0.3.0 pyhd3eb1b0_1", + "conda-index 0.5.0 py312h06a4308_0", + "conda-build 25.1.2 py312h06a4308_0" + ], + "summary": "Compiler for CUDA applications.", + "tags": [] +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/files b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/files new file mode 100644 index 0000000000000000000000000000000000000000..59e51b05b160b1e25bd305b7cb5e061b378d243a --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/files @@ -0,0 +1,4 @@ +nvvm/include/nvvm.h +nvvm/lib64/libnvvm.so +nvvm/lib64/libnvvm.so.4 +nvvm/lib64/libnvvm.so.4.0.0 diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/git b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/git new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/hash_input.json b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/hash_input.json new file mode 100644 index 0000000000000000000000000000000000000000..f22aab118c9a82d7b33b28f8f1eb99254576bc0c --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/hash_input.json @@ -0,0 +1,11 @@ +{ + "c_compiler_version": "11.2.0", + "c_compiler": "gcc", + "target_platform": "linux-64", + "cxx_compiler": "gxx", + "c_stdlib_version": "2.28", + "c_stdlib": "sysroot", + "cxx_compiler_version": "11.2.0", + "channel_targets": "defaults", + "__glibc": "__glibc >=2.28,<3.0.a0" +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/index.json b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/index.json new file mode 100644 index 0000000000000000000000000000000000000000..d2aac8c083e706d1c9d1f12332ce679ed64f7ef4 --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/index.json @@ -0,0 +1,17 @@ +{ + "arch": "x86_64", + "build": "hbdd6827_3", + "build_number": 3, + "depends": [ + "__glibc >=2.28,<3.0.a0", + "cuda-version >=12.8,<12.9.0a0", + "libgcc-ng >=11.2.0", + "libstdcxx-ng >=11.2.0" + ], + "license": "LicenseRef-NVIDIA-End-User-License-Agreement", + "name": "cuda-nvvm-impl", + "platform": "linux", + "subdir": "linux-64", + "timestamp": 1758920534590, + "version": "12.8.93" +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/licenses/LICENSE b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/licenses/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..6622367aff6567f25c18f500137a36caf101ea50 --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/licenses/LICENSE @@ -0,0 +1,1632 @@ +End User License Agreement +-------------------------- + +NVIDIA Software License Agreement and CUDA Supplement to +Software License Agreement. + +The CUDA Toolkit End User License Agreement applies to the +NVIDIA CUDA Toolkit, the NVIDIA CUDA Samples, the NVIDIA +Display Driver, NVIDIA Nsight tools (Visual Studio Edition), +and the associated documentation on CUDA APIs, programming +model and development tools. If you do not agree with the +terms and conditions of the license agreement, then do not +download or use the software. + +Last updated: January 12, 2024. + + +Preface +------- + +The Software License Agreement in Chapter 1 and the Supplement +in Chapter 2 contain license terms and conditions that govern +the use of NVIDIA toolkit. By accepting this agreement, you +agree to comply with all the terms and conditions applicable +to the product(s) included herein. + + +NVIDIA Driver + + +Description + +This package contains the operating system driver and +fundamental system software components for NVIDIA GPUs. + + +NVIDIA CUDA Toolkit + + +Description + +The NVIDIA CUDA Toolkit provides command-line and graphical +tools for building, debugging and optimizing the performance +of applications accelerated by NVIDIA GPUs, runtime and math +libraries, and documentation including programming guides, +user manuals, and API references. + + +Default Install Location of CUDA Toolkit + +Windows platform: + +%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v#.# + +Linux platform: + +/usr/local/cuda-#.# + +Mac platform: + +/Developer/NVIDIA/CUDA-#.# + + +NVIDIA CUDA Samples + + +Description + +CUDA Samples are now located in +https://github.com/nvidia/cuda-samples, which includes +instructions for obtaining, building, and running the samples. +They are no longer included in the CUDA toolkit. + + +NVIDIA Nsight Visual Studio Edition (Windows only) + + +Description + +NVIDIA Nsight Development Platform, Visual Studio Edition is a +development environment integrated into Microsoft Visual +Studio that provides tools for debugging, profiling, analyzing +and optimizing your GPU computing and graphics applications. + + +Default Install Location of Nsight Visual Studio Edition + +Windows platform: + +%ProgramFiles(x86)%\NVIDIA Corporation\Nsight Visual Studio Edition #.# + + +1. License Agreement for NVIDIA Software Development Kits +--------------------------------------------------------- + + +Important Notice—Read before downloading, installing, +copying or using the licensed software: +------------------------------------------------------- + +This license agreement, including exhibits attached +("Agreement”) is a legal agreement between you and NVIDIA +Corporation ("NVIDIA") and governs your use of a NVIDIA +software development kit (“SDK”). + +Each SDK has its own set of software and materials, but here +is a description of the types of items that may be included in +a SDK: source code, header files, APIs, data sets and assets +(examples include images, textures, models, scenes, videos, +native API input/output files), binary software, sample code, +libraries, utility programs, programming code and +documentation. + +This Agreement can be accepted only by an adult of legal age +of majority in the country in which the SDK is used. + +If you are entering into this Agreement on behalf of a company +or other legal entity, you represent that you have the legal +authority to bind the entity to this Agreement, in which case +“you” will mean the entity you represent. + +If you don’t have the required age or authority to accept +this Agreement, or if you don’t accept all the terms and +conditions of this Agreement, do not download, install or use +the SDK. + +You agree to use the SDK only for purposes that are permitted +by (a) this Agreement, and (b) any applicable law, regulation +or generally accepted practices or guidelines in the relevant +jurisdictions. + + +1.1. License + + +1.1.1. License Grant + +Subject to the terms of this Agreement, NVIDIA hereby grants +you a non-exclusive, non-transferable license, without the +right to sublicense (except as expressly provided in this +Agreement) to: + + 1. Install and use the SDK, + + 2. Modify and create derivative works of sample source code + delivered in the SDK, and + + 3. Distribute those portions of the SDK that are identified + in this Agreement as distributable, as incorporated in + object code format into a software application that meets + the distribution requirements indicated in this Agreement. + + +1.1.2. Distribution Requirements + +These are the distribution requirements for you to exercise +the distribution grant: + + 1. Your application must have material additional + functionality, beyond the included portions of the SDK. + + 2. The distributable portions of the SDK shall only be + accessed by your application. + + 3. The following notice shall be included in modifications + and derivative works of sample source code distributed: + “This software contains source code provided by NVIDIA + Corporation.” + + 4. Unless a developer tool is identified in this Agreement + as distributable, it is delivered for your internal use + only. + + 5. The terms under which you distribute your application + must be consistent with the terms of this Agreement, + including (without limitation) terms relating to the + license grant and license restrictions and protection of + NVIDIA’s intellectual property rights. Additionally, you + agree that you will protect the privacy, security and + legal rights of your application users. + + 6. You agree to notify NVIDIA in writing of any known or + suspected distribution or use of the SDK not in compliance + with the requirements of this Agreement, and to enforce + the terms of your agreements with respect to distributed + SDK. + + +1.1.3. Authorized Users + +You may allow employees and contractors of your entity or of +your subsidiary(ies) to access and use the SDK from your +secure network to perform work on your behalf. + +If you are an academic institution you may allow users +enrolled or employed by the academic institution to access and +use the SDK from your secure network. + +You are responsible for the compliance with the terms of this +Agreement by your authorized users. If you become aware that +your authorized users didn’t follow the terms of this +Agreement, you agree to take reasonable steps to resolve the +non-compliance and prevent new occurrences. + + +1.1.4. Pre-Release SDK + +The SDK versions identified as alpha, beta, preview or +otherwise as pre-release, may not be fully functional, may +contain errors or design flaws, and may have reduced or +different security, privacy, accessibility, availability, and +reliability standards relative to commercial versions of +NVIDIA software and materials. Use of a pre-release SDK may +result in unexpected results, loss of data, project delays or +other unpredictable damage or loss. + +You may use a pre-release SDK at your own risk, understanding +that pre-release SDKs are not intended for use in production +or business-critical systems. + +NVIDIA may choose not to make available a commercial version +of any pre-release SDK. NVIDIA may also choose to abandon +development and terminate the availability of a pre-release +SDK at any time without liability. + + +1.1.5. Updates + +NVIDIA may, at its option, make available patches, workarounds +or other updates to this SDK. Unless the updates are provided +with their separate governing terms, they are deemed part of +the SDK licensed to you as provided in this Agreement. You +agree that the form and content of the SDK that NVIDIA +provides may change without prior notice to you. While NVIDIA +generally maintains compatibility between versions, NVIDIA may +in some cases make changes that introduce incompatibilities in +future versions of the SDK. + + +1.1.6. Components Under Other Licenses + +The SDK may come bundled with, or otherwise include or be +distributed with, NVIDIA or third-party components with +separate legal notices or terms as may be described in +proprietary notices accompanying the SDK. If and to the extent +there is a conflict between the terms in this Agreement and +the license terms associated with the component, the license +terms associated with the components control only to the +extent necessary to resolve the conflict. + +Subject to the other terms of this Agreement, you may use the +SDK to develop and test applications released under Open +Source Initiative (OSI) approved open source software +licenses. + + +1.1.7. Reservation of Rights + +NVIDIA reserves all rights, title, and interest in and to the +SDK, not expressly granted to you under this Agreement. + + +1.2. Limitations + +The following license limitations apply to your use of the +SDK: + + 1. You may not reverse engineer, decompile or disassemble, + or remove copyright or other proprietary notices from any + portion of the SDK or copies of the SDK. + + 2. Except as expressly provided in this Agreement, you may + not copy, sell, rent, sublicense, transfer, distribute, + modify, or create derivative works of any portion of the + SDK. For clarity, you may not distribute or sublicense the + SDK as a stand-alone product. + + 3. Unless you have an agreement with NVIDIA for this + purpose, you may not indicate that an application created + with the SDK is sponsored or endorsed by NVIDIA. + + 4. You may not bypass, disable, or circumvent any + encryption, security, digital rights management or + authentication mechanism in the SDK. + + 5. You may not use the SDK in any manner that would cause it + to become subject to an open source software license. As + examples, licenses that require as a condition of use, + modification, and/or distribution that the SDK be: + + a. Disclosed or distributed in source code form; + + b. Licensed for the purpose of making derivative works; + or + + c. Redistributable at no charge. + + 6. You acknowledge that the SDK as delivered is not tested + or certified by NVIDIA for use in connection with the + design, construction, maintenance, and/or operation of any + system where the use or failure of such system could + result in a situation that threatens the safety of human + life or results in catastrophic damages (each, a "Critical + Application"). Examples of Critical Applications include + use in avionics, navigation, autonomous vehicle + applications, ai solutions for automotive products, + military, medical, life support or other life critical + applications. NVIDIA shall not be liable to you or any + third party, in whole or in part, for any claims or + damages arising from such uses. You are solely responsible + for ensuring that any product or service developed with + the SDK as a whole includes sufficient features to comply + with all applicable legal and regulatory standards and + requirements. + + 7. You agree to defend, indemnify and hold harmless NVIDIA + and its affiliates, and their respective employees, + contractors, agents, officers and directors, from and + against any and all claims, damages, obligations, losses, + liabilities, costs or debt, fines, restitutions and + expenses (including but not limited to attorney’s fees + and costs incident to establishing the right of + indemnification) arising out of or related to products or + services that use the SDK in or for Critical Applications, + and for use of the SDK outside of the scope of this + Agreement or not in compliance with its terms. + + 8. You may not reverse engineer, decompile or disassemble + any portion of the output generated using SDK elements for + the purpose of translating such output artifacts to target + a non-NVIDIA platform. + + +1.3. Ownership + + 1. NVIDIA or its licensors hold all rights, title and + interest in and to the SDK and its modifications and + derivative works, including their respective intellectual + property rights, subject to your rights under Section + 1.3.2. This SDK may include software and materials from + NVIDIA’s licensors, and these licensors are intended + third party beneficiaries that may enforce this Agreement + with respect to their intellectual property rights. + + 2. You hold all rights, title and interest in and to your + applications and your derivative works of the sample + source code delivered in the SDK, including their + respective intellectual property rights, subject to + NVIDIA’s rights under Section 1.3.1. + + 3. You may, but don’t have to, provide to NVIDIA + suggestions, feature requests or other feedback regarding + the SDK, including possible enhancements or modifications + to the SDK. For any feedback that you voluntarily provide, + you hereby grant NVIDIA and its affiliates a perpetual, + non-exclusive, worldwide, irrevocable license to use, + reproduce, modify, license, sublicense (through multiple + tiers of sublicensees), and distribute (through multiple + tiers of distributors) it without the payment of any + royalties or fees to you. NVIDIA will use feedback at its + choice. NVIDIA is constantly looking for ways to improve + its products, so you may send feedback to NVIDIA through + the developer portal at https://developer.nvidia.com. + + +1.4. No Warranties + +THE SDK IS PROVIDED BY NVIDIA “AS IS” AND “WITH ALL +FAULTS.” TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND +ITS AFFILIATES EXPRESSLY DISCLAIM ALL WARRANTIES OF ANY KIND +OR NATURE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, +BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT, OR THE +ABSENCE OF ANY DEFECTS THEREIN, WHETHER LATENT OR PATENT. NO +WARRANTY IS MADE ON THE BASIS OF TRADE USAGE, COURSE OF +DEALING OR COURSE OF TRADE. + + +1.5. Limitation of Liability + +TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND ITS +AFFILIATES SHALL NOT BE LIABLE FOR ANY (I) SPECIAL, INCIDENTAL, +PUNITIVE OR CONSEQUENTIAL DAMAGES, OR (II) DAMAGES FOR (A) ANY +LOST PROFITS, LOSS OF USE, LOSS OF DATA OR LOSS OF GOODWILL, +OR THE COSTS OF PROCURING SUBSTITUTE PRODUCTS, ARISING OUT OF +OR IN CONNECTION WITH THIS AGREEMENT OR THE USE OR PERFORMANCE +OF THE SDK, WHETHER SUCH LIABILITY ARISES FROM ANY CLAIM BASED +UPON BREACH OF CONTRACT, BREACH OF WARRANTY, TORT (INCLUDING +NEGLIGENCE), PRODUCT LIABILITY OR ANY OTHER CAUSE OF ACTION OR +THEORY OF LIABILITY. IN NO EVENT WILL NVIDIA’S AND ITS AFFILIATES +TOTAL CUMULATIVE LIABILITY UNDER OR ARISING OUT OF THIS +AGREEMENT EXCEED US$10.00. THE NATURE OF THE LIABILITY OR THE +NUMBER OF CLAIMS OR SUITS SHALL NOT ENLARGE OR EXTEND THIS +LIMIT. + +These exclusions and limitations of liability shall apply +regardless if NVIDIA or its affiliates have been advised of +the possibility of such damages, and regardless of whether a +remedy fails its essential purpose. These exclusions and +limitations of liability form an essential basis of the +bargain between the parties, and, absent any of these +exclusions or limitations of liability, the provisions of this +Agreement, including, without limitation, the economic terms, +would be substantially different. + + +1.6. Termination + + 1. This Agreement will continue to apply until terminated by + either you or NVIDIA as described below. + + 2. If you want to terminate this Agreement, you may do so by + stopping to use the SDK. + + 3. NVIDIA may, at any time, terminate this Agreement if: + + a. (i) you fail to comply with any term of this + Agreement and the non-compliance is not fixed within + thirty (30) days following notice from NVIDIA (or + immediately if you violate NVIDIA’s intellectual + property rights); + + b. (ii) you commence or participate in any legal + proceeding against NVIDIA with respect to the SDK; or + + c. (iii) NVIDIA decides to no longer provide the SDK in + a country or, in NVIDIA’s sole discretion, the + continued use of it is no longer commercially viable. + + 4. Upon any termination of this Agreement, you agree to + promptly discontinue use of the SDK and destroy all copies + in your possession or control. Your prior distributions in + accordance with this Agreement are not affected by the + termination of this Agreement. Upon written request, you + will certify in writing that you have complied with your + commitments under this section. Upon any termination of + this Agreement all provisions survive except for the + license grant provisions. + + +1.7. General + +If you wish to assign this Agreement or your rights and +obligations, including by merger, consolidation, dissolution +or operation of law, contact NVIDIA to ask for permission. Any +attempted assignment not approved by NVIDIA in writing shall +be void and of no effect. NVIDIA may assign, delegate or +transfer this Agreement and its rights and obligations, and if +to a non-affiliate you will be notified. + +You agree to cooperate with NVIDIA and provide reasonably +requested information to verify your compliance with this +Agreement. + +This Agreement will be governed in all respects by the laws of +the United States and of the State of Delaware, without regard to the +conflicts of laws principles. The United Nations Convention on +Contracts for the International Sale of Goods is specifically +disclaimed. You agree to all terms of this Agreement in the +English language. + +The state or federal courts residing in Santa Clara County, +California shall have exclusive jurisdiction over any dispute +or claim arising out of this Agreement. Notwithstanding this, +you agree that NVIDIA shall still be allowed to apply for +injunctive remedies or an equivalent type of urgent legal +relief in any jurisdiction. + +If any court of competent jurisdiction determines that any +provision of this Agreement is illegal, invalid or +unenforceable, such provision will be construed as limited to +the extent necessary to be consistent with and fully +enforceable under the law and the remaining provisions will +remain in full force and effect. Unless otherwise specified, +remedies are cumulative. + +Each party acknowledges and agrees that the other is an +independent contractor in the performance of this Agreement. + +The SDK has been developed entirely at private expense and is +“commercial items” consisting of “commercial computer +software” and “commercial computer software +documentation” provided with RESTRICTED RIGHTS. Use, +duplication or disclosure by the U.S. Government or a U.S. +Government subcontractor is subject to the restrictions in +this Agreement pursuant to DFARS 227.7202-3(a) or as set forth +in subparagraphs (c)(1) and (2) of the Commercial Computer +Software - Restricted Rights clause at FAR 52.227-19, as +applicable. Contractor/manufacturer is NVIDIA, 2788 San Tomas +Expressway, Santa Clara, CA 95051. + +The SDK is subject to United States export laws and +regulations. You agree that you will not ship, transfer or +export the SDK into any country, or use the SDK in any manner, +prohibited by the United States Bureau of Industry and +Security or economic sanctions regulations administered by the +U.S. Department of Treasury’s Office of Foreign Assets +Control (OFAC), or any applicable export laws, restrictions or +regulations. These laws include restrictions on destinations, +end users and end use. By accepting this Agreement, you +confirm that you are not located in a country currently +embargoed by the U.S. or otherwise prohibited from receiving +the SDK under U.S. law. + +Any notice delivered by NVIDIA to you under this Agreement +will be delivered via mail, email or fax. You agree that any +notices that NVIDIA sends you electronically will satisfy any +legal communication requirements. Please direct your legal +notices or other correspondence to NVIDIA Corporation, 2788 +San Tomas Expressway, Santa Clara, California 95051, United +States of America, Attention: Legal Department. + +This Agreement and any exhibits incorporated into this +Agreement constitute the entire agreement of the parties with +respect to the subject matter of this Agreement and supersede +all prior negotiations or documentation exchanged between the +parties relating to this SDK license. Any additional and/or +conflicting terms on documents issued by you are null, void, +and invalid. Any amendment or waiver under this Agreement +shall be in writing and signed by representatives of both +parties. + + +2. CUDA Toolkit Supplement to Software License Agreement for +NVIDIA Software Development Kits +------------------------------------------------------------ + +The terms in this supplement govern your use of the NVIDIA +CUDA Toolkit SDK under the terms of your license agreement +(“Agreement”) as modified by this supplement. Capitalized +terms used but not defined below have the meaning assigned to +them in the Agreement. + +This supplement is an exhibit to the Agreement and is +incorporated as an integral part of the Agreement. In the +event of conflict between the terms in this supplement and the +terms in the Agreement, the terms in this supplement govern. + + +2.1. License Scope + +The SDK is licensed for you to develop applications only for +use in systems with NVIDIA GPUs. + + +2.2. Distribution + +The portions of the SDK that are distributable under the +Agreement are listed in Attachment A. + + +2.3. Operating Systems + +Those portions of the SDK designed exclusively for use on the +Linux or FreeBSD operating systems, or other operating systems +derived from the source code to these operating systems, may +be copied and redistributed for use in accordance with this +Agreement, provided that the object code files are not +modified in any way (except for unzipping of compressed +files). + + +2.4. Audio and Video Encoders and Decoders + +You acknowledge and agree that it is your sole responsibility +to obtain any additional third-party licenses required to +make, have made, use, have used, sell, import, and offer for +sale your products or services that include or incorporate any +third-party software and content relating to audio and/or +video encoders and decoders from, including but not limited +to, Microsoft, Thomson, Fraunhofer IIS, Sisvel S.p.A., +MPEG-LA, and Coding Technologies. NVIDIA does not grant to you +under this Agreement any necessary patent or other rights with +respect to any audio and/or video encoders and decoders. + + +2.5. Licensing + +If the distribution terms in this Agreement are not suitable +for your organization, or for any questions regarding this +Agreement, please contact NVIDIA at +nvidia-compute-license-questions@nvidia.com. + + +2.6. Attachment A + +The following CUDA Toolkit files may be distributed with +applications developed by you, including certain +variations of these files that have version number or +architecture specific information embedded in the file name - +as an example only, for release version 9.0 of the 64-bit +Windows software, the file cudart64_90.dll is redistributable. + +Component + +CUDA Runtime + +Windows + +cudart.dll, cudart_static.lib, cudadevrt.lib + +Mac OSX + +libcudart.dylib, libcudart_static.a, libcudadevrt.a + +Linux + +libcudart.so, libcudart_static.a, libcudadevrt.a + +Android + +libcudart.so, libcudart_static.a, libcudadevrt.a + +Component + +CUDA FFT Library + +Windows + +cufft.dll, cufftw.dll, cufft.lib, cufftw.lib + +Mac OSX + +libcufft.dylib, libcufft_static.a, libcufftw.dylib, +libcufftw_static.a + +Linux + +libcufft.so, libcufft_static.a, libcufftw.so, +libcufftw_static.a + +Android + +libcufft.so, libcufft_static.a, libcufftw.so, +libcufftw_static.a + +Component + +CUDA BLAS Library + +Windows + +cublas.dll, cublasLt.dll + +Mac OSX + +libcublas.dylib, libcublasLt.dylib, libcublas_static.a, +libcublasLt_static.a + +Linux + +libcublas.so, libcublasLt.so, libcublas_static.a, +libcublasLt_static.a + +Android + +libcublas.so, libcublasLt.so, libcublas_static.a, +libcublasLt_static.a + +Component + +NVIDIA "Drop-in" BLAS Library + +Windows + +nvblas.dll + +Mac OSX + +libnvblas.dylib + +Linux + +libnvblas.so + +Component + +CUDA Sparse Matrix Library + +Windows + +cusparse.dll, cusparse.lib + +Mac OSX + +libcusparse.dylib, libcusparse_static.a + +Linux + +libcusparse.so, libcusparse_static.a + +Android + +libcusparse.so, libcusparse_static.a + +Component + +CUDA Linear Solver Library + +Windows + +cusolver.dll, cusolver.lib + +Mac OSX + +libcusolver.dylib, libcusolver_static.a + +Linux + +libcusolver.so, libcusolver_static.a + +Android + +libcusolver.so, libcusolver_static.a + +Component + +CUDA Random Number Generation Library + +Windows + +curand.dll, curand.lib + +Mac OSX + +libcurand.dylib, libcurand_static.a + +Linux + +libcurand.so, libcurand_static.a + +Android + +libcurand.so, libcurand_static.a + +Component + +NVIDIA Performance Primitives Library + +Windows + +nppc.dll, nppc.lib, nppial.dll, nppial.lib, nppicc.dll, +nppicc.lib, nppicom.dll, nppicom.lib, nppidei.dll, +nppidei.lib, nppif.dll, nppif.lib, nppig.dll, nppig.lib, +nppim.dll, nppim.lib, nppist.dll, nppist.lib, nppisu.dll, +nppisu.lib, nppitc.dll, nppitc.lib, npps.dll, npps.lib + +Mac OSX + +libnppc.dylib, libnppc_static.a, libnppial.dylib, +libnppial_static.a, libnppicc.dylib, libnppicc_static.a, +libnppicom.dylib, libnppicom_static.a, libnppidei.dylib, +libnppidei_static.a, libnppif.dylib, libnppif_static.a, +libnppig.dylib, libnppig_static.a, libnppim.dylib, +libnppisu_static.a, libnppitc.dylib, libnppitc_static.a, +libnpps.dylib, libnpps_static.a + +Linux + +libnppc.so, libnppc_static.a, libnppial.so, +libnppial_static.a, libnppicc.so, libnppicc_static.a, +libnppicom.so, libnppicom_static.a, libnppidei.so, +libnppidei_static.a, libnppif.so, libnppif_static.a +libnppig.so, libnppig_static.a, libnppim.so, +libnppim_static.a, libnppist.so, libnppist_static.a, +libnppisu.so, libnppisu_static.a, libnppitc.so +libnppitc_static.a, libnpps.so, libnpps_static.a + +Android + +libnppc.so, libnppc_static.a, libnppial.so, +libnppial_static.a, libnppicc.so, libnppicc_static.a, +libnppicom.so, libnppicom_static.a, libnppidei.so, +libnppidei_static.a, libnppif.so, libnppif_static.a +libnppig.so, libnppig_static.a, libnppim.so, +libnppim_static.a, libnppist.so, libnppist_static.a, +libnppisu.so, libnppisu_static.a, libnppitc.so +libnppitc_static.a, libnpps.so, libnpps_static.a + +Component + +NVIDIA JPEG Library + +Windows + +nvjpeg.lib, nvjpeg.dll + +Linux + +libnvjpeg.so, libnvjpeg_static.a + +Component + +Internal common library required for statically linking to +cuBLAS, cuSPARSE, cuFFT, cuRAND, nvJPEG and NPP + +Mac OSX + +libculibos.a + +Linux + +libculibos.a + +Component + +NVIDIA Runtime Compilation Library and Header + +All + +nvrtc.h + +Windows + +nvrtc.dll, nvrtc-builtins.dll + +Mac OSX + +libnvrtc.dylib, libnvrtc-builtins.dylib + +Linux + +libnvrtc.so, libnvrtc-builtins.so, libnvrtc_static.a, libnvrtx-builtins_static.a + +Component + +NVIDIA Optimizing Compiler Library + +Windows + +nvvm.dll + +Mac OSX + +libnvvm.dylib + +Linux + +libnvvm.so + +Component + +NVIDIA JIT Linking Library + +Windows + +libnvJitLink.dll, libnvJitLink.lib + +Linux + +libnvJitLink.so, libnvJitLink_static.a + +Component + +NVIDIA Common Device Math Functions Library + +Windows + +libdevice.10.bc + +Mac OSX + +libdevice.10.bc + +Linux + +libdevice.10.bc + +Component + +CUDA Occupancy Calculation Header Library + +All + +cuda_occupancy.h + +Component + +CUDA Half Precision Headers + +All + +cuda_fp16.h, cuda_fp16.hpp + +Component + +CUDA Profiling Tools Interface (CUPTI) Library + +Windows + +cupti.dll + +Mac OSX + +libcupti.dylib + +Linux + +libcupti.so + +Component + +NVIDIA Tools Extension Library + +Windows + +nvToolsExt.dll, nvToolsExt.lib + +Mac OSX + +libnvToolsExt.dylib + +Linux + +libnvToolsExt.so + +Component + +NVIDIA CUDA Driver Libraries + +Linux + +libcuda.so, libnvidia-ptxjitcompiler.so, libnvptxcompiler_static.a + +Component + +NVIDIA CUDA File IO Libraries and Header + +All + +cufile.h + +Linux + +libcufile.so, libcufile_rdma.so, libcufile_static.a, +libcufile_rdma_static.a + +In addition to the rights above, for parties that are +developing software intended solely for use on Jetson +development kits or Jetson modules, and running Linux for +Tegra software, the following shall apply: + + * The SDK may be distributed in its entirety, as provided by + NVIDIA, and without separation of its components, for you + and/or your licensees to create software development kits + for use only on the Jetson platform and running Linux for + Tegra software. + + +2.7. Attachment B + + +Additional Licensing Obligations + +The following third party components included in the SOFTWARE +are licensed to Licensee pursuant to the following terms and +conditions: + + 1. Licensee's use of the GDB third party component is + subject to the terms and conditions of GNU GPL v3: + + This product includes copyrighted third-party software licensed + under the terms of the GNU General Public License v3 ("GPL v3"). + All third-party software packages are copyright by their respective + authors. GPL v3 terms and conditions are hereby incorporated into + the Agreement by this reference: http://www.gnu.org/licenses/gpl.txt + + Consistent with these licensing requirements, the software + listed below is provided under the terms of the specified + open source software licenses. To obtain source code for + software provided under licenses that require + redistribution of source code, including the GNU General + Public License (GPL) and GNU Lesser General Public License + (LGPL), contact oss-requests@nvidia.com. This offer is + valid for a period of three (3) years from the date of the + distribution of this product by NVIDIA CORPORATION. + + Component License + CUDA-GDB GPL v3 + + 2. Licensee represents and warrants that any and all third + party licensing and/or royalty payment obligations in + connection with Licensee's use of the H.264 video codecs + are solely the responsibility of Licensee. + + 3. Licensee's use of the Thrust library is subject to the + terms and conditions of the Apache License Version 2.0. + All third-party software packages are copyright by their + respective authors. Apache License Version 2.0 terms and + conditions are hereby incorporated into the Agreement by + this reference. + http://www.apache.org/licenses/LICENSE-2.0.html + + In addition, Licensee acknowledges the following notice: + Thrust includes source code from the Boost Iterator, + Tuple, System, and Random Number libraries. + + Boost Software License - Version 1.0 - August 17th, 2003 + . . . . + + Permission is hereby granted, free of charge, to any person or + organization obtaining a copy of the software and accompanying + documentation covered by this license (the "Software") to use, + reproduce, display, distribute, execute, and transmit the Software, + and to prepare derivative works of the Software, and to permit + third-parties to whom the Software is furnished to do so, all + subject to the following: + + The copyright notices in the Software and this entire statement, + including the above license grant, this restriction and the following + disclaimer, must be included in all copies of the Software, in whole + or in part, and all derivative works of the Software, unless such + copies or derivative works are solely in the form of machine-executable + object code generated by a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND + NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR + ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR + OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + 4. Licensee's use of the LLVM third party component is + subject to the following terms and conditions: + + ====================================================== + LLVM Release License + ====================================================== + University of Illinois/NCSA + Open Source License + + Copyright (c) 2003-2010 University of Illinois at Urbana-Champaign. + All rights reserved. + + Developed by: + + LLVM Team + + University of Illinois at Urbana-Champaign + + http://llvm.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal with the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimers. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimers in the + documentation and/or other materials provided with the distribution. + + * Neither the names of the LLVM Team, University of Illinois at Urbana- + Champaign, nor the names of its contributors may be used to endorse or + promote products derived from this Software without specific prior + written permission. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS WITH THE SOFTWARE. + + 5. Licensee's use of the PCRE third party component is + subject to the following terms and conditions: + + ------------ + PCRE LICENCE + ------------ + PCRE is a library of functions to support regular expressions whose syntax + and semantics are as close as possible to those of the Perl 5 language. + Release 8 of PCRE is distributed under the terms of the "BSD" licence, as + specified below. The documentation for PCRE, supplied in the "doc" + directory, is distributed under the same terms as the software itself. The + basic library functions are written in C and are freestanding. Also + included in the distribution is a set of C++ wrapper functions, and a just- + in-time compiler that can be used to optimize pattern matching. These are + both optional features that can be omitted when the library is built. + + THE BASIC LIBRARY FUNCTIONS + --------------------------- + Written by: Philip Hazel + Email local part: ph10 + Email domain: cam.ac.uk + University of Cambridge Computing Service, + Cambridge, England. + Copyright (c) 1997-2012 University of Cambridge + All rights reserved. + + PCRE JUST-IN-TIME COMPILATION SUPPORT + ------------------------------------- + Written by: Zoltan Herczeg + Email local part: hzmester + Emain domain: freemail.hu + Copyright(c) 2010-2012 Zoltan Herczeg + All rights reserved. + + STACK-LESS JUST-IN-TIME COMPILER + -------------------------------- + Written by: Zoltan Herczeg + Email local part: hzmester + Emain domain: freemail.hu + Copyright(c) 2009-2012 Zoltan Herczeg + All rights reserved. + + THE C++ WRAPPER FUNCTIONS + ------------------------- + Contributed by: Google Inc. + Copyright (c) 2007-2012, Google Inc. + All rights reserved. + + THE "BSD" LICENCE + ----------------- + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of the University of Cambridge nor the name of Google + Inc. nor the names of their contributors may be used to endorse or + promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + 6. Some of the cuBLAS library routines were written by or + derived from code written by Vasily Volkov and are subject + to the Modified Berkeley Software Distribution License as + follows: + + Copyright (c) 2007-2009, Regents of the University of California + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of the University of California, Berkeley nor + the names of its contributors may be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING + IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + 7. Some of the cuBLAS library routines were written by or + derived from code written by Davide Barbieri and are + subject to the Modified Berkeley Software Distribution + License as follows: + + Copyright (c) 2008-2009 Davide Barbieri @ University of Rome Tor Vergata. + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * The name of the author may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING + IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + 8. Some of the cuBLAS library routines were derived from + code developed by the University of Tennessee and are + subject to the Modified Berkeley Software Distribution + License as follows: + + Copyright (c) 2010 The University of Tennessee. + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer listed in this license in the documentation and/or + other materials provided with the distribution. + * Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + 9. Some of the cuBLAS library routines were written by or + derived from code written by Jonathan Hogg and are subject + to the Modified Berkeley Software Distribution License as + follows: + + Copyright (c) 2012, The Science and Technology Facilities Council (STFC). + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of the STFC nor the names of its contributors + may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE STFC BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + 10. Some of the cuBLAS library routines were written by or + derived from code written by Ahmad M. Abdelfattah, David + Keyes, and Hatem Ltaief, and are subject to the Apache + License, Version 2.0, as follows: + + -- (C) Copyright 2013 King Abdullah University of Science and Technology + Authors: + Ahmad Abdelfattah (ahmad.ahmad@kaust.edu.sa) + David Keyes (david.keyes@kaust.edu.sa) + Hatem Ltaief (hatem.ltaief@kaust.edu.sa) + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the King Abdullah University of Science and + Technology nor the names of its contributors may be used to endorse + or promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE + + 11. Some of the cuSPARSE library routines were written by or + derived from code written by Li-Wen Chang and are subject + to the NCSA Open Source License as follows: + + Copyright (c) 2012, University of Illinois. + + All rights reserved. + + Developed by: IMPACT Group, University of Illinois, http://impact.crhc.illinois.edu + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal with the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimers in the documentation and/or other materials provided + with the distribution. + * Neither the names of IMPACT Group, University of Illinois, nor + the names of its contributors may be used to endorse or promote + products derived from this Software without specific prior + written permission. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR + IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE + SOFTWARE. + + 12. Some of the cuRAND library routines were written by or + derived from code written by Mutsuo Saito and Makoto + Matsumoto and are subject to the following license: + + Copyright (c) 2009, 2010 Mutsuo Saito, Makoto Matsumoto and Hiroshima + University. All rights reserved. + + Copyright (c) 2011 Mutsuo Saito, Makoto Matsumoto, Hiroshima + University and University of Tokyo. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of the Hiroshima University nor the names of + its contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + 13. Some of the cuRAND library routines were derived from + code developed by D. E. Shaw Research and are subject to + the following license: + + Copyright 2010-2011, D. E. Shaw Research. + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions, and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions, and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of D. E. Shaw Research nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + 14. Some of the Math library routines were written by or + derived from code developed by Norbert Juffa and are + subject to the following license: + + Copyright (c) 2015-2017, Norbert Juffa + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + 15. Licensee's use of the lz4 third party component is + subject to the following terms and conditions: + + Copyright (C) 2011-2013, Yann Collet. + BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + 16. The NPP library uses code from the Boost Math Toolkit, + and is subject to the following license: + + Boost Software License - Version 1.0 - August 17th, 2003 + . . . . + + Permission is hereby granted, free of charge, to any person or + organization obtaining a copy of the software and accompanying + documentation covered by this license (the "Software") to use, + reproduce, display, distribute, execute, and transmit the Software, + and to prepare derivative works of the Software, and to permit + third-parties to whom the Software is furnished to do so, all + subject to the following: + + The copyright notices in the Software and this entire statement, + including the above license grant, this restriction and the following + disclaimer, must be included in all copies of the Software, in whole + or in part, and all derivative works of the Software, unless such + copies or derivative works are solely in the form of machine-executable + object code generated by a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND + NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR + ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR + OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + 17. Portions of the Nsight Eclipse Edition is subject to the + following license: + + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content is provided + to you under the terms and conditions of the Eclipse Public License + Version 1.0 ("EPL"). A copy of the EPL is available at http:// + www.eclipse.org/legal/epl-v10.html. For purposes of the EPL, "Program" + will mean the Content. + + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may apply to your + use of any object code in the Content. Check the Redistributor's + license that was provided with the Content. If no such license exists, + contact the Redistributor. Unless otherwise indicated below, the terms + and conditions of the EPL still apply to any source code in the + Content and such source code may be obtained at http://www.eclipse.org. + + 18. Some of the cuBLAS library routines uses code from + OpenAI, which is subject to the following license: + + License URL + https://github.com/openai/openai-gemm/blob/master/LICENSE + + License Text + The MIT License + + Copyright (c) 2016 OpenAI (http://openai.com), 2016 Google Inc. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + + 19. Licensee's use of the Visual Studio Setup Configuration + Samples is subject to the following license: + + The MIT License (MIT) + Copyright (C) Microsoft Corporation. All rights reserved. + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + 20. Licensee's use of linmath.h header for CPU functions for + GL vector/matrix operations from lunarG is subject to the + Apache License Version 2.0. + + 21. The DX12-CUDA sample uses the d3dx12.h header, which is + subject to the MIT license. + + 22. Components of the driver and compiler used for binary management, including + nvFatBin, nvcc, and cuobjdump, use the Zstandard library which is subject to + the following license: + + BSD License + + For Zstandard software + + Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name Facebook, nor Meta, nor the names of its contributors may + be used to endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, + OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY + OF SUCH DAMAGE. + +----------------- diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/paths.json b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/paths.json new file mode 100644 index 0000000000000000000000000000000000000000..e1f00c5a9706b6d1e5284031eb869c3522a721a6 --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/paths.json @@ -0,0 +1,29 @@ +{ + "paths": [ + { + "_path": "nvvm/include/nvvm.h", + "path_type": "hardlink", + "sha256": "900932e7435799fab1499cd4eebe0243279ec7164cd4e646124a106b833ee47d", + "size_in_bytes": 11705 + }, + { + "_path": "nvvm/lib64/libnvvm.so", + "path_type": "softlink", + "sha256": "407aa993dd789399cea8a3aee57583c2eef6463887cb418bc9a1a831688a2b70", + "size_in_bytes": 64279545 + }, + { + "_path": "nvvm/lib64/libnvvm.so.4", + "path_type": "softlink", + "sha256": "407aa993dd789399cea8a3aee57583c2eef6463887cb418bc9a1a831688a2b70", + "size_in_bytes": 64279545 + }, + { + "_path": "nvvm/lib64/libnvvm.so.4.0.0", + "path_type": "hardlink", + "sha256": "407aa993dd789399cea8a3aee57583c2eef6463887cb418bc9a1a831688a2b70", + "size_in_bytes": 64279545 + } + ], + "paths_version": 1 +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/conda_build_config.yaml b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/conda_build_config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c8adb0e92dc9d54ed132f3ff3257231824f7ef57 --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/conda_build_config.yaml @@ -0,0 +1,33 @@ +c_compiler: gcc +c_compiler_version: 11.2.0 +c_stdlib: sysroot +c_stdlib_version: '2.28' +channel_targets: defaults +cpu_optimization_target: nocona +cran_mirror: https://cran.r-project.org +cxx_compiler: gxx +cxx_compiler_version: 11.2.0 +extend_keys: +- ignore_version +- pin_run_as_build +- ignore_build_only_deps +- extend_keys +fortran_compiler: gfortran +ignore_build_only_deps: +- python +- numpy +lua: '5' +numpy: '1.26' +perl: 5.26.2 +pin_run_as_build: + python: + max_pin: x.x + min_pin: x.x + r-base: + max_pin: x.x + min_pin: x.x +platform: linux-64 +python: '3.12' +r_base: '3.5' +target_platform: linux-64 +xz: '5' diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/meta.yaml b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/meta.yaml new file mode 100644 index 0000000000000000000000000000000000000000..21456a9891181900ac824509c1681b863eccd266 --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/meta.yaml @@ -0,0 +1,71 @@ +# This file created by conda-build 25.1.2 +# ------------------------------------------------ + +package: + name: cuda-nvvm-impl + version: 12.8.93 +source: + patches: + - nvcc.profile.patch + sha256: 9961b3484b6b71314063709a4f9529654f96782ad39e72bf1e00f070db8210d3 + url: https://developer.download.nvidia.com/compute/cuda/redist/cuda_nvcc/linux-x86_64/cuda_nvcc-linux-x86_64-12.8.93-archive.tar.xz +build: + binary_relocation: false + number: 3 + string: hbdd6827_3 +requirements: + build: + - _libgcc_mutex 0.1 main + - _openmp_mutex 5.1 1_gnu + - binutils_impl_linux-64 2.40 h5293946_0 + - binutils_linux-64 2.40.0 hc2dff05_2 + - gcc_impl_linux-64 11.2.0 h1234567_1 + - gcc_linux-64 11.2.0 h5c386dc_2 + - gxx_impl_linux-64 11.2.0 h1234567_1 + - gxx_linux-64 11.2.0 hc2dff05_2 + - kernel-headers_linux-64 4.18.0 h528b178_0 + - ld_impl_linux-64 2.40 h12ee557_0 + - libgcc-devel_linux-64 11.2.0 h1234567_1 + - libgcc-ng 11.2.0 h1234567_1 + - libgomp 11.2.0 h1234567_1 + - libstdcxx-devel_linux-64 11.2.0 h1234567_1 + - libstdcxx-ng 11.2.0 h1234567_1 + - sysroot_linux-64 2.28 h528b178_0 + - tzdata 2025b h04d1e81_0 + host: + - _libgcc_mutex 0.1 main + - _openmp_mutex 5.1 1_gnu + - cuda-version 12.8 h30beaf8_3 + - libgcc-ng 11.2.0 h1234567_1 + - libgomp 11.2.0 h1234567_1 + - libstdcxx-ng 11.2.0 h1234567_1 + run: + - __glibc >=2.28,<3.0.a0 + - cuda-version >=12.8,<12.9.0a0 + - libgcc-ng >=11.2.0 + - libstdcxx-ng >=11.2.0 +test: + commands: + - test -d $PREFIX/nvvm/include + - test -d $PREFIX/nvvm/lib64 + - bash test-rpath-nvvm.sh + files: + - test-rpath-nvvm.sh + requires: + - patchelf +about: + description: 'Compiler for CUDA applications. + + ' + doc_url: https://docs.nvidia.com/cuda/index.html + home: https://developer.nvidia.com/cuda-toolkit + license: LicenseRef-NVIDIA-End-User-License-Agreement + license_file: LICENSE + license_url: https://docs.nvidia.com/cuda/eula/index.html + summary: Compiler for CUDA applications. +extra: + copy_test_source_files: true + feedstock-name: cuda-nvcc-impl + final: true + recipe-maintainers: + - conda-forge/cuda diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/CMakeLists.txt b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..9298c151b3070363195f7d5674f73c8d15a9f5bc --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/CMakeLists.txt @@ -0,0 +1,37 @@ +cmake_minimum_required(VERSION 3.20 FATAL_ERROR) + +project(verify_cuda_compiler LANGUAGES CUDA) + +if(NOT DEFINED CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES) + message(FATAL_ERROR "CUDA compiler detection failed, no recording of CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES") +endif() + +find_package(CUDAToolkit REQUIRED) +set(should_exist + CUDAToolkit_BIN_DIR + CUDAToolkit_INCLUDE_DIRS + CUDAToolkit_LIBRARY_DIR + CUDAToolkit_LIBRARY_ROOT + ) +foreach (cuda_loc_var IN LISTS should_exist) + foreach(entry IN LISTS ${cuda_loc_var}) + if(NOT EXISTS "${entry}") + message(FATAL_ERROR "${entry} from ${cuda_loc_var} should exist on disk") + endif() + endforeach() +endforeach() + + +set(cuda_libs cudart cuda_driver) +foreach (cuda_lib IN LISTS cuda_libs) + if(NOT CUDA_${cuda_lib}_LIBRARY) + message(FATAL_ERROR "expected CUDAToolkit variable CUDA_${cuda_lib}_LIBRARY not found") + elseif(CUDA_${cuda_lib}_LIBRARY MATCHES [[\.\./]]) + message(FATAL_ERROR "expected CUDAToolkit variable CUDA_${cuda_lib}_LIBRARY[\"${CUDA_${cuda_lib}_LIBRARY}\"] to not contain /..") + endif() + if(NOT TARGET CUDA::${cuda_lib}) + message(FATAL_ERROR "expected CUDAToolkit target CUDA::${cuda_lib} not found") + endif() +endforeach() + +add_executable(verify test.cu) diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/bld.bat b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/bld.bat new file mode 100644 index 0000000000000000000000000000000000000000..9a1db6ee9c6a05d07eef792bfab551ae1cbcdfd0 --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/bld.bat @@ -0,0 +1,8 @@ +if not exist %PREFIX% mkdir %PREFIX% + +move lib\x64\* %LIBRARY_LIB% +move bin\* %LIBRARY_BIN% +move bin\crt %LIBRARY_BIN% +move include\* %LIBRARY_INC% +move include\crt %LIBRARY_INC% +move nvvm %PREFIX%\Library diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/build.sh b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/build.sh new file mode 100644 index 0000000000000000000000000000000000000000..2904e1081a7ea04647c2e1af505ca1c99bc9c37f --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/build.sh @@ -0,0 +1,82 @@ +#!/bin/bash + +# Install to conda style directories +[[ -d lib64 ]] && mv lib64 lib + +[[ ${target_platform} == "linux-64" ]] && targetsDir="targets/x86_64-linux" +[[ ${target_platform} == "linux-ppc64le" ]] && targetsDir="targets/ppc64le-linux" +# https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html?highlight=tegra#cross-compilation +[[ ${target_platform} == "linux-aarch64" && ${arm_variant_type} == "sbsa" ]] && targetsDir="targets/sbsa-linux" +[[ ${target_platform} == "linux-aarch64" && ${arm_variant_type} == "tegra" ]] && targetsDir="targets/aarch64-linux" + +if [ -z "${targetsDir+x}" ]; then + echo "target_platform: ${target_platform} is unknown! targetsDir must be defined!" >&2 + exit 1 +fi + +mkdir -p ${PREFIX}/${targetsDir} + +for i in `ls`; do + [[ $i == "LICENSE" ]] && continue + [[ $i == "build_env_setup.sh" ]] && continue + [[ $i == "conda_build.sh" ]] && continue + [[ $i == "metadata_conda_debug.yaml" ]] && continue + if [[ $i == "bin" ]] || [[ $i == "lib" ]] || [[ $i == "include" ]] || [[ $i == "nvvm" ]]; then + # Headers and libraries are installed to targetsDir + mkdir -p ${PREFIX}/$i + if [[ $i == "bin" ]]; then + for j in `ls "${i}"`; do + [[ -f "bin/${j}" ]] || continue + + if grep -qx "${j}" ${RECIPE_DIR}/patchelf_exclude.txt; then + echo "Skipping bin/${j} as it is in the patchelf exclusion list." + continue + fi + + echo patchelf --force-rpath --set-rpath "\$ORIGIN/../lib:\$ORIGIN/../${targetsDir}/lib" "${i}/${j}" ... + patchelf --force-rpath --set-rpath "\$ORIGIN/../lib:\$ORIGIN/../${targetsDir}/lib" "${i}/${j}" + done + + mkdir -p ${PREFIX}/${targetsDir}/bin + cp -rv $i ${PREFIX} + ln -sv ${PREFIX}/bin/nvcc ${PREFIX}/${targetsDir}/bin/nvcc + elif [[ $i == "lib" ]]; then + cp -rv $i ${PREFIX}/${targetsDir} + for j in "$i"/*.a*; do + # Static libraries are symlinked in $PREFIX/lib + ln -sv ${PREFIX}/${targetsDir}/$j ${PREFIX}/$j + done + ln -sv ${PREFIX}/${targetsDir}/lib ${PREFIX}/${targetsDir}/lib64 + elif [[ $i == "include" ]]; then + cp -rv $i ${PREFIX}/${targetsDir} + elif [[ $i == "nvvm" ]]; then + for j in `find "${i}"`; do + if [[ "${j}" =~ /bin/.*$ ]]; then + # Adds the following paths relative to `$PREFIX` to the `RPATH`: `nvvm/lib64`, `lib`, `${targetsDir}/lib` + echo patchelf --force-rpath --set-rpath "\$ORIGIN/../lib64:\$ORIGIN/../../lib:\$ORIGIN/../../${targetsDir}/lib" "${j}" ... + patchelf --force-rpath --set-rpath "\$ORIGIN/../lib64:\$ORIGIN/../../lib:\$ORIGIN/../../${targetsDir}/lib" "${j}" + elif [[ "${j}" =~ /lib.*/.*\.so($|\.) && ! -L "${j}" ]]; then + echo patchelf --force-rpath --set-rpath "\$ORIGIN" "${j}" ... + patchelf --force-rpath --set-rpath "\$ORIGIN" "${j}" + fi + done + + cp -rv $i ${PREFIX} + ln -sv ${PREFIX}/nvvm ${PREFIX}/${targetsDir}/nvvm + fi + else + cp -rv $i ${PREFIX}/${targetsDir} + fi +done + +# Copy the [de]activate scripts to $PREFIX/etc/conda/[de]activate.d. +# This will allow them to be run on environment activation. +# Name this script starting with `~` so it is run after all other compiler activation scripts. +# At the point of running this, $CXX must be defined. +# for CHANGE in "activate" "deactivate" +# do +# mkdir -p "${PREFIX}/etc/conda/${CHANGE}.d" +# cp "${RECIPE_DIR}/${CHANGE}.sh" "${PREFIX}/etc/conda/${CHANGE}.d/~cuda-nvcc_${CHANGE}.sh" +# done + +check-glibc ${PREFIX}/{bin,lib}*/* ${PREFIX}/${targetsDir}/{bin,lib}*/* ${PREFIX}/nvvm/{bin,lib}*/* diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/conda_build_config.yaml b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/conda_build_config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d95e0413baa14e681376bc6f2d86082d40b19259 --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/conda_build_config.yaml @@ -0,0 +1,13 @@ +arm_variant_type: # [linux and aarch64] + - sbsa # [linux and aarch64] + # arm-variant * tegra requires glibc version which is currently not available. + # binary glibc 2.29.0 <= recipe glibc 2.28 $PREFIX/bin/nvcc + # The binary is not compatible with the recipe's glibc pinning. + # See https://docs.nvidia.com/cuda/cuda-installation-guide-linux/#system-requirements + # Enable this once glibc is available on the main channel. + #- tegra # [linux and aarch64] + +c_compiler: # [win] + - vs2019 # [win] +cxx_compiler: # [win] + - vs2019 # [win] diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/meta.yaml b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/meta.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7525b109e88b9d4a2a95115802d7f436c3e2700f --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/meta.yaml @@ -0,0 +1,386 @@ +{% set name = "cuda-nvcc-impl" %} +{% set version = "12.8.93" %} +{% set cuda_version = "12.8" %} +{% set cuda_version_next_major = (cuda_version.split(".")[0]|int + 1)|string + ".0a0" %} +{% set gcc_min_constraint = ">=6" %} +{% set gcc_constraint = ">=6,<15.0a0" %} +{% set platform = "linux-x86_64" %} # [linux64] +{% set platform = "linux-sbsa" %} # [aarch64 and arm_variant_type == "sbsa"] +#{% set platform = "linux-aarch64" %} # [aarch64 and arm_variant_type == "tegra"] +{% set platform = "windows-x86_64" %} # [win] +{% set target_name = "x86_64-linux" %} # [linux64] +{% set target_name = "sbsa-linux" %} # [aarch64 and arm_variant_type == "sbsa"] +#{% set target_name = "aarch64-linux" %} # [aarch64 and arm_variant_type == "tegra"] +{% set target_name = "x64" %} # [win] +{% set extension = "tar.xz" %} # [not win] +{% set extension = "zip" %} # [win] +{% set exists = "which" %} # [not win] +{% set exists = "where" %} # [win] +{% set sha256 = "9961b3484b6b71314063709a4f9529654f96782ad39e72bf1e00f070db8210d3" %} # [linux64] +{% set sha256 = "dc0b713ce69fd921aa53ac68610717d126fc273a3c554b0465cf44d7e379f467" %} # [aarch64 and arm_variant_type == "sbsa"] +{% set sha256 = "9fdc70b4271ed9aad4d64cd7076a7d96ec36512d074b9995fe638de669197391" %} # [win] +#{% set sha256 = "2eb267e6ebbe17e5ebc593bae8b83fa927c3e53cbf43ef5c614eff6c94053d10" %} # [aarch64 and arm_variant_type == "tegra"] + +package: + name: cuda-nvcc-impl-split + version: {{ version }} + +source: + url: https://developer.download.nvidia.com/compute/cuda/redist/cuda_nvcc/{{ platform }}/cuda_nvcc-{{ platform }}-{{ version }}-archive.{{ extension }} + sha256: {{ sha256 }} + patches: + - nvcc.profile.patch # [linux] + - nvcc.profile.patch.win # [win] + +build: + number: 3 + binary_relocation: false + skip: true # [osx] + +requirements: + build: + - patchelf # [linux] + - cf-nvidia-tools 1.* # [linux] + +outputs: + - name: cuda-nvcc-tools + files: # [linux] + - bin/* # [linux] + build: + binary_relocation: false + requirements: + build: + - {{ compiler("c") }} + - {{ compiler("cxx") }} + - {{ stdlib("c") }} + host: + - {{ pin_subpackage("cuda-crt-tools", exact=True) }} + - {{ pin_subpackage("cuda-nvvm-tools", exact=True) }} + - arm-variant * {{ arm_variant_type }} # [aarch64] + - cuda-version {{ cuda_version }} + run: + - {{ pin_compatible("cuda-version", max_pin="x.x") }} + - {{ pin_subpackage("cuda-crt-tools", exact=True) }} + - {{ pin_subpackage("cuda-nvvm-tools", exact=True) }} + - arm-variant * {{ arm_variant_type }} # [aarch64] + run_constrained: + - gcc_impl_{{ target_platform }} {{ gcc_constraint }} # [linux] + test: + requires: + - patchelf # [linux] + files: + - patchelf_exclude.txt # [linux] + - test-rpath-nvcc.sh # [linux] + commands: + - test -f $PREFIX/bin/nvcc # [linux] + - test -f $PREFIX/bin/ptxas # [linux] + - bash test-rpath-nvcc.sh # [linux] + about: + home: https://developer.nvidia.com/cuda-toolkit + license_file: LICENSE + license: LicenseRef-NVIDIA-End-User-License-Agreement + license_url: https://docs.nvidia.com/cuda/eula/index.html + summary: Architecture independent part of CUDA NVCC compiler. + description: | + Compiler for CUDA applications. + doc_url: https://docs.nvidia.com/cuda/index.html + + - name: cuda-nvcc-dev_{{ target_platform }} + build: + noarch: generic + missing_dso_whitelist: # [win] + - "*/api-ms-win-core-winrt-*.dll" # [win] + run_exports: + strong: + - cuda-version >={{ cuda_version }},<{{ cuda_version_next_major }} + files: + # targets/{{ target_name }}/bin/nvcc is only a symlink + - targets/{{ target_name }}/bin # [linux] + - targets/{{ target_name }}/include/*.h # [linux] + - targets/{{ target_name }}/lib # [linux] + - Library\bin\*.exe # [win] + - Library\bin\nvcc.profile # [win] + - Library\include\fatbinary_section.h # [win] + - Library\include\nvPTXCompiler.h # [win] + - Library\lib\nvptxcompiler_static.lib # [win] + requirements: + build: + - {{ stdlib("c") }} + host: + - {{ pin_subpackage("cuda-crt-dev_" + target_platform, exact=True) }} + - {{ pin_subpackage("cuda-nvcc-tools", exact=True) }} + - {{ pin_subpackage("cuda-nvvm-dev_" + target_platform, exact=True) }} + - arm-variant * {{ arm_variant_type }} # [aarch64] + - cuda-version {{ cuda_version }} + # Use libgcc-ng instead of libgcc + - libgcc-ng {{ gcc_min_constraint }} # [linux] + run: + - {{ pin_compatible("cuda-version", max_pin="x.x") }} + - {{ pin_subpackage("cuda-crt-dev_" + target_platform, exact=True) }} + - {{ pin_subpackage("cuda-nvvm-dev_" + target_platform, exact=True) }} + - arm-variant * {{ arm_variant_type }} # [aarch64] + # Use libgcc-ng instead of libgcc + - libgcc-ng {{ gcc_min_constraint }} # [linux] + run_constrained: + - gcc_impl_{{ target_platform }} {{ gcc_constraint }} # [linux] + test: + commands: + - test -L $PREFIX/targets/{{ target_name }}/bin/nvcc # [linux] + - test -f $PREFIX/targets/{{ target_name }}/lib/libnvptxcompiler_static.a # [linux] + - test -f $PREFIX/targets/{{ target_name }}/include/fatbinary_section.h # [linux] + - test -f $PREFIX/targets/{{ target_name }}/include/nvPTXCompiler.h # [linux] + - if not exist %LIBRARY_BIN%\nvcc.exe exit 1 # [win] + - if not exist %LIBRARY_BIN%\nvcc.profile exit 1 # [win] + - if not exist %LIBRARY_LIB%\nvptxcompiler_static.lib exit 1 # [win] + - if not exist %LIBRARY_INC%\nvPTXCompiler.h exit 1 # [win] + about: + home: https://developer.nvidia.com/cuda-toolkit + license_file: LICENSE + license: LicenseRef-NVIDIA-End-User-License-Agreement + license_url: https://docs.nvidia.com/cuda/eula/index.html + summary: Target architecture dependent parts of CUDA NVCC compiler. + description: | + Compiler for CUDA applications. + doc_url: https://docs.nvidia.com/cuda/index.html + + - name: cuda-nvcc-impl + build: + # libnvvm.so gets corrupted by patchelf. No need to relocate as it is already relocatable + binary_relocation: false + run_exports: + strong: + - cuda-version >={{ cuda_version }},<{{ cuda_version_next_major }} + files: # [linux] + - lib/libnvptxcompiler_static.a # [linux] + requirements: + host: + - {{ pin_subpackage("cuda-nvvm-impl", exact=True) }} + - arm-variant * {{ arm_variant_type }} # [aarch64] + - cuda-cudart-dev + - cuda-version {{ cuda_version }} + run: + - {{ pin_subpackage("cuda-nvcc-tools", exact=True) }} + - {{ pin_subpackage("cuda-nvcc-dev_" + target_platform, exact=True) }} + - {{ pin_subpackage("cuda-nvvm-impl", exact=True) }} + - {{ pin_compatible("cuda-version", max_pin="x.x") }} + - arm-variant * {{ arm_variant_type }} # [aarch64] + - cuda-cudart-dev + run_constrained: + - gcc_impl_{{ target_platform }} {{ gcc_constraint }} # [linux] + test: + requires: + - {{ compiler("c") }} + - {{ compiler("cxx") }} + - {{ stdlib("c") }} + - cmake + - cuda-driver-dev # [linux] + - git # [linux] + - ninja + files: + - test.cu + - CMakeLists.txt + - run_nvcc_tests.sh # [linux] + - run_nvcc_tests.bat # [win] + commands: + # these symlinks are provided by the gxx and gcc packages on conda-forge + - ln -sf ${PREFIX}/bin/x86_64-conda-linux-gnu-g++ ${PREFIX}/bin/g++ # [linux and x86_64] + - ln -sf ${PREFIX}/bin/x86_64-conda-linux-gnu-gcc ${PREFIX}/bin/gcc # [linux and x86_64] + - ln -sf ${PREFIX}/bin/aarch64-conda-linux-gnu-g++ ${PREFIX}/bin/g++ # [linux and aarch64] + - ln -sf ${PREFIX}/bin/aarch64-conda-linux-gnu-gcc ${PREFIX}/bin/gcc # [linux and aarch64] + # cmake has trouble finding ar on linux-aarch64; so this needs to be added + # compared to conda-forge. NB conda-forge isn't building this for linux-aarch64 currently. + - if [ ! -f "${PREFIX}/bin/ar" ]; then ln -s "${AR}" "${PREFIX}/bin/ar"; fi # [linux and aarch64] + - test -L $PREFIX/lib/libnvptxcompiler_static.a # [linux] + - {{ exists }} nvcc + - ./run_nvcc_tests.sh # [linux] + - .\run_nvcc_tests.bat # [win] + about: + home: https://developer.nvidia.com/cuda-toolkit + license_file: LICENSE + license: LicenseRef-NVIDIA-End-User-License-Agreement + license_url: https://docs.nvidia.com/cuda/eula/index.html + summary: Compiler for CUDA applications. + description: | + Compiler for CUDA applications. + doc_url: https://docs.nvidia.com/cuda/index.html + + - name: cuda-crt-tools + files: + - bin/crt # [linux] + - Library\bin\crt # [win] + requirements: + host: + - cuda-version {{ cuda_version }} + run: + - {{ pin_compatible("cuda-version", max_pin="x.x") }} + - arm-variant * {{ arm_variant_type }} # [aarch64] + test: + commands: + - test -d $PREFIX/bin/crt # [linux] + - test -f $PREFIX/bin/crt/link.stub # [linux] + - if not exist %LIBRARY_BIN%\crt\link.stub exit 1 # [win] + about: + home: https://developer.nvidia.com/cuda-toolkit + license_file: LICENSE + license: LicenseRef-NVIDIA-End-User-License-Agreement + license_url: https://docs.nvidia.com/cuda/eula/index.html + summary: CUDA internal tools. + description: | + CUDA internal tools. + doc_url: https://docs.nvidia.com/cuda/index.html + + - name: cuda-crt-dev_{{ target_platform }} + build: + noarch: generic + run_exports: + strong: + - cuda-version >={{ cuda_version }},<{{ cuda_version_next_major }} + files: + - targets/{{ target_name }}/include/crt # [linux] + - Library\include\crt # [win] + requirements: + host: + - cuda-version {{ cuda_version }} + run: + - {{ pin_compatible("cuda-version", max_pin="x.x") }} + - arm-variant * {{ arm_variant_type }} # [aarch64] + test: + commands: + - test -f $PREFIX/targets/{{ target_name }}/include/crt/common_functions.h # [linux] + - if not exist %LIBRARY_INC%\crt\common_functions.h exit 1 # [win] + about: + home: https://developer.nvidia.com/cuda-toolkit + license_file: LICENSE + license: LicenseRef-NVIDIA-End-User-License-Agreement + license_url: https://docs.nvidia.com/cuda/eula/index.html + summary: CUDA internal headers. + description: | + CUDA internal headers. + doc_url: https://docs.nvidia.com/cuda/index.html + + - name: cuda-nvvm-tools + files: + - nvvm/bin # [linux] + - nvvm/libdevice # [linux] + - Library\nvvm\bin # [win] + - Library\nvvm\libdevice # [win] + requirements: + build: + - {{ compiler("c") }} + - {{ compiler("cxx") }} + - {{ stdlib("c") }} + host: + - cuda-version {{ cuda_version }} + run: + - {{ pin_compatible("cuda-version", max_pin="x.x") }} + - arm-variant * {{ arm_variant_type }} # [aarch64] + test: + requires: + - patchelf # [linux] + files: + - test-rpath-nvvm.sh # [linux] + commands: + - test -d $PREFIX/nvvm # [linux] + - test -f $PREFIX/nvvm/bin/cicc # [linux] + - bash test-rpath-nvvm.sh # [linux] + - if not exist %LIBRARY_PREFIX%\nvvm\bin\cicc.exe exit 1 # [win] + - if not exist %LIBRARY_PREFIX%\nvvm\libdevice exit 1 # [win] + about: + home: https://developer.nvidia.com/cuda-toolkit + license_file: LICENSE + license: LicenseRef-NVIDIA-End-User-License-Agreement + license_url: https://docs.nvidia.com/cuda/eula/index.html + summary: Compiler for CUDA applications. + description: | + Compiler for CUDA applications. + doc_url: https://docs.nvidia.com/cuda/index.html + + - name: cuda-nvvm-dev_{{ target_platform }} + build: + noarch: generic + files: # [linux] + - targets/{{ target_name }}/nvvm # [linux] + requirements: + host: + - cuda-version {{ cuda_version }} + run: + - {{ pin_compatible("cuda-version", max_pin="x.x") }} + - arm-variant * {{ arm_variant_type }} # [aarch64] + test: + commands: + - test -L $PREFIX/targets/{{ target_name }}/nvvm # [linux] + about: + home: https://developer.nvidia.com/cuda-toolkit + license_file: LICENSE + license: LicenseRef-NVIDIA-End-User-License-Agreement + license_url: https://docs.nvidia.com/cuda/eula/index.html + summary: Compiler for CUDA applications. + description: | + Compiler for CUDA applications. + doc_url: https://docs.nvidia.com/cuda/index.html + + - name: cuda-nvvm-impl + build: + # libnvvm.so gets corrupted by patchelf. No need to relocate as it is already relocatable. + binary_relocation: false + # This is a workaround to ignore the overlinking error for problematic *.so files. + # The reason is that in the Amazon Linux 2-based Docker container, there's py-lief version 0.12.3. + # In the Rocky 8 container, there's 0.16.4, which seems to have this bug. + # See also: + # https://github.com/anaconda/docker-images/blob/main/anaconda-pkg-build/linux/rocky8/Dockerfile + # https://github.com/conda/conda-build/issues/5665 + # https://github.com/conda-forge/conda-build-feedstock/pull/251 + # https://github.com/conda-forge/lief-feedstock/pull/57#issuecomment-2770881269 + # This workaround should be removed when the conda-build fix is merged/py-lief pinned and the rocky 8 docker image rebuilt. + overlinking_ignore_patterns: # [linux and aarch64] + - "nvvm/lib64/libnvvm.so*" # [linux and aarch64] + files: + - nvvm/include # [linux] + - nvvm/lib64 # [linux] + - Library\nvvm\include # [win] + - Library\nvvm\lib # [win] + requirements: + build: + - {{ compiler("c") }} + - {{ compiler("cxx") }} + - {{ stdlib("c") }} + host: + - cuda-version {{ cuda_version }} + run: + - {{ pin_compatible("cuda-version", max_pin="x.x") }} + - arm-variant * {{ arm_variant_type }} # [aarch64] + test: + requires: + - patchelf # [linux] + files: + - test-rpath-nvvm.sh # [linux] + commands: + - test -d $PREFIX/nvvm/include # [linux] + - test -d $PREFIX/nvvm/lib64 # [linux] + - bash test-rpath-nvvm.sh # [linux] + - if not exist %LIBRARY_PREFIX%\nvvm\include exit 1 # [win] + - if not exist %LIBRARY_PREFIX%\nvvm\lib exit 1 # [win] + about: + home: https://developer.nvidia.com/cuda-toolkit + license_file: LICENSE + license: LicenseRef-NVIDIA-End-User-License-Agreement + license_url: https://docs.nvidia.com/cuda/eula/index.html + summary: Compiler for CUDA applications. + description: | + Compiler for CUDA applications. + doc_url: https://docs.nvidia.com/cuda/index.html + +about: + home: https://developer.nvidia.com/cuda-toolkit + license_file: LICENSE + license: LicenseRef-NVIDIA-End-User-License-Agreement + license_url: https://docs.nvidia.com/cuda/eula/index.html + summary: Compiler for CUDA applications. + description: | + Compiler for CUDA applications. + doc_url: https://docs.nvidia.com/cuda/index.html + +extra: + feedstock-name: cuda-nvcc-impl + recipe-maintainers: + - conda-forge/cuda diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/nvcc.profile.patch b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/nvcc.profile.patch new file mode 100644 index 0000000000000000000000000000000000000000..4a9713ee43f519c94a8956c6f2ba2e13079205cb --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/nvcc.profile.patch @@ -0,0 +1,23 @@ +--- bin/nvcc.profile.bak 2024-03-12 15:52:23.511145665 +0000 ++++ bin/nvcc.profile 2024-03-12 16:27:28.806624738 +0000 +@@ -1,15 +1,15 @@ + +-TOP = $(_HERE_)/.. ++TOP = $(_HERE_)/../$(_TARGET_DIR_) + + CICC_PATH = $(TOP)/nvvm/bin + NVVMIR_LIBRARY_DIR = $(TOP)/nvvm/libdevice + + LD_LIBRARY_PATH += $(TOP)/lib: +-PATH += $(CICC_PATH):$(_HERE_): ++PATH += $(TOP)/bin:$(CICC_PATH):$(TOP)/../../bin:$(TOP)/../../$(_NVVM_BRANCH_)/bin: + +-INCLUDES += "-I$(TOP)/$(_TARGET_DIR_)/include" $(_SPACE_) ++INCLUDES += "-I$(TOP)/include" $(_SPACE_) + +-LIBRARIES =+ $(_SPACE_) "-L$(TOP)/$(_TARGET_DIR_)/lib$(_TARGET_SIZE_)/stubs" "-L$(TOP)/$(_TARGET_DIR_)/lib$(_TARGET_SIZE_)" ++LIBRARIES =+ $(_SPACE_) "-L$(TOP)/lib/stubs" "-L$(TOP)/lib" + + CUDAFE_FLAGS += + PTXAS_FLAGS += + diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/nvcc.profile.patch.win b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/nvcc.profile.patch.win new file mode 100644 index 0000000000000000000000000000000000000000..96ada0ba28d8ee0a3e10b37b1f9ca1fb4f6be7b0 --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/nvcc.profile.patch.win @@ -0,0 +1,14 @@ +--- bin/nvcc.profile 2023-03-23 15:56:49.535384866 -0400 ++++ bin/nvcc.profile.new 2023-03-23 19:21:08.071151138 -0400 +@@ -5,9 +5,9 @@ + + PATH += $(TOP)/$(_NVVM_BRANCH_)/bin;$(_HERE_);$(TOP)/lib; + +-INCLUDES += "-I$(TOP)/include" $(_SPACE_) ++INCLUDES += "-I$(TOP)/include" $(_SPACE_) "-I$(TOP)/include/targets/$(_WIN_PLATFORM_)" $(_SPACE_) + +-LIBRARIES =+ $(_SPACE_) "/LIBPATH:$(TOP)/lib/$(_WIN_PLATFORM_)" ++LIBRARIES =+ $(_SPACE_) "/LIBPATH:$(TOP)/lib/$(_WIN_PLATFORM_)" $(_SPACE_) "/LIBPATH:$(TOP)/lib" + + CUDAFE_FLAGS += + PTXAS_FLAGS += diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/patchelf_exclude.txt b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/patchelf_exclude.txt new file mode 100644 index 0000000000000000000000000000000000000000..3075b28c97b65aaecf7b3a870e0fa29bfdf54f5b --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/patchelf_exclude.txt @@ -0,0 +1,4 @@ +link.stub +prelink.stub +nvcc.profile +patchelf diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/run_nvcc_tests.bat b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/run_nvcc_tests.bat new file mode 100644 index 0000000000000000000000000000000000000000..852f98821e74ed49eb40fc691a2aab917575936f --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/run_nvcc_tests.bat @@ -0,0 +1,45 @@ +@echo on + +nvcc --version +if errorlevel 1 exit 1 + +nvcc --verbose test.cu +if errorlevel 1 exit 1 + +cmake -S . -B ./build -G=Ninja && cmake --build ./build -v +if errorlevel 1 exit 1 + +REM Get CMake version for cloning the right branch +for /f "tokens=3" %%i in ('cmake --version ^| findstr version') do set CMAKE_VERSION=%%i + +REM Clone and build CMake's test suite +md cmake-tests +git clone -b v%CMAKE_VERSION% --depth 1 https://gitlab.kitware.com/cmake/cmake.git cmake-tests +if errorlevel 1 exit 1 + +cmake -S cmake-tests -B cmake-tests/build -DCMake_TEST_HOST_CMAKE=ON -DCMake_TEST_CUDA=nvcc -G "Ninja" +if errorlevel 1 exit 1 + +REM Change to the CMake test build directory and run CUDA tests +cd cmake-tests\build + +REM Test exclusion list: +REM Requires CUDA libraries not available in build environment +REM ProperDeviceLibraries (needs cublas) +REM *SharedRuntime* (needs curand) +REM +REM Requires execution on a machine with a CUDA GPU +REM ObjectLibrary, WithC, StubRPATH, ArchSpecial, GPUDebugFlag +REM SeparateCompilationPTX, WithDefs, CUBIN, Fatbin, OptixIR +REM CUDA_architectures, *Toolkit* +REM +REM Failing due to glibc symbol issues +REM Cuda.Complex +REM +REM Windows-specific issues (path length, resource compiler, command parsing) +REM CompileFeatures - Windows environment compatibility issues +REM NinjaMultiConfig - Windows resource compiler and manifest file issues +REM UnityBuild - Windows path length limitations (250 character limit) +REM RuntimeControls - Windows command parsing issues with complex paths +ctest -L CUDA --output-on-failure -E "(Architecture|CompileFlags|DeviceLTO|ProperDeviceLibraries|SharedRuntime|ObjectLibrary|WithC|StubRPATH|ArchSpecial|GPUDebugFlag|SeparateCompilationPTX|WithDefs|CUBIN|Fatbin|OptixIR|CUDA_architectures|Toolkit|Cuda.Complex|CompileFeatures|NinjaMultiConfig|UnityBuild|RuntimeControls)" +if errorlevel 1 exit 1 diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/run_nvcc_tests.sh b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/run_nvcc_tests.sh new file mode 100644 index 0000000000000000000000000000000000000000..cde7715a4242ebefd204db4515da75e054499d8e --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/run_nvcc_tests.sh @@ -0,0 +1,67 @@ +#!/bin/bash +set -e +set -x + +kernel_name="$(uname -s)" +if [[ "${kernel_name}" != "Linux" ]] +then + echo "Unknown OS. Expected Linux, but found ${kernel_name}" + exit 1 +fi + +processor_name="$(uname -m)" +case "${processor_name}" in + "x86_64") test_platform="linux-64" ;; + "aarch64") test_platform="linux-aarch64" ;; + "ppc64le") test_platform="linux-ppc64le" ;; + *) echo "Unknown architecture: ${processor_name}" && exit 1 ;; +esac + +if [[ "${test_platform}" != "${target_platform}" ]] +then + echo "Skipping NVCC testing as current platform is ${test_platform}, whereas; NVCC is built for ${target_platform}." + exit 0 +fi + +cmake_version=$(cmake --version | grep version | awk '{print $3}') + +nvcc --version + +nvcc --verbose test.cu + +cmake -S . -B ./build -G=Ninja && cmake --build ./build -v + +if [[ "${target_platform}" == "linux-ppc64le" ]] +then + echo "Skipping CMake tests on ${target_platform} due to known issues." + exit 0 +fi + +mkdir -p cmake-tests +git clone -b v${cmake_version} --depth 1 https://gitlab.kitware.com/cmake/cmake.git cmake-tests +cmake -S cmake-tests -B cmake-tests/build -DCMake_TEST_HOST_CMAKE=ON -DCMake_TEST_CUDA=nvcc -G "Ninja" +cd cmake-tests/build + +# Test exclusion list: +# Requires cublas +# Cuda.ProperDeviceLibraries +# +# Requires curand +# *SharedRuntime* +# +# Requires execution on a machine with a CUDA GPU +# Cuda.ObjectLibrary +# Cuda.WithC +# Cuda.StubRPATH +# CudaOnly.ArchSpecial +# CudaOnly.GPUDebugFlag +# CudaOnly.SeparateCompilationPTX +# CudaOnly.WithDefs +# CudaOnly.CUBIN +# CudaOnly.Fatbin +# CudaOnly.OptixIR +# RunCMake.CUDA_architectures +# *Toolkit* +# Failing due to undefined symbol: __libc_dl_error_tsd, version GLIBC_PRIVATE +# Cuda.Complex +CUDAHOSTCXX=$CXX ctest -L CUDA --output-on-failure -j $(nproc) -E "(ProperDeviceLibraries|SharedRuntime|ObjectLibrary|WithC|StubRPATH|ArchSpecial|GPUDebugFlag|SeparateCompilationPTX|WithDefs|CUBIN|Fatbin|OptixIR|CUDA_architectures|Toolkit|Cuda.Complex)" diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/test-rpath-nvcc.sh b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/test-rpath-nvcc.sh new file mode 100644 index 0000000000000000000000000000000000000000..a3de7e6b591acdb50946ea586a697c4b464350de --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/test-rpath-nvcc.sh @@ -0,0 +1,50 @@ +#!/bin/bash + +[[ ${target_platform} == "linux-64" ]] && targetsDir="targets/x86_64-linux" +[[ ${target_platform} == "linux-ppc64le" ]] && targetsDir="targets/ppc64le-linux" +# https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html?highlight=tegra#cross-compilation +[[ ${target_platform} == "linux-aarch64" && ${arm_variant_type} == "sbsa" ]] && targetsDir="targets/sbsa-linux" +[[ ${target_platform} == "linux-aarch64" && ${arm_variant_type} == "tegra" ]] && targetsDir="targets/aarch64-linux" + +if [ -z "${targetsDir+x}" ]; then + echo "target_platform: ${target_platform} is unknown! targetsDir must be defined!" >&2 + exit 1 +fi + +errors="" + +for item in `find ${PREFIX}/bin -type f`; do + filename=$(basename "${item}") + echo "Artifact to test: ${filename}" + + if grep -qx "${filename}" patchelf_exclude.txt; then + echo Skipping ${filename} as it is not subject to testing + continue + fi + + pkg_info=$(conda package -w "${item}") + echo "\$PKG_NAME: ${PKG_NAME}" + echo "\$pkg_info: ${pkg_info}" + + if [[ ! "$pkg_info" == *"$PKG_NAME"* ]]; then + echo "Not a match, skipping ${item}" + continue + fi + + echo "Match found, testing ${item}" + + rpath=$(patchelf --print-rpath "${item}") + echo "${item} rpath: ${rpath}" + + if [[ ${item} =~ /bin/ && $rpath != "\$ORIGIN/../lib:\$ORIGIN/../${targetsDir}/lib" ]]; then + errors+="${item}\n" + elif [[ $(objdump -x ${item} | grep "PATH") == *"RUNPATH"* ]]; then + errors+="${item}\n" + fi +done + +if [[ $errors ]]; then + echo "The following items were found with an unexpected RPATH:" + echo -e "${errors}" + exit 1 +fi diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/test-rpath-nvvm.sh b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/test-rpath-nvvm.sh new file mode 100644 index 0000000000000000000000000000000000000000..2779d0b0240e6c8d0b696543a23811dc258cb045 --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/test-rpath-nvvm.sh @@ -0,0 +1,58 @@ +#!/bin/bash + +[[ ${target_platform} == "linux-64" ]] && targetsDir="targets/x86_64-linux" +[[ ${target_platform} == "linux-ppc64le" ]] && targetsDir="targets/ppc64le-linux" +# https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html?highlight=tegra#cross-compilation +[[ ${target_platform} == "linux-aarch64" && ${arm_variant_type} == "sbsa" ]] && targetsDir="targets/sbsa-linux" +[[ ${target_platform} == "linux-aarch64" && ${arm_variant_type} == "tegra" ]] && targetsDir="targets/aarch64-linux" + +if [ -z "${targetsDir+x}" ]; then + echo "target_platform: ${target_platform} is unknown! targetsDir must be defined!" >&2 + exit 1 +fi + +errors="" + +dirs=() +[[ -d ${PREFIX}/nvvm/bin ]] && dirs+=(${PREFIX}/nvvm/bin) +[[ -d ${PREFIX}/nvvm/lib64 ]] && dirs+=(${PREFIX}/nvvm/lib64) + +if [[ ${#dirs[@]} == 0 ]]; then + echo "There is nothing to test. Returning." + exit +fi + +for item in `find ${dirs[@]} -type f`; do + [[ -L $item ]] && continue + + echo "Artifact to test: ${item}" + filename=$(basename "${item}") + + pkg_info=$(conda package -w "${item}") + echo "\$PKG_NAME: ${PKG_NAME}" + echo "\$pkg_info: ${pkg_info}" + + if [[ ! "$pkg_info" == *"$PKG_NAME"* ]]; then + echo "Not a match, skipping ${item}" + continue + fi + + echo "Match found, testing ${item}" + + rpath=$(patchelf --print-rpath "${item}") + echo "${item} rpath: ${rpath}" + + if [[ ${item} =~ /nvvm/bin/ && $rpath != "\$ORIGIN/../lib64:\$ORIGIN/../../lib:\$ORIGIN/../../${targetsDir}/lib" ]]; then + errors+="${item}\n" + elif [[ ${item} =~ nvvm/lib64/ && $rpath != "\$ORIGIN" ]]; then + errors+="${item}\n" + elif [[ $(objdump -x ${item} | grep "PATH") == *"RUNPATH"* ]]; then + errors+="${item}\n" + fi +done + +if [[ $errors ]]; then + echo "The following items were found with an unexpected RPATH:" + echo -e "${errors}" + exit 1 +fi diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/test.cu b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/test.cu new file mode 100644 index 0000000000000000000000000000000000000000..33c14ce1d76c0abf607ca769d1c3f913b0a7e421 --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/recipe/parent/test.cu @@ -0,0 +1,3 @@ +int main() { + return 0; +} diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/repodata_record.json b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/repodata_record.json new file mode 100644 index 0000000000000000000000000000000000000000..562e977d9602bfc15f2b5327653ce47f7ad5a9bf --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/repodata_record.json @@ -0,0 +1,24 @@ +{ + "name": "cuda-nvvm-impl", + "version": "12.8.93", + "build": "hbdd6827_3", + "build_number": 3, + "channel": "https://repo.anaconda.com/pkgs/main/linux-64", + "subdir": "linux-64", + "fn": "cuda-nvvm-impl-12.8.93-hbdd6827_3.conda", + "md5": "cd807c4bafd806e150115933e3110aec", + "url": "https://repo.anaconda.com/pkgs/main/linux-64/cuda-nvvm-impl-12.8.93-hbdd6827_3.conda", + "sha256": "0cbea6a210e8a62e2eab5e38177fda6ba2c04e57329a20b13d370ecee2434673", + "arch": "x86_64", + "platform": "linux", + "depends": [ + "__glibc >=2.28,<3.0.a0", + "cuda-version >=12.8,<12.9.0a0", + "libgcc-ng >=11.2.0", + "libstdcxx-ng >=11.2.0" + ], + "constrains": [], + "license": "LicenseRef-NVIDIA-End-User-License-Agreement", + "timestamp": 1758920534000, + "size": 21754544 +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/test/run_test.sh b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/test/run_test.sh new file mode 100644 index 0000000000000000000000000000000000000000..52a34c774a6fa899f2e4c8da355a2d98c6037577 --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/test/run_test.sh @@ -0,0 +1,10 @@ + + +set -ex + + + +test -d $PREFIX/nvvm/include +test -d $PREFIX/nvvm/lib64 +bash test-rpath-nvvm.sh +exit 0 diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/test/test-rpath-nvvm.sh b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/test/test-rpath-nvvm.sh new file mode 100644 index 0000000000000000000000000000000000000000..2779d0b0240e6c8d0b696543a23811dc258cb045 --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/test/test-rpath-nvvm.sh @@ -0,0 +1,58 @@ +#!/bin/bash + +[[ ${target_platform} == "linux-64" ]] && targetsDir="targets/x86_64-linux" +[[ ${target_platform} == "linux-ppc64le" ]] && targetsDir="targets/ppc64le-linux" +# https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html?highlight=tegra#cross-compilation +[[ ${target_platform} == "linux-aarch64" && ${arm_variant_type} == "sbsa" ]] && targetsDir="targets/sbsa-linux" +[[ ${target_platform} == "linux-aarch64" && ${arm_variant_type} == "tegra" ]] && targetsDir="targets/aarch64-linux" + +if [ -z "${targetsDir+x}" ]; then + echo "target_platform: ${target_platform} is unknown! targetsDir must be defined!" >&2 + exit 1 +fi + +errors="" + +dirs=() +[[ -d ${PREFIX}/nvvm/bin ]] && dirs+=(${PREFIX}/nvvm/bin) +[[ -d ${PREFIX}/nvvm/lib64 ]] && dirs+=(${PREFIX}/nvvm/lib64) + +if [[ ${#dirs[@]} == 0 ]]; then + echo "There is nothing to test. Returning." + exit +fi + +for item in `find ${dirs[@]} -type f`; do + [[ -L $item ]] && continue + + echo "Artifact to test: ${item}" + filename=$(basename "${item}") + + pkg_info=$(conda package -w "${item}") + echo "\$PKG_NAME: ${PKG_NAME}" + echo "\$pkg_info: ${pkg_info}" + + if [[ ! "$pkg_info" == *"$PKG_NAME"* ]]; then + echo "Not a match, skipping ${item}" + continue + fi + + echo "Match found, testing ${item}" + + rpath=$(patchelf --print-rpath "${item}") + echo "${item} rpath: ${rpath}" + + if [[ ${item} =~ /nvvm/bin/ && $rpath != "\$ORIGIN/../lib64:\$ORIGIN/../../lib:\$ORIGIN/../../${targetsDir}/lib" ]]; then + errors+="${item}\n" + elif [[ ${item} =~ nvvm/lib64/ && $rpath != "\$ORIGIN" ]]; then + errors+="${item}\n" + elif [[ $(objdump -x ${item} | grep "PATH") == *"RUNPATH"* ]]; then + errors+="${item}\n" + fi +done + +if [[ $errors ]]; then + echo "The following items were found with an unexpected RPATH:" + echo -e "${errors}" + exit 1 +fi diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/test/test_time_dependencies.json b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/test/test_time_dependencies.json new file mode 100644 index 0000000000000000000000000000000000000000..2348db2f9ba7ce6dfba09665b32c65111d5b4afd --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/info/test/test_time_dependencies.json @@ -0,0 +1 @@ +["patchelf"] \ No newline at end of file diff --git a/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/nvvm/include/nvvm.h b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/nvvm/include/nvvm.h new file mode 100644 index 0000000000000000000000000000000000000000..46a57527d090eeea8ff5b8b3233193c1e1c913c4 --- /dev/null +++ b/data/miniconda3/pkgs/cuda-nvvm-impl-12.8.93-hbdd6827_3/nvvm/include/nvvm.h @@ -0,0 +1,355 @@ +// +// NVIDIA_COPYRIGHT_BEGIN +// +// Copyright (c) 2014-2024, NVIDIA CORPORATION. All rights reserved. +// +// NVIDIA CORPORATION and its licensors retain all intellectual property +// and proprietary rights in and to this software, related documentation +// and any modifications thereto. Any use, reproduction, disclosure or +// distribution of this software and related documentation without an express +// license agreement from NVIDIA CORPORATION is strictly prohibited. +// +// NVIDIA_COPYRIGHT_END +// + +#ifndef NVVM_H +#define NVVM_H + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +#include + + +/*****************************//** + * + * \defgroup error Error Handling + * + ********************************/ + + +/** + * \ingroup error + * \brief NVVM API call result code. + */ +typedef enum { + NVVM_SUCCESS = 0, + NVVM_ERROR_OUT_OF_MEMORY = 1, + NVVM_ERROR_PROGRAM_CREATION_FAILURE = 2, + NVVM_ERROR_IR_VERSION_MISMATCH = 3, + NVVM_ERROR_INVALID_INPUT = 4, + NVVM_ERROR_INVALID_PROGRAM = 5, + NVVM_ERROR_INVALID_IR = 6, + NVVM_ERROR_INVALID_OPTION = 7, + NVVM_ERROR_NO_MODULE_IN_PROGRAM = 8, + NVVM_ERROR_COMPILATION = 9, + NVVM_ERROR_CANCELLED = 10 +} nvvmResult; + + +/** + * \ingroup error + * \brief Get the message string for the given #nvvmResult code. + * + * \param [in] result NVVM API result code. + * \return Message string for the given #nvvmResult code. + */ +const char *nvvmGetErrorString(nvvmResult result); + + +/****************************************//** + * + * \defgroup query General Information Query + * + *******************************************/ + + +/** + * \ingroup query + * \brief Get the NVVM version. + * + * \param [out] major NVVM major version number. + * \param [out] minor NVVM minor version number. + * \return + * - \link ::nvvmResult NVVM_SUCCESS \endlink + * + */ +nvvmResult nvvmVersion(int *major, int *minor); + + +/** + * \ingroup query + * \brief Get the NVVM IR version. + * + * \param [out] majorIR NVVM IR major version number. + * \param [out] minorIR NVVM IR minor version number. + * \param [out] majorDbg NVVM IR debug metadata major version number. + * \param [out] minorDbg NVVM IR debug metadata minor version number. + * \return + * - \link ::nvvmResult NVVM_SUCCESS \endlink + * + */ +nvvmResult nvvmIRVersion(int *majorIR, int *minorIR, int *majorDbg, int *minorDbg); + + +/********************************//** + * + * \defgroup compilation Compilation + * + ***********************************/ + +/** + * \ingroup compilation + * \brief NVVM Program. + * + * An opaque handle for a program. + */ +typedef struct _nvvmProgram *nvvmProgram; + +/** + * \ingroup compilation + * \brief Create a program, and set the value of its handle to \p *prog. + * + * \param [in] prog NVVM program. + * \return + * - \link ::nvvmResult NVVM_SUCCESS \endlink + * - \link ::nvvmResult NVVM_ERROR_OUT_OF_MEMORY \endlink + * - \link ::nvvmResult NVVM_ERROR_INVALID_PROGRAM \endlink + * + * \see nvvmDestroyProgram() + */ +nvvmResult nvvmCreateProgram(nvvmProgram *prog); + + +/** + * \ingroup compilation + * \brief Destroy a program. + * + * \param [in] prog NVVM program. + * \return + * - \link ::nvvmResult NVVM_SUCCESS \endlink + * - \link ::nvvmResult NVVM_ERROR_INVALID_PROGRAM \endlink + * + * \see nvvmCreateProgram() + */ +nvvmResult nvvmDestroyProgram(nvvmProgram *prog); + + +/** + * \ingroup compilation + * \brief Add a module level NVVM IR to a program. + * + * The \p buffer should contain an NVVM IR module. + * The module should have NVVM IR either in the LLVM 7.0.1 bitcode + * representation or in the LLVM 7.0.1 text representation. Support for reading + * the text representation of NVVM IR is deprecated and may be removed in a + * later version. + * + * \param [in] prog NVVM program. + * \param [in] buffer NVVM IR module in the bitcode or text + * representation. + * \param [in] size Size of the NVVM IR module. + * \param [in] name Name of the NVVM IR module. + * If NULL, "" is used as the name. + * \return + * - \link ::nvvmResult NVVM_SUCCESS \endlink + * - \link ::nvvmResult NVVM_ERROR_OUT_OF_MEMORY \endlink + * - \link ::nvvmResult NVVM_ERROR_INVALID_INPUT \endlink + * - \link ::nvvmResult NVVM_ERROR_INVALID_PROGRAM \endlink + */ +nvvmResult nvvmAddModuleToProgram(nvvmProgram prog, const char *buffer, size_t size, const char *name); + +/** + * \ingroup compilation + * \brief Add a module level NVVM IR to a program. + * + * The \p buffer should contain an NVVM IR module. The module should have NVVM + * IR in the LLVM 7.0.1 bitcode representation. + * + * A module added using this API is lazily loaded - the only symbols loaded + * are those that are required by module(s) loaded using + * nvvmAddModuleToProgram. It is an error for a program to have + * all modules loaded using this API. Compiler may also optimize entities + * in this module by making them internal to the linked NVVM IR module, + * making them eligible for other optimizations. Due to these + * optimizations, this API to load a module is more efficient and should + * be used where possible. + * + * \param [in] prog NVVM program. + * \param [in] buffer NVVM IR module in the bitcode representation. + * \param [in] size Size of the NVVM IR module. + * \param [in] name Name of the NVVM IR module. + * If NULL, "" is used as the name. + * \return + * - \link ::nvvmResult NVVM_SUCCESS \endlink + * - \link ::nvvmResult NVVM_ERROR_OUT_OF_MEMORY \endlink + * - \link ::nvvmResult NVVM_ERROR_INVALID_INPUT \endlink + * - \link ::nvvmResult NVVM_ERROR_INVALID_PROGRAM \endlink + */ +nvvmResult nvvmLazyAddModuleToProgram(nvvmProgram prog, const char *buffer, size_t size, const char *name); + +/** + * \ingroup compilation + * \brief Compile the NVVM program. + * + * The NVVM IR modules in the program will be linked at the IR level. + * The linked IR program is compiled to PTX. + * + * The target datalayout in the linked IR program is used to + * determine the address size (32bit vs 64bit). + * + * The valid compiler options are: + * + * - -g (enable generation of full debugging information). + * Full debug support is only valid with '-opt=0'. Debug support + * requires the input module to utilize NVVM IR Debug Metadata. + * Line number (line info) only generation is also enabled via NVVM IR + * Debug Metadata, there is no specific libNVVM API flag for that case. + * - -opt= + * - 0 (disable optimizations) + * - 3 (default, enable optimizations) + * - -arch= + * - compute_50 + * - compute_52 (default) + * - compute_53 + * - compute_60 + * - compute_61 + * - compute_62 + * - compute_70 + * - compute_72 + * - compute_75 + * - compute_80 + * - compute_87 + * - compute_89 + * - compute_90 + * - compute_90a + * - compute_100 + * - compute_100a + * - -ftz= + * - 0 (default, preserve denormal values, when performing + * single-precision floating-point operations) + * - 1 (flush denormal values to zero, when performing + * single-precision floating-point operations) + * - -prec-sqrt= + * - 0 (use a faster approximation for single-precision + * floating-point square root) + * - 1 (default, use IEEE round-to-nearest mode for + * single-precision floating-point square root) + * - -prec-div= + * - 0 (use a faster approximation for single-precision + * floating-point division and reciprocals) + * - 1 (default, use IEEE round-to-nearest mode for + * single-precision floating-point division and reciprocals) + * - -fma= + * - 0 (disable FMA contraction) + * - 1 (default, enable FMA contraction) + * - -jump-table-density=[0-101] + * Specify the case density percentage in switch statements, and use + * it as a minimal threshold to determine whether jump table(brx.idx + * instruction) will be used to implement a switch statement. Default + * value is 101. The percentage ranges from 0 to 101 inclusively. + * - -gen-lto (Generate LTO IR instead of PTX). + * + * \param [in] prog NVVM program. + * \param [in] numOptions Number of compiler \p options passed. + * \param [in] options Compiler options in the form of C string array. + * \return + * - \link ::nvvmResult NVVM_SUCCESS \endlink + * - \link ::nvvmResult NVVM_ERROR_OUT_OF_MEMORY \endlink + * - \link ::nvvmResult NVVM_ERROR_IR_VERSION_MISMATCH \endlink + * - \link ::nvvmResult NVVM_ERROR_INVALID_PROGRAM \endlink + * - \link ::nvvmResult NVVM_ERROR_INVALID_OPTION \endlink + * - \link ::nvvmResult NVVM_ERROR_NO_MODULE_IN_PROGRAM \endlink + * - \link ::nvvmResult NVVM_ERROR_COMPILATION \endlink + */ +nvvmResult nvvmCompileProgram(nvvmProgram prog, int numOptions, const char **options); + +/** + * \ingroup compilation + * \brief Verify the NVVM program. + * + * The valid compiler options are: + * + * Same as for nvvmCompileProgram(). + * + * \param [in] prog NVVM program. + * \param [in] numOptions Number of compiler \p options passed. + * \param [in] options Compiler options in the form of C string array. + * \return + * - \link ::nvvmResult NVVM_SUCCESS \endlink + * - \link ::nvvmResult NVVM_ERROR_OUT_OF_MEMORY \endlink + * - \link ::nvvmResult NVVM_ERROR_IR_VERSION_MISMATCH \endlink + * - \link ::nvvmResult NVVM_ERROR_INVALID_PROGRAM \endlink + * - \link ::nvvmResult NVVM_ERROR_INVALID_IR \endlink + * - \link ::nvvmResult NVVM_ERROR_INVALID_OPTION \endlink + * - \link ::nvvmResult NVVM_ERROR_NO_MODULE_IN_PROGRAM \endlink + * + * \see nvvmCompileProgram() + */ +nvvmResult nvvmVerifyProgram(nvvmProgram prog, int numOptions, const char **options); + +/** + * \ingroup compilation + * \brief Get the size of the compiled result. + * + * \param [in] prog NVVM program. + * \param [out] bufferSizeRet Size of the compiled result (including the + * trailing NULL). + * \return + * - \link ::nvvmResult NVVM_SUCCESS \endlink + * - \link ::nvvmResult NVVM_ERROR_INVALID_PROGRAM \endlink + */ +nvvmResult nvvmGetCompiledResultSize(nvvmProgram prog, size_t *bufferSizeRet); + + +/** + * \ingroup compilation + * \brief Get the compiled result. + * + * The result is stored in the memory pointed to by \p buffer. + * + * \param [in] prog NVVM program. + * \param [out] buffer Compiled result. + * \return + * - \link ::nvvmResult NVVM_SUCCESS \endlink + * - \link ::nvvmResult NVVM_ERROR_INVALID_PROGRAM \endlink + */ +nvvmResult nvvmGetCompiledResult(nvvmProgram prog, char *buffer); + +/** + * \ingroup compilation + * \brief Get the Size of Compiler/Verifier Message. + * + * The size of the message string (including the trailing NULL) is stored into + * \p bufferSizeRet when the return value is NVVM_SUCCESS. + * + * \param [in] prog NVVM program. + * \param [out] bufferSizeRet Size of the compilation/verification log + (including the trailing NULL). + * \return + * - \link ::nvvmResult NVVM_SUCCESS \endlink + * - \link ::nvvmResult NVVM_ERROR_INVALID_PROGRAM \endlink + */ +nvvmResult nvvmGetProgramLogSize(nvvmProgram prog, size_t *bufferSizeRet); + +/** + * \ingroup compilation + * \brief Get the Compiler/Verifier Message. + * + * The NULL terminated message string is stored in the memory pointed to by + * \p buffer when the return value is NVVM_SUCCESS. + * + * \param [in] prog NVVM program. + * \param [out] buffer Compilation/Verification log. + * \return + * - \link ::nvvmResult NVVM_SUCCESS \endlink + * - \link ::nvvmResult NVVM_ERROR_INVALID_PROGRAM \endlink + */ +nvvmResult nvvmGetProgramLog(nvvmProgram prog, char *buffer); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* NVVM_H */ diff --git a/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/about.json b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/about.json new file mode 100644 index 0000000000000000000000000000000000000000..950412233b8666989454c19ef8f9eeb71119353c --- /dev/null +++ b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/about.json @@ -0,0 +1,138 @@ +{ + "channels": [ + "https://repo.anaconda.com/pkgs/main", + "https://conda.anaconda.org/nvidia/linux-64" + ], + "conda_build_version": "24.1.2", + "conda_version": "24.1.2", + "description": "The cuFFT library provides GPU-accelerated Fast Fourier Transform (FFT) implementations.\n", + "doc_url": "https://docs.nvidia.com/cuda/cufft/", + "env_vars": { + "CIO_TEST": "" + }, + "extra": { + "copy_test_source_files": true, + "final": true, + "recipe-maintainers": [ + "conda-forge/cuda" + ] + }, + "home": "https://developer.nvidia.com/cufft", + "identifiers": [], + "keywords": [], + "license": "LicenseRef-NVIDIA-End-User-License-Agreement", + "license_file": "LICENSE", + "license_url": "https://docs.nvidia.com/cuda/eula/index.html", + "root_pkgs": [ + "_libgcc_mutex 0.1 main", + "_openmp_mutex 5.1 1_gnu", + "archspec 0.2.1 pyhd3eb1b0_0", + "boltons 23.0.0 py312h06a4308_0", + "brotli-python 1.0.9 py312h6a678d5_7", + "bzip2 1.0.8 h7b6447c_0", + "c-ares 1.19.1 h5eee18b_0", + "ca-certificates 2023.12.12 h06a4308_0", + "certifi 2024.2.2 py312h06a4308_0", + "cffi 1.16.0 py312h5eee18b_0", + "charset-normalizer 2.0.4 pyhd3eb1b0_0", + "conda 24.1.2 py312h06a4308_0", + "conda-content-trust 0.2.0 py312h06a4308_0", + "conda-libmamba-solver 23.12.0 pyhd3eb1b0_1", + "conda-package-handling 2.2.0 py312h06a4308_0", + "conda-package-streaming 0.9.0 py312h06a4308_0", + "cryptography 41.0.7 py312hdda0065_0", + "distro 1.8.0 py312h06a4308_0", + "expat 2.5.0 h6a678d5_0", + "fmt 9.1.0 hdb19cb5_0", + "icu 73.1 h6a678d5_0", + "idna 3.4 py312h06a4308_0", + "jsonpatch 1.32 pyhd3eb1b0_0", + "jsonpointer 2.1 pyhd3eb1b0_0", + "krb5 1.20.1 h143b758_1", + "ld_impl_linux-64 2.38 h1181459_1", + "libarchive 3.6.2 h6ac8c49_2", + "libcurl 8.5.0 h251f7ec_0", + "libedit 3.1.20230828 h5eee18b_0", + "libev 4.33 h7f8727e_1", + "libffi 3.4.4 h6a678d5_0", + "libgcc-ng 11.2.0 h1234567_1", + "libgomp 11.2.0 h1234567_1", + "libmamba 1.5.3 haf1ee3a_0", + "libmambapy 1.5.3 py312h2dafd23_0", + "libnghttp2 1.57.0 h2d74bed_0", + "libsolv 0.7.24 he621ea3_0", + "libssh2 1.10.0 hdbd6064_2", + "libstdcxx-ng 11.2.0 h1234567_1", + "libuuid 1.41.5 h5eee18b_0", + "libxml2 2.10.4 hf1b16e4_1", + "lz4-c 1.9.4 h6a678d5_0", + "menuinst 2.0.2 py312h06a4308_0", + "ncurses 6.4 h6a678d5_0", + "openssl 3.0.13 h7f8727e_0", + "packaging 23.1 py312h06a4308_0", + "pcre2 10.42 hebb0a14_0", + "pip 23.3.1 py312h06a4308_0", + "platformdirs 3.10.0 py312h06a4308_0", + "pluggy 1.0.0 py312h06a4308_1", + "pybind11-abi 4 hd3eb1b0_1", + "pycosat 0.6.6 py312h5eee18b_0", + "pycparser 2.21 pyhd3eb1b0_0", + "pysocks 1.7.1 py312h06a4308_0", + "python 3.12.1 h996f2a0_0", + "readline 8.2 h5eee18b_0", + "reproc 14.2.4 h295c915_1", + "reproc-cpp 14.2.4 h295c915_1", + "requests 2.31.0 py312h06a4308_1", + "ruamel.yaml 0.17.21 py312h5eee18b_0", + "setuptools 68.2.2 py312h06a4308_0", + "sqlite 3.41.2 h5eee18b_0", + "tk 8.6.12 h1ccaba5_0", + "tqdm 4.65.0 py312he106c6f_0", + "truststore 0.8.0 py312h06a4308_0", + "tzdata 2023d h04d1e81_0", + "urllib3 2.1.0 py312h06a4308_1", + "wheel 0.41.2 py312h06a4308_0", + "xz 5.4.5 h5eee18b_0", + "yaml-cpp 0.8.0 h6a678d5_0", + "zlib 1.2.13 h5eee18b_0", + "zstandard 0.19.0 py312h5eee18b_0", + "zstd 1.5.5 hc292b87_0", + "anaconda-anon-usage 0.4.3 py312hfc0e8ea_100", + "anaconda-client 1.12.3 py312h06a4308_0", + "attrs 23.1.0 py312h06a4308_0", + "beautifulsoup4 4.12.2 py312h06a4308_0", + "chardet 4.0.0 py312h06a4308_1003", + "click 8.1.7 py312h06a4308_0", + "conda-build 24.1.2 py312h06a4308_0", + "conda-index 0.4.0 pyhd3eb1b0_0", + "defusedxml 0.7.1 pyhd3eb1b0_0", + "filelock 3.13.1 py312h06a4308_0", + "jinja2 3.1.3 py312h06a4308_0", + "jsonschema 4.19.2 py312h06a4308_0", + "jsonschema-specifications 2023.7.1 py312h06a4308_0", + "jupyter_core 5.5.0 py312h06a4308_0", + "liblief 0.12.3 h6a678d5_0", + "markupsafe 2.1.3 py312h5eee18b_0", + "more-itertools 10.1.0 py312h06a4308_0", + "nbformat 5.9.2 py312h06a4308_0", + "patch 2.7.6 h7b6447c_1001", + "patchelf 0.17.2 h6a678d5_0", + "pkginfo 1.9.6 py312h06a4308_0", + "psutil 5.9.0 py312h5eee18b_0", + "py-lief 0.12.3 py312h6a678d5_0", + "python-dateutil 2.8.2 pyhd3eb1b0_0", + "python-fastjsonschema 2.16.2 py312h06a4308_0", + "python-libarchive-c 2.9 pyhd3eb1b0_1", + "pytz 2023.3.post1 py312h06a4308_0", + "pyyaml 6.0.1 py312h5eee18b_0", + "referencing 0.30.2 py312h06a4308_0", + "requests-toolbelt 1.0.0 py312h06a4308_0", + "rpds-py 0.10.6 py312hb02cf49_0", + "six 1.16.0 pyhd3eb1b0_1", + "soupsieve 2.5 py312h06a4308_0", + "traitlets 5.7.1 py312h06a4308_0", + "yaml 0.2.5 h7b6447c_0" + ], + "summary": "cuFFT native runtime libraries", + "tags": [] +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/files b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/files new file mode 100644 index 0000000000000000000000000000000000000000..6b1102fd0299c1ff0abc00d22c1f1fc78daaa79a --- /dev/null +++ b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/files @@ -0,0 +1,8 @@ +lib/libcufft.so.11 +lib/libcufft.so.11.3.3.83 +lib/libcufftw.so.11 +lib/libcufftw.so.11.3.3.83 +targets/x86_64-linux/lib/libcufft.so.11 +targets/x86_64-linux/lib/libcufft.so.11.3.3.83 +targets/x86_64-linux/lib/libcufftw.so.11 +targets/x86_64-linux/lib/libcufftw.so.11.3.3.83 diff --git a/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/git b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/git new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/index.json b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/index.json new file mode 100644 index 0000000000000000000000000000000000000000..783c1b764dbff95f23367be5e0786978b7efc471 --- /dev/null +++ b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/index.json @@ -0,0 +1,17 @@ +{ + "arch": "x86_64", + "build": "0", + "build_number": 0, + "depends": [ + "__glibc >=2.17,<3.0.a0", + "cuda-version >=12.8,<12.9.0a0", + "libgcc-ng >=11.2.0", + "libstdcxx-ng >=11.2.0" + ], + "license": "LicenseRef-NVIDIA-End-User-License-Agreement", + "name": "libcufft", + "platform": "linux", + "subdir": "linux-64", + "timestamp": 1741042299898, + "version": "11.3.3.83" +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/licenses/LICENSE b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/licenses/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..6622367aff6567f25c18f500137a36caf101ea50 --- /dev/null +++ b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/licenses/LICENSE @@ -0,0 +1,1632 @@ +End User License Agreement +-------------------------- + +NVIDIA Software License Agreement and CUDA Supplement to +Software License Agreement. + +The CUDA Toolkit End User License Agreement applies to the +NVIDIA CUDA Toolkit, the NVIDIA CUDA Samples, the NVIDIA +Display Driver, NVIDIA Nsight tools (Visual Studio Edition), +and the associated documentation on CUDA APIs, programming +model and development tools. If you do not agree with the +terms and conditions of the license agreement, then do not +download or use the software. + +Last updated: January 12, 2024. + + +Preface +------- + +The Software License Agreement in Chapter 1 and the Supplement +in Chapter 2 contain license terms and conditions that govern +the use of NVIDIA toolkit. By accepting this agreement, you +agree to comply with all the terms and conditions applicable +to the product(s) included herein. + + +NVIDIA Driver + + +Description + +This package contains the operating system driver and +fundamental system software components for NVIDIA GPUs. + + +NVIDIA CUDA Toolkit + + +Description + +The NVIDIA CUDA Toolkit provides command-line and graphical +tools for building, debugging and optimizing the performance +of applications accelerated by NVIDIA GPUs, runtime and math +libraries, and documentation including programming guides, +user manuals, and API references. + + +Default Install Location of CUDA Toolkit + +Windows platform: + +%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v#.# + +Linux platform: + +/usr/local/cuda-#.# + +Mac platform: + +/Developer/NVIDIA/CUDA-#.# + + +NVIDIA CUDA Samples + + +Description + +CUDA Samples are now located in +https://github.com/nvidia/cuda-samples, which includes +instructions for obtaining, building, and running the samples. +They are no longer included in the CUDA toolkit. + + +NVIDIA Nsight Visual Studio Edition (Windows only) + + +Description + +NVIDIA Nsight Development Platform, Visual Studio Edition is a +development environment integrated into Microsoft Visual +Studio that provides tools for debugging, profiling, analyzing +and optimizing your GPU computing and graphics applications. + + +Default Install Location of Nsight Visual Studio Edition + +Windows platform: + +%ProgramFiles(x86)%\NVIDIA Corporation\Nsight Visual Studio Edition #.# + + +1. License Agreement for NVIDIA Software Development Kits +--------------------------------------------------------- + + +Important Notice—Read before downloading, installing, +copying or using the licensed software: +------------------------------------------------------- + +This license agreement, including exhibits attached +("Agreement”) is a legal agreement between you and NVIDIA +Corporation ("NVIDIA") and governs your use of a NVIDIA +software development kit (“SDK”). + +Each SDK has its own set of software and materials, but here +is a description of the types of items that may be included in +a SDK: source code, header files, APIs, data sets and assets +(examples include images, textures, models, scenes, videos, +native API input/output files), binary software, sample code, +libraries, utility programs, programming code and +documentation. + +This Agreement can be accepted only by an adult of legal age +of majority in the country in which the SDK is used. + +If you are entering into this Agreement on behalf of a company +or other legal entity, you represent that you have the legal +authority to bind the entity to this Agreement, in which case +“you” will mean the entity you represent. + +If you don’t have the required age or authority to accept +this Agreement, or if you don’t accept all the terms and +conditions of this Agreement, do not download, install or use +the SDK. + +You agree to use the SDK only for purposes that are permitted +by (a) this Agreement, and (b) any applicable law, regulation +or generally accepted practices or guidelines in the relevant +jurisdictions. + + +1.1. License + + +1.1.1. License Grant + +Subject to the terms of this Agreement, NVIDIA hereby grants +you a non-exclusive, non-transferable license, without the +right to sublicense (except as expressly provided in this +Agreement) to: + + 1. Install and use the SDK, + + 2. Modify and create derivative works of sample source code + delivered in the SDK, and + + 3. Distribute those portions of the SDK that are identified + in this Agreement as distributable, as incorporated in + object code format into a software application that meets + the distribution requirements indicated in this Agreement. + + +1.1.2. Distribution Requirements + +These are the distribution requirements for you to exercise +the distribution grant: + + 1. Your application must have material additional + functionality, beyond the included portions of the SDK. + + 2. The distributable portions of the SDK shall only be + accessed by your application. + + 3. The following notice shall be included in modifications + and derivative works of sample source code distributed: + “This software contains source code provided by NVIDIA + Corporation.” + + 4. Unless a developer tool is identified in this Agreement + as distributable, it is delivered for your internal use + only. + + 5. The terms under which you distribute your application + must be consistent with the terms of this Agreement, + including (without limitation) terms relating to the + license grant and license restrictions and protection of + NVIDIA’s intellectual property rights. Additionally, you + agree that you will protect the privacy, security and + legal rights of your application users. + + 6. You agree to notify NVIDIA in writing of any known or + suspected distribution or use of the SDK not in compliance + with the requirements of this Agreement, and to enforce + the terms of your agreements with respect to distributed + SDK. + + +1.1.3. Authorized Users + +You may allow employees and contractors of your entity or of +your subsidiary(ies) to access and use the SDK from your +secure network to perform work on your behalf. + +If you are an academic institution you may allow users +enrolled or employed by the academic institution to access and +use the SDK from your secure network. + +You are responsible for the compliance with the terms of this +Agreement by your authorized users. If you become aware that +your authorized users didn’t follow the terms of this +Agreement, you agree to take reasonable steps to resolve the +non-compliance and prevent new occurrences. + + +1.1.4. Pre-Release SDK + +The SDK versions identified as alpha, beta, preview or +otherwise as pre-release, may not be fully functional, may +contain errors or design flaws, and may have reduced or +different security, privacy, accessibility, availability, and +reliability standards relative to commercial versions of +NVIDIA software and materials. Use of a pre-release SDK may +result in unexpected results, loss of data, project delays or +other unpredictable damage or loss. + +You may use a pre-release SDK at your own risk, understanding +that pre-release SDKs are not intended for use in production +or business-critical systems. + +NVIDIA may choose not to make available a commercial version +of any pre-release SDK. NVIDIA may also choose to abandon +development and terminate the availability of a pre-release +SDK at any time without liability. + + +1.1.5. Updates + +NVIDIA may, at its option, make available patches, workarounds +or other updates to this SDK. Unless the updates are provided +with their separate governing terms, they are deemed part of +the SDK licensed to you as provided in this Agreement. You +agree that the form and content of the SDK that NVIDIA +provides may change without prior notice to you. While NVIDIA +generally maintains compatibility between versions, NVIDIA may +in some cases make changes that introduce incompatibilities in +future versions of the SDK. + + +1.1.6. Components Under Other Licenses + +The SDK may come bundled with, or otherwise include or be +distributed with, NVIDIA or third-party components with +separate legal notices or terms as may be described in +proprietary notices accompanying the SDK. If and to the extent +there is a conflict between the terms in this Agreement and +the license terms associated with the component, the license +terms associated with the components control only to the +extent necessary to resolve the conflict. + +Subject to the other terms of this Agreement, you may use the +SDK to develop and test applications released under Open +Source Initiative (OSI) approved open source software +licenses. + + +1.1.7. Reservation of Rights + +NVIDIA reserves all rights, title, and interest in and to the +SDK, not expressly granted to you under this Agreement. + + +1.2. Limitations + +The following license limitations apply to your use of the +SDK: + + 1. You may not reverse engineer, decompile or disassemble, + or remove copyright or other proprietary notices from any + portion of the SDK or copies of the SDK. + + 2. Except as expressly provided in this Agreement, you may + not copy, sell, rent, sublicense, transfer, distribute, + modify, or create derivative works of any portion of the + SDK. For clarity, you may not distribute or sublicense the + SDK as a stand-alone product. + + 3. Unless you have an agreement with NVIDIA for this + purpose, you may not indicate that an application created + with the SDK is sponsored or endorsed by NVIDIA. + + 4. You may not bypass, disable, or circumvent any + encryption, security, digital rights management or + authentication mechanism in the SDK. + + 5. You may not use the SDK in any manner that would cause it + to become subject to an open source software license. As + examples, licenses that require as a condition of use, + modification, and/or distribution that the SDK be: + + a. Disclosed or distributed in source code form; + + b. Licensed for the purpose of making derivative works; + or + + c. Redistributable at no charge. + + 6. You acknowledge that the SDK as delivered is not tested + or certified by NVIDIA for use in connection with the + design, construction, maintenance, and/or operation of any + system where the use or failure of such system could + result in a situation that threatens the safety of human + life or results in catastrophic damages (each, a "Critical + Application"). Examples of Critical Applications include + use in avionics, navigation, autonomous vehicle + applications, ai solutions for automotive products, + military, medical, life support or other life critical + applications. NVIDIA shall not be liable to you or any + third party, in whole or in part, for any claims or + damages arising from such uses. You are solely responsible + for ensuring that any product or service developed with + the SDK as a whole includes sufficient features to comply + with all applicable legal and regulatory standards and + requirements. + + 7. You agree to defend, indemnify and hold harmless NVIDIA + and its affiliates, and their respective employees, + contractors, agents, officers and directors, from and + against any and all claims, damages, obligations, losses, + liabilities, costs or debt, fines, restitutions and + expenses (including but not limited to attorney’s fees + and costs incident to establishing the right of + indemnification) arising out of or related to products or + services that use the SDK in or for Critical Applications, + and for use of the SDK outside of the scope of this + Agreement or not in compliance with its terms. + + 8. You may not reverse engineer, decompile or disassemble + any portion of the output generated using SDK elements for + the purpose of translating such output artifacts to target + a non-NVIDIA platform. + + +1.3. Ownership + + 1. NVIDIA or its licensors hold all rights, title and + interest in and to the SDK and its modifications and + derivative works, including their respective intellectual + property rights, subject to your rights under Section + 1.3.2. This SDK may include software and materials from + NVIDIA’s licensors, and these licensors are intended + third party beneficiaries that may enforce this Agreement + with respect to their intellectual property rights. + + 2. You hold all rights, title and interest in and to your + applications and your derivative works of the sample + source code delivered in the SDK, including their + respective intellectual property rights, subject to + NVIDIA’s rights under Section 1.3.1. + + 3. You may, but don’t have to, provide to NVIDIA + suggestions, feature requests or other feedback regarding + the SDK, including possible enhancements or modifications + to the SDK. For any feedback that you voluntarily provide, + you hereby grant NVIDIA and its affiliates a perpetual, + non-exclusive, worldwide, irrevocable license to use, + reproduce, modify, license, sublicense (through multiple + tiers of sublicensees), and distribute (through multiple + tiers of distributors) it without the payment of any + royalties or fees to you. NVIDIA will use feedback at its + choice. NVIDIA is constantly looking for ways to improve + its products, so you may send feedback to NVIDIA through + the developer portal at https://developer.nvidia.com. + + +1.4. No Warranties + +THE SDK IS PROVIDED BY NVIDIA “AS IS” AND “WITH ALL +FAULTS.” TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND +ITS AFFILIATES EXPRESSLY DISCLAIM ALL WARRANTIES OF ANY KIND +OR NATURE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, +BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT, OR THE +ABSENCE OF ANY DEFECTS THEREIN, WHETHER LATENT OR PATENT. NO +WARRANTY IS MADE ON THE BASIS OF TRADE USAGE, COURSE OF +DEALING OR COURSE OF TRADE. + + +1.5. Limitation of Liability + +TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND ITS +AFFILIATES SHALL NOT BE LIABLE FOR ANY (I) SPECIAL, INCIDENTAL, +PUNITIVE OR CONSEQUENTIAL DAMAGES, OR (II) DAMAGES FOR (A) ANY +LOST PROFITS, LOSS OF USE, LOSS OF DATA OR LOSS OF GOODWILL, +OR THE COSTS OF PROCURING SUBSTITUTE PRODUCTS, ARISING OUT OF +OR IN CONNECTION WITH THIS AGREEMENT OR THE USE OR PERFORMANCE +OF THE SDK, WHETHER SUCH LIABILITY ARISES FROM ANY CLAIM BASED +UPON BREACH OF CONTRACT, BREACH OF WARRANTY, TORT (INCLUDING +NEGLIGENCE), PRODUCT LIABILITY OR ANY OTHER CAUSE OF ACTION OR +THEORY OF LIABILITY. IN NO EVENT WILL NVIDIA’S AND ITS AFFILIATES +TOTAL CUMULATIVE LIABILITY UNDER OR ARISING OUT OF THIS +AGREEMENT EXCEED US$10.00. THE NATURE OF THE LIABILITY OR THE +NUMBER OF CLAIMS OR SUITS SHALL NOT ENLARGE OR EXTEND THIS +LIMIT. + +These exclusions and limitations of liability shall apply +regardless if NVIDIA or its affiliates have been advised of +the possibility of such damages, and regardless of whether a +remedy fails its essential purpose. These exclusions and +limitations of liability form an essential basis of the +bargain between the parties, and, absent any of these +exclusions or limitations of liability, the provisions of this +Agreement, including, without limitation, the economic terms, +would be substantially different. + + +1.6. Termination + + 1. This Agreement will continue to apply until terminated by + either you or NVIDIA as described below. + + 2. If you want to terminate this Agreement, you may do so by + stopping to use the SDK. + + 3. NVIDIA may, at any time, terminate this Agreement if: + + a. (i) you fail to comply with any term of this + Agreement and the non-compliance is not fixed within + thirty (30) days following notice from NVIDIA (or + immediately if you violate NVIDIA’s intellectual + property rights); + + b. (ii) you commence or participate in any legal + proceeding against NVIDIA with respect to the SDK; or + + c. (iii) NVIDIA decides to no longer provide the SDK in + a country or, in NVIDIA’s sole discretion, the + continued use of it is no longer commercially viable. + + 4. Upon any termination of this Agreement, you agree to + promptly discontinue use of the SDK and destroy all copies + in your possession or control. Your prior distributions in + accordance with this Agreement are not affected by the + termination of this Agreement. Upon written request, you + will certify in writing that you have complied with your + commitments under this section. Upon any termination of + this Agreement all provisions survive except for the + license grant provisions. + + +1.7. General + +If you wish to assign this Agreement or your rights and +obligations, including by merger, consolidation, dissolution +or operation of law, contact NVIDIA to ask for permission. Any +attempted assignment not approved by NVIDIA in writing shall +be void and of no effect. NVIDIA may assign, delegate or +transfer this Agreement and its rights and obligations, and if +to a non-affiliate you will be notified. + +You agree to cooperate with NVIDIA and provide reasonably +requested information to verify your compliance with this +Agreement. + +This Agreement will be governed in all respects by the laws of +the United States and of the State of Delaware, without regard to the +conflicts of laws principles. The United Nations Convention on +Contracts for the International Sale of Goods is specifically +disclaimed. You agree to all terms of this Agreement in the +English language. + +The state or federal courts residing in Santa Clara County, +California shall have exclusive jurisdiction over any dispute +or claim arising out of this Agreement. Notwithstanding this, +you agree that NVIDIA shall still be allowed to apply for +injunctive remedies or an equivalent type of urgent legal +relief in any jurisdiction. + +If any court of competent jurisdiction determines that any +provision of this Agreement is illegal, invalid or +unenforceable, such provision will be construed as limited to +the extent necessary to be consistent with and fully +enforceable under the law and the remaining provisions will +remain in full force and effect. Unless otherwise specified, +remedies are cumulative. + +Each party acknowledges and agrees that the other is an +independent contractor in the performance of this Agreement. + +The SDK has been developed entirely at private expense and is +“commercial items” consisting of “commercial computer +software” and “commercial computer software +documentation” provided with RESTRICTED RIGHTS. Use, +duplication or disclosure by the U.S. Government or a U.S. +Government subcontractor is subject to the restrictions in +this Agreement pursuant to DFARS 227.7202-3(a) or as set forth +in subparagraphs (c)(1) and (2) of the Commercial Computer +Software - Restricted Rights clause at FAR 52.227-19, as +applicable. Contractor/manufacturer is NVIDIA, 2788 San Tomas +Expressway, Santa Clara, CA 95051. + +The SDK is subject to United States export laws and +regulations. You agree that you will not ship, transfer or +export the SDK into any country, or use the SDK in any manner, +prohibited by the United States Bureau of Industry and +Security or economic sanctions regulations administered by the +U.S. Department of Treasury’s Office of Foreign Assets +Control (OFAC), or any applicable export laws, restrictions or +regulations. These laws include restrictions on destinations, +end users and end use. By accepting this Agreement, you +confirm that you are not located in a country currently +embargoed by the U.S. or otherwise prohibited from receiving +the SDK under U.S. law. + +Any notice delivered by NVIDIA to you under this Agreement +will be delivered via mail, email or fax. You agree that any +notices that NVIDIA sends you electronically will satisfy any +legal communication requirements. Please direct your legal +notices or other correspondence to NVIDIA Corporation, 2788 +San Tomas Expressway, Santa Clara, California 95051, United +States of America, Attention: Legal Department. + +This Agreement and any exhibits incorporated into this +Agreement constitute the entire agreement of the parties with +respect to the subject matter of this Agreement and supersede +all prior negotiations or documentation exchanged between the +parties relating to this SDK license. Any additional and/or +conflicting terms on documents issued by you are null, void, +and invalid. Any amendment or waiver under this Agreement +shall be in writing and signed by representatives of both +parties. + + +2. CUDA Toolkit Supplement to Software License Agreement for +NVIDIA Software Development Kits +------------------------------------------------------------ + +The terms in this supplement govern your use of the NVIDIA +CUDA Toolkit SDK under the terms of your license agreement +(“Agreement”) as modified by this supplement. Capitalized +terms used but not defined below have the meaning assigned to +them in the Agreement. + +This supplement is an exhibit to the Agreement and is +incorporated as an integral part of the Agreement. In the +event of conflict between the terms in this supplement and the +terms in the Agreement, the terms in this supplement govern. + + +2.1. License Scope + +The SDK is licensed for you to develop applications only for +use in systems with NVIDIA GPUs. + + +2.2. Distribution + +The portions of the SDK that are distributable under the +Agreement are listed in Attachment A. + + +2.3. Operating Systems + +Those portions of the SDK designed exclusively for use on the +Linux or FreeBSD operating systems, or other operating systems +derived from the source code to these operating systems, may +be copied and redistributed for use in accordance with this +Agreement, provided that the object code files are not +modified in any way (except for unzipping of compressed +files). + + +2.4. Audio and Video Encoders and Decoders + +You acknowledge and agree that it is your sole responsibility +to obtain any additional third-party licenses required to +make, have made, use, have used, sell, import, and offer for +sale your products or services that include or incorporate any +third-party software and content relating to audio and/or +video encoders and decoders from, including but not limited +to, Microsoft, Thomson, Fraunhofer IIS, Sisvel S.p.A., +MPEG-LA, and Coding Technologies. NVIDIA does not grant to you +under this Agreement any necessary patent or other rights with +respect to any audio and/or video encoders and decoders. + + +2.5. Licensing + +If the distribution terms in this Agreement are not suitable +for your organization, or for any questions regarding this +Agreement, please contact NVIDIA at +nvidia-compute-license-questions@nvidia.com. + + +2.6. Attachment A + +The following CUDA Toolkit files may be distributed with +applications developed by you, including certain +variations of these files that have version number or +architecture specific information embedded in the file name - +as an example only, for release version 9.0 of the 64-bit +Windows software, the file cudart64_90.dll is redistributable. + +Component + +CUDA Runtime + +Windows + +cudart.dll, cudart_static.lib, cudadevrt.lib + +Mac OSX + +libcudart.dylib, libcudart_static.a, libcudadevrt.a + +Linux + +libcudart.so, libcudart_static.a, libcudadevrt.a + +Android + +libcudart.so, libcudart_static.a, libcudadevrt.a + +Component + +CUDA FFT Library + +Windows + +cufft.dll, cufftw.dll, cufft.lib, cufftw.lib + +Mac OSX + +libcufft.dylib, libcufft_static.a, libcufftw.dylib, +libcufftw_static.a + +Linux + +libcufft.so, libcufft_static.a, libcufftw.so, +libcufftw_static.a + +Android + +libcufft.so, libcufft_static.a, libcufftw.so, +libcufftw_static.a + +Component + +CUDA BLAS Library + +Windows + +cublas.dll, cublasLt.dll + +Mac OSX + +libcublas.dylib, libcublasLt.dylib, libcublas_static.a, +libcublasLt_static.a + +Linux + +libcublas.so, libcublasLt.so, libcublas_static.a, +libcublasLt_static.a + +Android + +libcublas.so, libcublasLt.so, libcublas_static.a, +libcublasLt_static.a + +Component + +NVIDIA "Drop-in" BLAS Library + +Windows + +nvblas.dll + +Mac OSX + +libnvblas.dylib + +Linux + +libnvblas.so + +Component + +CUDA Sparse Matrix Library + +Windows + +cusparse.dll, cusparse.lib + +Mac OSX + +libcusparse.dylib, libcusparse_static.a + +Linux + +libcusparse.so, libcusparse_static.a + +Android + +libcusparse.so, libcusparse_static.a + +Component + +CUDA Linear Solver Library + +Windows + +cusolver.dll, cusolver.lib + +Mac OSX + +libcusolver.dylib, libcusolver_static.a + +Linux + +libcusolver.so, libcusolver_static.a + +Android + +libcusolver.so, libcusolver_static.a + +Component + +CUDA Random Number Generation Library + +Windows + +curand.dll, curand.lib + +Mac OSX + +libcurand.dylib, libcurand_static.a + +Linux + +libcurand.so, libcurand_static.a + +Android + +libcurand.so, libcurand_static.a + +Component + +NVIDIA Performance Primitives Library + +Windows + +nppc.dll, nppc.lib, nppial.dll, nppial.lib, nppicc.dll, +nppicc.lib, nppicom.dll, nppicom.lib, nppidei.dll, +nppidei.lib, nppif.dll, nppif.lib, nppig.dll, nppig.lib, +nppim.dll, nppim.lib, nppist.dll, nppist.lib, nppisu.dll, +nppisu.lib, nppitc.dll, nppitc.lib, npps.dll, npps.lib + +Mac OSX + +libnppc.dylib, libnppc_static.a, libnppial.dylib, +libnppial_static.a, libnppicc.dylib, libnppicc_static.a, +libnppicom.dylib, libnppicom_static.a, libnppidei.dylib, +libnppidei_static.a, libnppif.dylib, libnppif_static.a, +libnppig.dylib, libnppig_static.a, libnppim.dylib, +libnppisu_static.a, libnppitc.dylib, libnppitc_static.a, +libnpps.dylib, libnpps_static.a + +Linux + +libnppc.so, libnppc_static.a, libnppial.so, +libnppial_static.a, libnppicc.so, libnppicc_static.a, +libnppicom.so, libnppicom_static.a, libnppidei.so, +libnppidei_static.a, libnppif.so, libnppif_static.a +libnppig.so, libnppig_static.a, libnppim.so, +libnppim_static.a, libnppist.so, libnppist_static.a, +libnppisu.so, libnppisu_static.a, libnppitc.so +libnppitc_static.a, libnpps.so, libnpps_static.a + +Android + +libnppc.so, libnppc_static.a, libnppial.so, +libnppial_static.a, libnppicc.so, libnppicc_static.a, +libnppicom.so, libnppicom_static.a, libnppidei.so, +libnppidei_static.a, libnppif.so, libnppif_static.a +libnppig.so, libnppig_static.a, libnppim.so, +libnppim_static.a, libnppist.so, libnppist_static.a, +libnppisu.so, libnppisu_static.a, libnppitc.so +libnppitc_static.a, libnpps.so, libnpps_static.a + +Component + +NVIDIA JPEG Library + +Windows + +nvjpeg.lib, nvjpeg.dll + +Linux + +libnvjpeg.so, libnvjpeg_static.a + +Component + +Internal common library required for statically linking to +cuBLAS, cuSPARSE, cuFFT, cuRAND, nvJPEG and NPP + +Mac OSX + +libculibos.a + +Linux + +libculibos.a + +Component + +NVIDIA Runtime Compilation Library and Header + +All + +nvrtc.h + +Windows + +nvrtc.dll, nvrtc-builtins.dll + +Mac OSX + +libnvrtc.dylib, libnvrtc-builtins.dylib + +Linux + +libnvrtc.so, libnvrtc-builtins.so, libnvrtc_static.a, libnvrtx-builtins_static.a + +Component + +NVIDIA Optimizing Compiler Library + +Windows + +nvvm.dll + +Mac OSX + +libnvvm.dylib + +Linux + +libnvvm.so + +Component + +NVIDIA JIT Linking Library + +Windows + +libnvJitLink.dll, libnvJitLink.lib + +Linux + +libnvJitLink.so, libnvJitLink_static.a + +Component + +NVIDIA Common Device Math Functions Library + +Windows + +libdevice.10.bc + +Mac OSX + +libdevice.10.bc + +Linux + +libdevice.10.bc + +Component + +CUDA Occupancy Calculation Header Library + +All + +cuda_occupancy.h + +Component + +CUDA Half Precision Headers + +All + +cuda_fp16.h, cuda_fp16.hpp + +Component + +CUDA Profiling Tools Interface (CUPTI) Library + +Windows + +cupti.dll + +Mac OSX + +libcupti.dylib + +Linux + +libcupti.so + +Component + +NVIDIA Tools Extension Library + +Windows + +nvToolsExt.dll, nvToolsExt.lib + +Mac OSX + +libnvToolsExt.dylib + +Linux + +libnvToolsExt.so + +Component + +NVIDIA CUDA Driver Libraries + +Linux + +libcuda.so, libnvidia-ptxjitcompiler.so, libnvptxcompiler_static.a + +Component + +NVIDIA CUDA File IO Libraries and Header + +All + +cufile.h + +Linux + +libcufile.so, libcufile_rdma.so, libcufile_static.a, +libcufile_rdma_static.a + +In addition to the rights above, for parties that are +developing software intended solely for use on Jetson +development kits or Jetson modules, and running Linux for +Tegra software, the following shall apply: + + * The SDK may be distributed in its entirety, as provided by + NVIDIA, and without separation of its components, for you + and/or your licensees to create software development kits + for use only on the Jetson platform and running Linux for + Tegra software. + + +2.7. Attachment B + + +Additional Licensing Obligations + +The following third party components included in the SOFTWARE +are licensed to Licensee pursuant to the following terms and +conditions: + + 1. Licensee's use of the GDB third party component is + subject to the terms and conditions of GNU GPL v3: + + This product includes copyrighted third-party software licensed + under the terms of the GNU General Public License v3 ("GPL v3"). + All third-party software packages are copyright by their respective + authors. GPL v3 terms and conditions are hereby incorporated into + the Agreement by this reference: http://www.gnu.org/licenses/gpl.txt + + Consistent with these licensing requirements, the software + listed below is provided under the terms of the specified + open source software licenses. To obtain source code for + software provided under licenses that require + redistribution of source code, including the GNU General + Public License (GPL) and GNU Lesser General Public License + (LGPL), contact oss-requests@nvidia.com. This offer is + valid for a period of three (3) years from the date of the + distribution of this product by NVIDIA CORPORATION. + + Component License + CUDA-GDB GPL v3 + + 2. Licensee represents and warrants that any and all third + party licensing and/or royalty payment obligations in + connection with Licensee's use of the H.264 video codecs + are solely the responsibility of Licensee. + + 3. Licensee's use of the Thrust library is subject to the + terms and conditions of the Apache License Version 2.0. + All third-party software packages are copyright by their + respective authors. Apache License Version 2.0 terms and + conditions are hereby incorporated into the Agreement by + this reference. + http://www.apache.org/licenses/LICENSE-2.0.html + + In addition, Licensee acknowledges the following notice: + Thrust includes source code from the Boost Iterator, + Tuple, System, and Random Number libraries. + + Boost Software License - Version 1.0 - August 17th, 2003 + . . . . + + Permission is hereby granted, free of charge, to any person or + organization obtaining a copy of the software and accompanying + documentation covered by this license (the "Software") to use, + reproduce, display, distribute, execute, and transmit the Software, + and to prepare derivative works of the Software, and to permit + third-parties to whom the Software is furnished to do so, all + subject to the following: + + The copyright notices in the Software and this entire statement, + including the above license grant, this restriction and the following + disclaimer, must be included in all copies of the Software, in whole + or in part, and all derivative works of the Software, unless such + copies or derivative works are solely in the form of machine-executable + object code generated by a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND + NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR + ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR + OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + 4. Licensee's use of the LLVM third party component is + subject to the following terms and conditions: + + ====================================================== + LLVM Release License + ====================================================== + University of Illinois/NCSA + Open Source License + + Copyright (c) 2003-2010 University of Illinois at Urbana-Champaign. + All rights reserved. + + Developed by: + + LLVM Team + + University of Illinois at Urbana-Champaign + + http://llvm.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal with the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimers. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimers in the + documentation and/or other materials provided with the distribution. + + * Neither the names of the LLVM Team, University of Illinois at Urbana- + Champaign, nor the names of its contributors may be used to endorse or + promote products derived from this Software without specific prior + written permission. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS WITH THE SOFTWARE. + + 5. Licensee's use of the PCRE third party component is + subject to the following terms and conditions: + + ------------ + PCRE LICENCE + ------------ + PCRE is a library of functions to support regular expressions whose syntax + and semantics are as close as possible to those of the Perl 5 language. + Release 8 of PCRE is distributed under the terms of the "BSD" licence, as + specified below. The documentation for PCRE, supplied in the "doc" + directory, is distributed under the same terms as the software itself. The + basic library functions are written in C and are freestanding. Also + included in the distribution is a set of C++ wrapper functions, and a just- + in-time compiler that can be used to optimize pattern matching. These are + both optional features that can be omitted when the library is built. + + THE BASIC LIBRARY FUNCTIONS + --------------------------- + Written by: Philip Hazel + Email local part: ph10 + Email domain: cam.ac.uk + University of Cambridge Computing Service, + Cambridge, England. + Copyright (c) 1997-2012 University of Cambridge + All rights reserved. + + PCRE JUST-IN-TIME COMPILATION SUPPORT + ------------------------------------- + Written by: Zoltan Herczeg + Email local part: hzmester + Emain domain: freemail.hu + Copyright(c) 2010-2012 Zoltan Herczeg + All rights reserved. + + STACK-LESS JUST-IN-TIME COMPILER + -------------------------------- + Written by: Zoltan Herczeg + Email local part: hzmester + Emain domain: freemail.hu + Copyright(c) 2009-2012 Zoltan Herczeg + All rights reserved. + + THE C++ WRAPPER FUNCTIONS + ------------------------- + Contributed by: Google Inc. + Copyright (c) 2007-2012, Google Inc. + All rights reserved. + + THE "BSD" LICENCE + ----------------- + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of the University of Cambridge nor the name of Google + Inc. nor the names of their contributors may be used to endorse or + promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + 6. Some of the cuBLAS library routines were written by or + derived from code written by Vasily Volkov and are subject + to the Modified Berkeley Software Distribution License as + follows: + + Copyright (c) 2007-2009, Regents of the University of California + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of the University of California, Berkeley nor + the names of its contributors may be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING + IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + 7. Some of the cuBLAS library routines were written by or + derived from code written by Davide Barbieri and are + subject to the Modified Berkeley Software Distribution + License as follows: + + Copyright (c) 2008-2009 Davide Barbieri @ University of Rome Tor Vergata. + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * The name of the author may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING + IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + 8. Some of the cuBLAS library routines were derived from + code developed by the University of Tennessee and are + subject to the Modified Berkeley Software Distribution + License as follows: + + Copyright (c) 2010 The University of Tennessee. + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer listed in this license in the documentation and/or + other materials provided with the distribution. + * Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + 9. Some of the cuBLAS library routines were written by or + derived from code written by Jonathan Hogg and are subject + to the Modified Berkeley Software Distribution License as + follows: + + Copyright (c) 2012, The Science and Technology Facilities Council (STFC). + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of the STFC nor the names of its contributors + may be used to endorse or promote products derived from this + software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE STFC BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + 10. Some of the cuBLAS library routines were written by or + derived from code written by Ahmad M. Abdelfattah, David + Keyes, and Hatem Ltaief, and are subject to the Apache + License, Version 2.0, as follows: + + -- (C) Copyright 2013 King Abdullah University of Science and Technology + Authors: + Ahmad Abdelfattah (ahmad.ahmad@kaust.edu.sa) + David Keyes (david.keyes@kaust.edu.sa) + Hatem Ltaief (hatem.ltaief@kaust.edu.sa) + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the King Abdullah University of Science and + Technology nor the names of its contributors may be used to endorse + or promote products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE + + 11. Some of the cuSPARSE library routines were written by or + derived from code written by Li-Wen Chang and are subject + to the NCSA Open Source License as follows: + + Copyright (c) 2012, University of Illinois. + + All rights reserved. + + Developed by: IMPACT Group, University of Illinois, http://impact.crhc.illinois.edu + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal with the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimers in the documentation and/or other materials provided + with the distribution. + * Neither the names of IMPACT Group, University of Illinois, nor + the names of its contributors may be used to endorse or promote + products derived from this Software without specific prior + written permission. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR + IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE + SOFTWARE. + + 12. Some of the cuRAND library routines were written by or + derived from code written by Mutsuo Saito and Makoto + Matsumoto and are subject to the following license: + + Copyright (c) 2009, 2010 Mutsuo Saito, Makoto Matsumoto and Hiroshima + University. All rights reserved. + + Copyright (c) 2011 Mutsuo Saito, Makoto Matsumoto, Hiroshima + University and University of Tokyo. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of the Hiroshima University nor the names of + its contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + 13. Some of the cuRAND library routines were derived from + code developed by D. E. Shaw Research and are subject to + the following license: + + Copyright 2010-2011, D. E. Shaw Research. + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions, and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions, and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of D. E. Shaw Research nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + 14. Some of the Math library routines were written by or + derived from code developed by Norbert Juffa and are + subject to the following license: + + Copyright (c) 2015-2017, Norbert Juffa + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + 15. Licensee's use of the lz4 third party component is + subject to the following terms and conditions: + + Copyright (C) 2011-2013, Yann Collet. + BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following disclaimer + in the documentation and/or other materials provided with the + distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + 16. The NPP library uses code from the Boost Math Toolkit, + and is subject to the following license: + + Boost Software License - Version 1.0 - August 17th, 2003 + . . . . + + Permission is hereby granted, free of charge, to any person or + organization obtaining a copy of the software and accompanying + documentation covered by this license (the "Software") to use, + reproduce, display, distribute, execute, and transmit the Software, + and to prepare derivative works of the Software, and to permit + third-parties to whom the Software is furnished to do so, all + subject to the following: + + The copyright notices in the Software and this entire statement, + including the above license grant, this restriction and the following + disclaimer, must be included in all copies of the Software, in whole + or in part, and all derivative works of the Software, unless such + copies or derivative works are solely in the form of machine-executable + object code generated by a source language processor. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND + NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR + ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR + OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + 17. Portions of the Nsight Eclipse Edition is subject to the + following license: + + The Eclipse Foundation makes available all content in this plug-in + ("Content"). Unless otherwise indicated below, the Content is provided + to you under the terms and conditions of the Eclipse Public License + Version 1.0 ("EPL"). A copy of the EPL is available at http:// + www.eclipse.org/legal/epl-v10.html. For purposes of the EPL, "Program" + will mean the Content. + + If you did not receive this Content directly from the Eclipse + Foundation, the Content is being redistributed by another party + ("Redistributor") and different terms and conditions may apply to your + use of any object code in the Content. Check the Redistributor's + license that was provided with the Content. If no such license exists, + contact the Redistributor. Unless otherwise indicated below, the terms + and conditions of the EPL still apply to any source code in the + Content and such source code may be obtained at http://www.eclipse.org. + + 18. Some of the cuBLAS library routines uses code from + OpenAI, which is subject to the following license: + + License URL + https://github.com/openai/openai-gemm/blob/master/LICENSE + + License Text + The MIT License + + Copyright (c) 2016 OpenAI (http://openai.com), 2016 Google Inc. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + + 19. Licensee's use of the Visual Studio Setup Configuration + Samples is subject to the following license: + + The MIT License (MIT) + Copyright (C) Microsoft Corporation. All rights reserved. + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + 20. Licensee's use of linmath.h header for CPU functions for + GL vector/matrix operations from lunarG is subject to the + Apache License Version 2.0. + + 21. The DX12-CUDA sample uses the d3dx12.h header, which is + subject to the MIT license. + + 22. Components of the driver and compiler used for binary management, including + nvFatBin, nvcc, and cuobjdump, use the Zstandard library which is subject to + the following license: + + BSD License + + For Zstandard software + + Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name Facebook, nor Meta, nor the names of its contributors may + be used to endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, + OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY + OF SUCH DAMAGE. + +----------------- diff --git a/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/paths.json b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/paths.json new file mode 100644 index 0000000000000000000000000000000000000000..da7da728eaeeff349f3e1110449b04d0dfb379e2 --- /dev/null +++ b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/paths.json @@ -0,0 +1,53 @@ +{ + "paths": [ + { + "_path": "lib/libcufft.so.11", + "path_type": "softlink", + "sha256": "f0c64b71c9b1b14f3c53823fcbca422e1648ae9c620a2ede2f133ab6c6aa73ce", + "size_in_bytes": 278678584 + }, + { + "_path": "lib/libcufft.so.11.3.3.83", + "path_type": "softlink", + "sha256": "f0c64b71c9b1b14f3c53823fcbca422e1648ae9c620a2ede2f133ab6c6aa73ce", + "size_in_bytes": 278678584 + }, + { + "_path": "lib/libcufftw.so.11", + "path_type": "softlink", + "sha256": "93bf284cc07fa4375cd8fa9276ee2d06673c029a872ebeecd41aacd7f5c0c42b", + "size_in_bytes": 987608 + }, + { + "_path": "lib/libcufftw.so.11.3.3.83", + "path_type": "softlink", + "sha256": "93bf284cc07fa4375cd8fa9276ee2d06673c029a872ebeecd41aacd7f5c0c42b", + "size_in_bytes": 987608 + }, + { + "_path": "targets/x86_64-linux/lib/libcufft.so.11", + "path_type": "softlink", + "sha256": "f0c64b71c9b1b14f3c53823fcbca422e1648ae9c620a2ede2f133ab6c6aa73ce", + "size_in_bytes": 278678584 + }, + { + "_path": "targets/x86_64-linux/lib/libcufft.so.11.3.3.83", + "path_type": "hardlink", + "sha256": "f0c64b71c9b1b14f3c53823fcbca422e1648ae9c620a2ede2f133ab6c6aa73ce", + "size_in_bytes": 278678584 + }, + { + "_path": "targets/x86_64-linux/lib/libcufftw.so.11", + "path_type": "softlink", + "sha256": "93bf284cc07fa4375cd8fa9276ee2d06673c029a872ebeecd41aacd7f5c0c42b", + "size_in_bytes": 987608 + }, + { + "_path": "targets/x86_64-linux/lib/libcufftw.so.11.3.3.83", + "path_type": "hardlink", + "sha256": "93bf284cc07fa4375cd8fa9276ee2d06673c029a872ebeecd41aacd7f5c0c42b", + "size_in_bytes": 987608 + } + ], + "paths_version": 1 +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/repodata_record.json b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/repodata_record.json new file mode 100644 index 0000000000000000000000000000000000000000..75e2140c0aa2acfa8533f84439a332a2500bd43f --- /dev/null +++ b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/repodata_record.json @@ -0,0 +1,24 @@ +{ + "name": "libcufft", + "version": "11.3.3.83", + "build": "0", + "build_number": 0, + "channel": "https://conda.anaconda.org/nvidia/linux-64", + "subdir": "linux-64", + "fn": "libcufft-11.3.3.83-0.conda", + "md5": "548ef6156b3a5f4f3d74f14161b0befd", + "url": "https://conda.anaconda.org/nvidia/linux-64/libcufft-11.3.3.83-0.conda", + "sha256": "ae44a5a8db563a57f3b9cb75ac0a1d0c9b259da7302d62686ac949d1fc82cb00", + "arch": "x86_64", + "platform": "linux", + "depends": [ + "__glibc >=2.17,<3.0.a0", + "cuda-version >=12.8,<12.9.0a0", + "libgcc-ng >=11.2.0", + "libstdcxx-ng >=11.2.0" + ], + "constrains": [], + "license": "LicenseRef-NVIDIA-End-User-License-Agreement", + "timestamp": 1741042299000, + "size": 154805329 +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/test/run_test.sh b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/test/run_test.sh new file mode 100644 index 0000000000000000000000000000000000000000..c404c1d3f8e8b6340d6f018bd5a3d55984aef073 --- /dev/null +++ b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/test/run_test.sh @@ -0,0 +1,15 @@ + + +set -ex + + + +test -L $PREFIX/lib/libcufft.so.11 +test -L $PREFIX/lib/libcufftw.so.11 +test -L $PREFIX/lib/libcufft.so.11.3.3.83 +test -L $PREFIX/lib/libcufftw.so.11.3.3.83 +test -L $PREFIX/targets/x86_64-linux/lib/libcufft.so.11 +test -L $PREFIX/targets/x86_64-linux/lib/libcufftw.so.11 +test -f $PREFIX/targets/x86_64-linux/lib/libcufft.so.11.3.3.83 +test -f $PREFIX/targets/x86_64-linux/lib/libcufftw.so.11.3.3.83 +exit 0 diff --git a/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/test/test-rpath.sh b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/test/test-rpath.sh new file mode 100644 index 0000000000000000000000000000000000000000..16ad3a71a373bef7d2f5b75a3ef1329975e6f517 --- /dev/null +++ b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/test/test-rpath.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +[[ ${target_platform} == "linux-64" ]] && targetsDir="targets/x86_64-linux" +[[ ${target_platform} == "linux-ppc64le" ]] && targetsDir="targets/ppc64le-linux" +[[ ${target_platform} == "linux-aarch64" ]] && targetsDir="targets/sbsa-linux" + +errors="" + +for lib in `find ${PREFIX}/${targetsDir}/lib -type f`; do + [[ $lib =~ \.so ]] || continue + + rpath=$(patchelf --print-rpath $lib) + echo "$lib rpath: $rpath" + if [[ $rpath != "\$ORIGIN" ]]; then + errors+="$lib\n" + elif [[ $(objdump -x ${lib} | grep "PATH") == *"RUNPATH"* ]]; then + errors+="$lib\n" + fi +done + +if [[ $errors ]]; then + echo "The following libraries were found with an unexpected RPATH:" + echo -e "$errors" + + exit 1 +else + exit 0 +fi diff --git a/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/test/test_time_dependencies.json b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/test/test_time_dependencies.json new file mode 100644 index 0000000000000000000000000000000000000000..2348db2f9ba7ce6dfba09665b32c65111d5b4afd --- /dev/null +++ b/data/miniconda3/pkgs/libcufft-11.3.3.83-0/info/test/test_time_dependencies.json @@ -0,0 +1 @@ +["patchelf"] \ No newline at end of file diff --git a/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/about.json b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/about.json new file mode 100644 index 0000000000000000000000000000000000000000..118d3cb8f6f952ea50ebf28e4c7ceb8e4c00ea68 --- /dev/null +++ b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/about.json @@ -0,0 +1,136 @@ +{ + "channels": [ + "https://repo.anaconda.com/pkgs/main" + ], + "conda_build_version": "24.1.2", + "conda_version": "24.1.2", + "description": "libmpdec is a fast C library for correctly-rounded arbitrary precision decimal floating point\narithmetic. It is a complete implementation of Mike Cowlishaw/IBM's\nGeneral Decimal Arithmetic Specification.\n", + "dev_url": "https://www.bytereef.org/mpdecimal/download.html", + "doc_url": "https://www.bytereef.org/mpdecimal/index.html", + "env_vars": { + "CIO_TEST": "" + }, + "extra": { + "copy_test_source_files": true, + "final": true, + "flow_run_id": "47159f3f-ead9-4457-8688-3a1b58fefb0c", + "parent_recipe": { + "name": "mpdecimal", + "path": "/feedstock/recipe", + "version": "4.0.0" + }, + "recipe-maintainers": [ + "isuruf" + ], + "remote_url": "git@github.com:AnacondaRecipes/mpdecimal-feedstock.git", + "sha": "765d0b3f93bd70305a5e61c91a167ceab6b93428" + }, + "home": "https://www.bytereef.org/mpdecimal/index.html", + "identifiers": [], + "keywords": [], + "license": "BSD-2-Clause", + "license_family": "BSD", + "license_file": "COPYRIGHT.txt", + "root_pkgs": [ + "_libgcc_mutex 0.1 main", + "_openmp_mutex 5.1 1_gnu", + "archspec 0.2.1 pyhd3eb1b0_0", + "boltons 23.0.0 py39h06a4308_0", + "brotli-python 1.0.9 py39h6a678d5_7", + "bzip2 1.0.8 h7b6447c_0", + "c-ares 1.19.1 h5eee18b_0", + "charset-normalizer 2.0.4 pyhd3eb1b0_0", + "conda-content-trust 0.2.0 py39h06a4308_0", + "conda-package-handling 2.2.0 py39h06a4308_0", + "conda-package-streaming 0.9.0 py39h06a4308_0", + "fmt 9.1.0 hdb19cb5_0", + "icu 73.1 h6a678d5_0", + "idna 3.4 py39h06a4308_0", + "jsonpatch 1.32 pyhd3eb1b0_0", + "jsonpointer 2.1 pyhd3eb1b0_0", + "krb5 1.20.1 h143b758_1", + "ld_impl_linux-64 2.38 h1181459_1", + "libarchive 3.6.2 h6ac8c49_2", + "libev 4.33 h7f8727e_1", + "libffi 3.4.4 h6a678d5_0", + "libgcc-ng 11.2.0 h1234567_1", + "libgomp 11.2.0 h1234567_1", + "libnghttp2 1.57.0 h2d74bed_0", + "libsolv 0.7.24 he621ea3_0", + "libssh2 1.10.0 hdbd6064_2", + "libstdcxx-ng 11.2.0 h1234567_1", + "libxml2 2.10.4 hf1b16e4_1", + "lz4-c 1.9.4 h6a678d5_0", + "ncurses 6.4 h6a678d5_0", + "packaging 23.1 py39h06a4308_0", + "pcre2 10.42 hebb0a14_0", + "pluggy 1.0.0 py39h06a4308_1", + "pybind11-abi 4 hd3eb1b0_1", + "pycosat 0.6.6 py39h5eee18b_0", + "pycparser 2.21 pyhd3eb1b0_0", + "pysocks 1.7.1 py39h06a4308_0", + "python 3.9.18 h955ad1f_0", + "readline 8.2 h5eee18b_0", + "reproc 14.2.4 h295c915_1", + "reproc-cpp 14.2.4 h295c915_1", + "ruamel.yaml 0.17.21 py39h5eee18b_0", + "ruamel.yaml.clib 0.2.6 py39h5eee18b_1", + "sqlite 3.41.2 h5eee18b_0", + "tk 8.6.12 h1ccaba5_0", + "tqdm 4.65.0 py39hb070fc8_0", + "wheel 0.41.2 py39h06a4308_0", + "yaml-cpp 0.8.0 h6a678d5_0", + "zlib 1.2.13 h5eee18b_0", + "zstandard 0.19.0 py39h5eee18b_0", + "zstd 1.5.5 hc292b87_0", + "attrs 23.1.0 py39h06a4308_0", + "beautifulsoup4 4.12.2 py39h06a4308_0", + "ca-certificates 2023.12.12 h06a4308_0", + "certifi 2024.2.2 py39h06a4308_0", + "cffi 1.16.0 py39h5eee18b_0", + "chardet 4.0.0 py39h06a4308_1003", + "click 8.1.7 py39h06a4308_0", + "conda 24.1.2 py39h06a4308_0", + "conda-build 24.1.2 py39h06a4308_0", + "conda-index 0.4.0 pyhd3eb1b0_0", + "conda-libmamba-solver 24.1.0 pyhd3eb1b0_0", + "cryptography 42.0.2 py39hdda0065_0", + "distro 1.8.0 py39h06a4308_0", + "filelock 3.13.1 py39h06a4308_0", + "jinja2 3.1.3 py39h06a4308_0", + "jsonschema 4.19.2 py39h06a4308_0", + "jsonschema-specifications 2023.7.1 py39h06a4308_0", + "libcurl 8.5.0 h251f7ec_0", + "libedit 3.1.20230828 h5eee18b_0", + "liblief 0.12.3 h6a678d5_0", + "libmamba 1.5.6 haf1ee3a_0", + "libmambapy 1.5.6 py39h2dafd23_0", + "markupsafe 2.1.3 py39h5eee18b_0", + "menuinst 2.0.2 py39h06a4308_0", + "more-itertools 10.1.0 py39h06a4308_0", + "openssl 3.0.13 h7f8727e_0", + "patch 2.7.6 h7b6447c_1001", + "patchelf 0.17.2 h6a678d5_0", + "pip 23.3.1 py39h06a4308_0", + "pkginfo 1.9.6 py39h06a4308_0", + "platformdirs 3.10.0 py39h06a4308_0", + "psutil 5.9.0 py39h5eee18b_0", + "py-lief 0.12.3 py39h6a678d5_0", + "pyopenssl 24.0.0 py39h06a4308_0", + "python-libarchive-c 2.9 pyhd3eb1b0_1", + "pytz 2023.3.post1 py39h06a4308_0", + "pyyaml 6.0.1 py39h5eee18b_0", + "referencing 0.30.2 py39h06a4308_0", + "requests 2.31.0 py39h06a4308_1", + "rpds-py 0.10.6 py39hb02cf49_0", + "setuptools 68.2.2 py39h06a4308_0", + "soupsieve 2.5 py39h06a4308_0", + "tomli 2.0.1 py39h06a4308_0", + "tzdata 2023d h04d1e81_0", + "urllib3 2.1.0 py39h06a4308_1", + "xz 5.4.5 h5eee18b_0", + "yaml 0.2.5 h7b6447c_0" + ], + "summary": "A package for correctly-rounded arbitrary precision decimal floating point arithmetic", + "tags": [] +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/files b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/files new file mode 100644 index 0000000000000000000000000000000000000000..4a05cb1352610ff15bcd141f2e166eaba1c64a74 --- /dev/null +++ b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/files @@ -0,0 +1,2 @@ +lib/libmpdec.so.4 +lib/libmpdec.so.4.0.0 diff --git a/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/git b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/git new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/hash_input.json b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/hash_input.json new file mode 100644 index 0000000000000000000000000000000000000000..7ec1ca4f9e500f5352ebcdfdb479748c97a04a75 --- /dev/null +++ b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/hash_input.json @@ -0,0 +1,6 @@ +{ + "c_compiler_version": "11.2.0", + "target_platform": "linux-64", + "channel_targets": "defaults", + "c_compiler": "gcc" +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/index.json b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/index.json new file mode 100644 index 0000000000000000000000000000000000000000..c4d187b529d03bf37f7e192b284d6b44d7fb12b6 --- /dev/null +++ b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/index.json @@ -0,0 +1,15 @@ +{ + "arch": "x86_64", + "build": "h5eee18b_0", + "build_number": 0, + "depends": [ + "libgcc-ng >=11.2.0" + ], + "license": "BSD-2-Clause", + "license_family": "BSD", + "name": "libmpdec", + "platform": "linux", + "subdir": "linux-64", + "timestamp": 1726088449399, + "version": "4.0.0" +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/licenses/COPYRIGHT.txt b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/licenses/COPYRIGHT.txt new file mode 100644 index 0000000000000000000000000000000000000000..a78c3f6abf749f384a54d1fad0a2800457cfead7 --- /dev/null +++ b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/licenses/COPYRIGHT.txt @@ -0,0 +1,23 @@ +Copyright (c) 2008-2024 Stefan Krah. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. diff --git a/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/paths.json b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/paths.json new file mode 100644 index 0000000000000000000000000000000000000000..c2372b3b73785f77de645b2511b2c892beaae5d6 --- /dev/null +++ b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/paths.json @@ -0,0 +1,17 @@ +{ + "paths": [ + { + "_path": "lib/libmpdec.so.4", + "path_type": "softlink", + "sha256": "02745017838f130be013139c8db357165dbbf639d15df038e6c365ee9fb67891", + "size_in_bytes": 221184 + }, + { + "_path": "lib/libmpdec.so.4.0.0", + "path_type": "hardlink", + "sha256": "02745017838f130be013139c8db357165dbbf639d15df038e6c365ee9fb67891", + "size_in_bytes": 221184 + } + ], + "paths_version": 1 +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/conda_build_config.yaml b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/conda_build_config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..501992e6434a98a375292e9175baac73485d02b6 --- /dev/null +++ b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/conda_build_config.yaml @@ -0,0 +1,103 @@ +VERBOSE_AT: V=1 +VERBOSE_CM: VERBOSE=1 +blas_impl: openblas +boost: '1.82' +boost_cpp: '1.82' +bzip2: '1.0' +c_compiler: gcc +c_compiler_version: 11.2.0 +cairo: '1.16' +channel_targets: defaults +clang_variant: clang +cpu_optimization_target: nocona +cran_mirror: https://mran.microsoft.com/snapshot/2018-01-01 +cuda_compiler: cuda-nvcc +cuda_compiler_version: '12.4' +cxx_compiler: gxx +cxx_compiler_version: 11.2.0 +cyrus_sasl: 2.1.28 +dbus: '1' +expat: '2' +extend_keys: +- extend_keys +- ignore_version +- pin_run_as_build +- ignore_build_only_deps +fontconfig: '2.14' +fortran_compiler: gfortran +fortran_compiler_version: 11.2.0 +freetype: '2.10' +g2clib: '1.6' +geos: 3.8.0 +giflib: '5' +glib: '2' +gmp: '6.2' +gnu: 2.12.2 +gst_plugins_base: '1.14' +gstreamer: '1.14' +harfbuzz: 4.3.0 +hdf4: '4.2' +hdf5: 1.12.1 +hdfeos2: '2.20' +hdfeos5: '5.1' +icu: '73' +ignore_build_only_deps: +- python +- numpy +jpeg: '9' +libabseil: '20240116.2' +libcurl: 8.1.1 +libdap4: '3.19' +libffi: '3.4' +libgd: 2.3.3 +libgdal: 3.6.2 +libgrpc: 1.62.2 +libgsasl: '1.10' +libkml: '1.3' +libnetcdf: '4.8' +libpng: '1.6' +libprotobuf: 4.25.3 +libtiff: 4.5.0 +libwebp: 1.3.2 +libxml2: '2.13' +libxslt: '1.1' +llvm_variant: llvm +lua: '5' +lzo: '2' +mkl: 2023.* +mpfr: '4' +numpy: '1.23' +openblas: 0.3.21 +openjpeg: '2.3' +openssl: '3.0' +perl: '5.34' +pin_run_as_build: + python: + max_pin: x.x + min_pin: x.x + r-base: + max_pin: x.x + min_pin: x.x + libboost: + max_pin: x.x.x +pixman: '0.40' +proj: 9.3.1 +proj4: 5.2.0 +python: '3.11' +python_impl: cpython +python_implementation: cpython +r_base: '3.5' +r_implementation: r-base +r_version: 3.5.0 +readline: '8.1' +rust_compiler: rust +rust_compiler_version: 1.71.1 +sqlite: '3' +target_platform: linux-64 +tk: '8.6' +xz: '5' +zip_keys: +- - python + - numpy +zlib: '1.2' +zstd: 1.5.2 diff --git a/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/meta.yaml b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/meta.yaml new file mode 100644 index 0000000000000000000000000000000000000000..886ff0054c4c3e8fd138f2a736c6ee791df0cb10 --- /dev/null +++ b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/meta.yaml @@ -0,0 +1,68 @@ +# This file created by conda-build 24.1.2 +# ------------------------------------------------ + +package: + name: libmpdec + version: 4.0.0 +source: + patches: + - fix-dll-name.diff + sha256: 942445c3245b22730fd41a67a7c5c231d11cb1b9936b9c0f76334fb7d0b4468c + url: https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-4.0.0.tar.gz +build: + noarch: false + noarch_python: false + number: '0' + string: h5eee18b_0 +requirements: + build: + - _libgcc_mutex 0.1 main + - _openmp_mutex 5.1 1_gnu + - _sysroot_linux-64_curr_repodata_hack 3 haa98f57_10 + - binutils_impl_linux-64 2.38 h2a08ee3_1 + - binutils_linux-64 2.38.0 hc2dff05_0 + - gcc_impl_linux-64 11.2.0 h1234567_1 + - gcc_linux-64 11.2.0 h5c386dc_0 + - kernel-headers_linux-64 3.10.0 h57e8cba_10 + - ld_impl_linux-64 2.38 h1181459_1 + - libgcc-devel_linux-64 11.2.0 h1234567_1 + - libgcc-ng 11.2.0 h1234567_1 + - libgomp 11.2.0 h1234567_1 + - libstdcxx-ng 11.2.0 h1234567_1 + - sysroot_linux-64 2.17 h57e8cba_10 + host: + - _libgcc_mutex 0.1 main + - _openmp_mutex 5.1 1_gnu + - libgcc-ng 11.2.0 h1234567_1 + - libgomp 11.2.0 h1234567_1 + run: + - libgcc-ng >=11.2.0 +test: + commands: + - test -f ${PREFIX}/lib/libmpdec.so.4 + - test -f ${PREFIX}/lib/libmpdec.so.4.0.0 +about: + description: 'libmpdec is a fast C library for correctly-rounded arbitrary precision + decimal floating point + + arithmetic. It is a complete implementation of Mike Cowlishaw/IBM''s + + General Decimal Arithmetic Specification. + + ' + dev_url: https://www.bytereef.org/mpdecimal/download.html + doc_url: https://www.bytereef.org/mpdecimal/index.html + home: https://www.bytereef.org/mpdecimal/index.html + license: BSD-2-Clause + license_family: BSD + license_file: COPYRIGHT.txt + summary: A package for correctly-rounded arbitrary precision decimal floating point + arithmetic +extra: + copy_test_source_files: true + final: true + flow_run_id: 47159f3f-ead9-4457-8688-3a1b58fefb0c + recipe-maintainers: + - isuruf + remote_url: git@github.com:AnacondaRecipes/mpdecimal-feedstock.git + sha: 765d0b3f93bd70305a5e61c91a167ceab6b93428 diff --git a/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/parent/bld.bat b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/parent/bld.bat new file mode 100644 index 0000000000000000000000000000000000000000..f9afa69759d838146c34e9e5841c085513817520 --- /dev/null +++ b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/parent/bld.bat @@ -0,0 +1,30 @@ +@ECHO off + +set dbg=0 +set machine=x64 + +mkdir %LIBRARY_BIN% +mkdir %LIBRARY_LIB% +mkdir %LIBRARY_INC% + +cd libmpdec +copy /y Makefile.vc Makefile +nmake clean +nmake MACHINE=%machine% DEBUG=%dbg% + +REM copy /y "libmpdec-4.lib" %LIBRARY_LIB% +copy /y "libmpdec-4.dll" %LIBRARY_BIN% +copy /y "libmpdec-4.dll.lib" "%LIBRARY_LIB%\mpdec.lib" +REM copy /y "libmpdec-4.dll.exp" %LIBRARY_LIB% +copy /y "mpdecimal.h" %LIBRARY_INC% + +cd ..\libmpdec++ +copy /y Makefile.vc Makefile +nmake clean +nmake DEBUG=%dbg% + +REM copy /y "libmpdec++-4.lib" %LIBRARY_LIB% +copy /y "libmpdec++-4.dll" %LIBRARY_BIN% +copy /y "libmpdec++-4.dll.lib" "%LIBRARY_LIB%\mpdec++.lib" +REM copy /y "libmpdec-4.dll.exp" %LIBRARY_LIB% +copy /y "decimal.hh" %LIBRARY_INC% diff --git a/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/parent/build.sh b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/parent/build.sh new file mode 100644 index 0000000000000000000000000000000000000000..bc31c05e1efefbe65c1228dbea899adabd74e1a9 --- /dev/null +++ b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/parent/build.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +unset LD + +if [[ "$target_platform" == "linux-"* ]]; then + export CC=${GCC} + export CXX=${GXX} +fi + +export CXXFLAGS="${CXXFLAGS} ${LDFLAGS}" +export CFLAGS="${CFLAGS} ${LDFLAGS}" + +./configure --prefix=$PREFIX --disable-static --disable-doc +make -j$CPU_COUNT +make install + +if [[ "${CONDA_BUILD_CROSS_COMPILATION:-}" != "1" || "${CROSSCOMPILING_EMULATOR}" != "" ]]; then + make check +fi diff --git a/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/parent/fix-dll-name.diff b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/parent/fix-dll-name.diff new file mode 100644 index 0000000000000000000000000000000000000000..af366a6908dcef4ed851ac239925c67073f9884f --- /dev/null +++ b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/parent/fix-dll-name.diff @@ -0,0 +1,41 @@ +diff --git a/libmpdec++/Makefile.vc b/libmpdec++/Makefile.vc +index 5985c33..68b03b1 100644 +--- a/libmpdec++/Makefile.vc ++++ b/libmpdec++/Makefile.vc +@@ -5,13 +5,13 @@ + + SRCDIR = ..\libmpdec + +-LIBSTATIC = libmpdec-4.0.0.lib +-LIBIMPORT = libmpdec-4.0.0.dll.lib +-LIBSHARED = libmpdec-4.0.0.dll ++LIBSTATIC = libmpdec-4.lib ++LIBIMPORT = libmpdec-4.dll.lib ++LIBSHARED = libmpdec-4.dll + +-LIBSTATIC_CXX = libmpdec++-4.0.0.lib +-LIBIMPORT_CXX = libmpdec++-4.0.0.dll.lib +-LIBSHARED_CXX = libmpdec++-4.0.0.dll ++LIBSTATIC_CXX = libmpdec++-4.lib ++LIBIMPORT_CXX = libmpdec++-4.dll.lib ++LIBSHARED_CXX = libmpdec++-4.dll + + !if "$(DEBUG)" == "1" + OPT = /MTd /Od /Zi /EHsc +diff --git a/libmpdec/Makefile.vc b/libmpdec/Makefile.vc +index 7f72a4b..8f7e618 100644 +--- a/libmpdec/Makefile.vc ++++ b/libmpdec/Makefile.vc +@@ -3,9 +3,9 @@ + # Visual C (nmake) Makefile for libmpdec + # ====================================================================== + +-LIBSTATIC = libmpdec-4.0.0.lib +-LIBIMPORT = libmpdec-4.0.0.dll.lib +-LIBSHARED = libmpdec-4.0.0.dll ++LIBSTATIC = libmpdec-4.lib ++LIBIMPORT = libmpdec-4.dll.lib ++LIBSHARED = libmpdec-4.dll + + MPD_HEADER = mpdecimal32vc.h + MPD_PREC = 9 diff --git a/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/parent/meta.yaml b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/parent/meta.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a8d1a55459eb86d1342144b6faa814e725b58d53 --- /dev/null +++ b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/recipe/parent/meta.yaml @@ -0,0 +1,119 @@ +{% set version = "4.0.0" %} + +package: + name: mpdecimal + version: {{ version }} + +source: + url: https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-{{ version }}.tar.gz + sha256: 942445c3245b22730fd41a67a7c5c231d11cb1b9936b9c0f76334fb7d0b4468c + patches: + - fix-dll-name.diff + +build: + number: 0 + missing_dso_whitelist: # [s390x] + - "$RPATH/ld64.so.1" # [s390x] + +requirements: + build: + - {{ compiler('c') }} + - {{ compiler('cxx') }} + - make # [unix] + - wget # [unix] + - unzip # [unix] + - m2-patch # [win] + - patch # [not win] + host: + run: + +outputs: + - name: libmpdec + files: + - lib/libmpdec.so.* # [linux] + - lib/libmpdec.*.dylib # [osx] + - Library/bin/libmpdec-*.dll # [win] + requirements: + build: + - {{ compiler('c') }} + test: + commands: + - test -f ${PREFIX}/lib/libmpdec.so.{{ version[0] }} # [linux] + - test -f ${PREFIX}/lib/libmpdec.so.{{ version }} # [linux] + - test -f ${PREFIX}/lib/libmpdec.{{ version[0] }}.dylib # [osx] + - if not exist %LIBRARY_BIN%\libmpdec-{{ version[0] }}.dll exit 1 # [win] + + - name: libmpdecxx + files: + - lib/libmpdec++.so.* # [linux] + - lib/libmpdec++.*.dylib # [osx] + - Library/bin/libmpdec++-*.dll # [win] + requirements: + build: + - {{ compiler('cxx') }} + host: + - {{ pin_subpackage("libmpdec", exact=True) }} + run: + - {{ pin_subpackage("libmpdec", exact=True) }} + test: + commands: + - test -f ${PREFIX}/lib/libmpdec++.so.{{ version[0] }} # [linux] + - test -f ${PREFIX}/lib/libmpdec++.so.{{ version }} # [linux] + - test -f ${PREFIX}/lib/libmpdec++.{{ version[0] }}.dylib # [osx] + - if not exist %LIBRARY_BIN%\libmpdec++-{{ version[0] }}.dll exit 1 # [win] + + - name: libmpdec-devel + build: + run_exports: + - {{ pin_subpackage("libmpdec") }} + files: + - lib/libmpdec.so # [linux] + - lib/libmpdec.dylib # [osx] + - lib/pkgconfig/libmpdec.pc # [not win] + - include/mpdecimal.h # [not win] + - Library/lib/mpdec.lib # [win] + - Library/include/mpdecimal.h # [win] + requirements: + - {{ pin_subpackage("libmpdec", exact=True) }} + test: + commands: + - test -f ${PREFIX}/lib/libmpdec.so # [linux] + - test -f ${PREFIX}/lib/libmpdec.dylib # [osx] + - if not exist %LIBRARY_LIB%\mpdec.lib exit 1 # [win] + + - name: libmpdecxx-devel + build: + run_exports: + - {{ pin_subpackage("libmpdecxx") }} + files: + - lib/libmpdec++.so # [linux] + - lib/libmpdec++.dylib # [osx] + - lib/pkgconfig/libmpdec++.pc # [not win] + - include/decimal.hh # [not win] + - Library/lib/mpdec++.lib # [win] + - Library/include/decimal.hh # [win] + requirements: + - {{ pin_subpackage("libmpdecxx", exact=True) }} + - {{ pin_subpackage("libmpdec-devel", exact=True) }} + test: + commands: + - test -f ${PREFIX}/lib/libmpdec++.so # [linux] + - test -f ${PREFIX}/lib/libmpdec++.dylib # [osx] + - if not exist %LIBRARY_LIB%\mpdec++.lib exit 1 # [win] + +about: + home: https://www.bytereef.org/mpdecimal/index.html + license: BSD-2-Clause + license_file: COPYRIGHT.txt + license_family: BSD + summary: A package for correctly-rounded arbitrary precision decimal floating point arithmetic + description: | + libmpdec is a fast C library for correctly-rounded arbitrary precision decimal floating point + arithmetic. It is a complete implementation of Mike Cowlishaw/IBM's + General Decimal Arithmetic Specification. + doc_url: https://www.bytereef.org/mpdecimal/index.html + dev_url: https://www.bytereef.org/mpdecimal/download.html + +extra: + recipe-maintainers: + - isuruf diff --git a/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/repodata_record.json b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/repodata_record.json new file mode 100644 index 0000000000000000000000000000000000000000..c283320ef2dd96d41c679d52176691ee047aaf5d --- /dev/null +++ b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/repodata_record.json @@ -0,0 +1,22 @@ +{ + "arch": "x86_64", + "build": "h5eee18b_0", + "build_number": 0, + "channel": "https://repo.anaconda.com/pkgs/main/linux-64/", + "constrains": [], + "depends": [ + "libgcc-ng >=11.2.0" + ], + "fn": "libmpdec-4.0.0-h5eee18b_0.conda", + "license": "BSD-2-Clause", + "license_family": "BSD", + "md5": "feb10f42b1a7b523acbf85461be41a3e", + "name": "libmpdec", + "platform": "linux", + "sha256": "61e359466b780d45fc0af671a3959c1877ee68b30b9afb41b8bd112618735cab", + "size": 88085, + "subdir": "linux-64", + "timestamp": 1726088449000, + "url": "https://repo.anaconda.com/pkgs/main/linux-64/libmpdec-4.0.0-h5eee18b_0.conda", + "version": "4.0.0" +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/test/run_test.sh b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/test/run_test.sh new file mode 100644 index 0000000000000000000000000000000000000000..6c2f7caaa1479f9c72b28c0746d53f8e8180ef16 --- /dev/null +++ b/data/miniconda3/pkgs/libmpdec-4.0.0-h5eee18b_0/info/test/run_test.sh @@ -0,0 +1,9 @@ + + +set -ex + + + +test -f ${PREFIX}/lib/libmpdec.so.4 +test -f ${PREFIX}/lib/libmpdec.so.4.0.0 +exit 0 diff --git a/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/bin/ojph_compress b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/bin/ojph_compress new file mode 100644 index 0000000000000000000000000000000000000000..dfec49d45a4bfcebf2a9815a9b9d10db2dedb068 Binary files /dev/null and b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/bin/ojph_compress differ diff --git a/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/bin/ojph_expand b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/bin/ojph_expand new file mode 100644 index 0000000000000000000000000000000000000000..44444ce6489577bec028a85df9d6d026347a0334 Binary files /dev/null and b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/bin/ojph_expand differ diff --git a/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/include/openjph/ojph_codestream.h b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/include/openjph/ojph_codestream.h new file mode 100644 index 0000000000000000000000000000000000000000..772415d43271040510f32bd9272d56dbea0fb900 --- /dev/null +++ b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/include/openjph/ojph_codestream.h @@ -0,0 +1,387 @@ +//***************************************************************************/ +// This software is released under the 2-Clause BSD license, included +// below. +// +// Copyright (c) 2019, Aous Naman +// Copyright (c) 2019, Kakadu Software Pty Ltd, Australia +// Copyright (c) 2019, The University of New South Wales, Australia +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +// IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +// TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +// PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +// TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +//***************************************************************************/ +// This file is part of the OpenJPH software implementation. +// File: ojph_codestream.h +// Author: Aous Naman +// Date: 28 August 2019 +//***************************************************************************/ + + +#ifndef OJPH_CODESTREAM_H +#define OJPH_CODESTREAM_H + +#include + +#include "ojph_arch.h" +#include "ojph_defs.h" + +namespace ojph { + + //////////////////////////////////////////////////////////////////////////// + //local prototyping + namespace local { + class codestream; + }; + + //////////////////////////////////////////////////////////////////////////// + //defined elsewhere + class param_siz; + class param_cod; + class param_qcd; + class param_nlt; + class comment_exchange; + class mem_fixed_allocator; + struct point; + class line_buf; + class outfile_base; + class infile_base; + + //////////////////////////////////////////////////////////////////////////// + /** + * @brief The object represent a codestream. + * + * Most end-user use this object to create a j2c codestream. The object + * currently can be used in one of two modes, reading or writing. + * + * We try to follow the pImpl (pointer to Implementation) approach; + * therefore, objects in the ojph namespace hold pointers to internal + * implementations. The actual implementation is usually in the + * ojph::local namespace. The actual implementation of the + * ojph::codestream object is in ojph_codestream.cpp, while the actual + * implementation can be found in ojph_codestream_local.h and + * ojph_codestream_local.cpp. + * + * Most of these member functions provides nothing more than calls + * into the internal implementation. See ojph_codestream_local.h for + * more documentation -- yet to be added. + * + */ + class OJPH_EXPORT codestream + { + public: + /** + * @brief default constructor + * + * This function instantiate the actual implementation object + * local::codestream, using new. + * + */ + codestream(); + + /** + * @brief default destructor + * + * This function destroys the internal local::codestream object. + * + */ + ~codestream(); + + /** + * @brief Restarts the codestream. + * + * This function restarts the codestream; after this call, the + * codestream object behaves like it has never been used before, + * except that all memory allocations are preserved. Thus, after + * restart(), there is no need to allocate memory, unless the new + * codestream needs more storage to store codeblocks, or has a + * different structure. + * + * restart() is useful if we are decoding multiple codestreams that + * have largely the same structure and byte length. + * + */ + void restart(); + + /** + * @brief Sets the sequence of pushing or pull rows from the machinery. + * + * For this function, planar means that the machinery processes one + * colour component in full before processing the next component. This + * more efficient because the cache is used for one component instead of + * many components, but it is not practical when a color transform is + * employed. This is because we need to employ the transform to the first + * three components. Therefore, planar, while recommended, can only be + * used when there is no color transform. + * + * @param planar true for when components are pushed in full one at + * a time. + */ + void set_planar(bool planar); + + /** + * @brief Sets the codestream profile. + * + * This is currently rather incomplete, but it accepts two profiles + * IMF and BROADCAST. More work is needed to improve this. + * Note that Rsiz field in the SIZ marker segment is not set properly. + * + * @param s a string of the profile name, value can be from + * OJPH_PN_STRING_XXXX, where only IMF and BROADCAST + * are currently supported. + */ + void set_profile(const char* s); + + /** + * @brief Sets the locations where a tile is partitioned into tile parts. + * + * This function signals that we are interested in partitioning each tile + * into tile parts at resolution or component level, or both. This is + * useful when used with the TLM marker segment, because the TLM marker + * segment provides information about the locations of these partitions in + * the file. This way we can identify where resolution information ends + * within the codestream. It is also useful when large images are + * compressed, because an unpartitioned tile cannot be more than 4GB, but + * when partitioned, each tile part can be 4GB -- it is possible to + * partition at precinct boundaries to better utilize tile parts, and + * achieve a tile in the vicinity of 1TB, but this option is currently + * unsupported. + * + * @param at_resolutions partitions the tile into tile parts at + * resolutions. + * @param at_components partitions every tile into tile parts are + * components + */ + void set_tilepart_divisions(bool at_resolutions, bool at_components); + + /** + * @brief Query if the tile will be partitioned at resolution boundary. + * + * @return true if resolution-boundary tile partitioning is employed. + * @return false if resolution-boundary tile partitioning is not + * requested. + */ + bool is_tilepart_division_at_resolutions(); + + /** + * @brief Query if the tile will be partitioned at component boundary. + * + * @return true if component-boundary tile partitioning is employed. + * @return false if component-boundary tile partitioning is not + * requested. + */ + bool is_tilepart_division_at_components(); + + /** + * @brief Request the addition of the optional TLM marker segment. + * This request should occur before writing codestream headers + * ojph::codestream::write_headers()) + * + * @param needed true when the marker is needed. + */ + void request_tlm_marker(bool needed); + + /** + * @brief Query if the optional TLM marker segment is to be added. + * + * @return true if the addition of the optional TLM marker segment + * is to be added. + * @return false if the addition of the optional TLM marker segment + * was not requested. + */ + + bool is_tlm_requested(); + + /** + * @brief Writes codestream headers when the codestream is used for + * writing. This function should be called after setting all the + * codestream parameters, but before pushing image lines using + * ojph::codestream::exchange(). + * + * @param file A class inherited from outfile_base, which used to store + * compressed image bitstream. This enables storing the + * compressed bitstream to memory or an actual file. + * @param comments A pointer to an array of comment_exchange objects. + * Each object stores one comment to be inserted in the + * bitstreams. The number of elements in the array + * should be equal to num_comments. + * @param num_comments The number of elements in the `comments` array. + * + */ + void write_headers(outfile_base *file, + const comment_exchange* comments = NULL, + ui32 num_comments = 0); + + /** + * @brief This call is used to send image data rows to the library. + * We expect to send one row from a single component with + * each call. The first call is always with line == NULL; + * the call would return a line_buf, and the component + * number or index in `next_component.` The caller would + * then need to fill the buffer of the line_buf with one + * row from the component indexed by `next_component`, and + * call exchange again to pass the component and get a + * new line_buf. + * + * @param line A line_buf object; first call should supply NULL. + * Subsequent calls should pass the line_buf object + * obtained in the previous call. + * @param next_component returns a component index; the end user must + * fill the returned line_buf from the component + * indexed by this index. + * @return line_buf* A line_buf which must be filled with the component + * indexed by `next_component`, before calling + * exchange again to pass this line. + */ + + line_buf* exchange(line_buf* line, ui32& next_component); + + /** + * @brief This is the last call to a writing (encoding) codestream. + * This will write encoded bitstream data to the file. This + * call does not close the file, because, in the future, we + * might wish to write more data to the file. If you do not + * want to write more data, then call codestream::close(). + */ + void flush(); + + /** + * @brief This enables codestream resilience; that is, the library tries + * its best to decode the codestream, even if there are errors. + * This call is for a decoding (or reading) codestream, and + * should be called before all other calls, before + * codestream::read_headers(). + */ + void enable_resilience(); // before read_headers + + /** + * @brief This call reads the headers of a codestream. It is for a + * reading (or decoding) codestream, and should be called + * after codestream::enable_resilience(), but before + * codestream::restrict_input_resolution(). + * + * @param file The file to read from. The file should be inherited from + * ojph::infile_base; this enables reading from an actual file + * or from memory-based file. + */ + void read_headers(infile_base *file); // before resolution restrictions + + /** + * @brief This function restricts resolution decoding for a codestream. + * It is for a reading (decoding) codestream. We can limit the + * restrictions to decoding and reconstruction resolution, + * or decoding only. Call this function after + * codestream::read_headers() but before codestream::create() + * + * @param skipped_res_for_data specifies for how many fine resolutions + * decoding is skipped, i.e., reading and + * decoding is not performed for this number + * of fine resolutions. + * @param skipped_res_for_recon specifies for how many fine resolutions + * reconstruction is skipped; the resulting + * image is smaller than the original. This + * number should be smaller or equal to + * `skipped_res_for_data,` as it does not + * make sense otherwise. + */ + void restrict_input_resolution(ui32 skipped_res_for_data, + ui32 skipped_res_for_recon); //before create + + /** + * @brief This call is for a decoding (or reading) codestream. Call this + * function after calling restrict_input_resolution(), if + * restrictions are needed. + */ + void create(); + + /** + * @brief This call is to pull one row from the codestream, being + * decoded. The returned line_buf object holds one row from + * the image; the returned comp_num tells the reader the + * component to which this row belongs. + * + * @param comp_num returns the component to which the returned + * line_buf object belongs. + * @return line_buf* this object holds one row of the component indexed + * by comp_num. + */ + line_buf* pull(ui32 &comp_num); + + /** + * @brief Call this function to close the underlying file; works for both + * encoding and decoding codestreams. + * + */ + void close(); + + /** + * @brief Returns the underlying SIZ marker segment object + * + * @return param_siz This object holds SIZ marker segment information, + * which deals with codestream dimensions, number + * of components, bit depth, ... etc. + */ + param_siz access_siz(); + + /** + * @brief Returns the underlying COD marker segment object + * + * @return param_cod This object holds COD marker segment information, + * which deals with coding parameters, such as + * codeblock sizes, progression order, reversible, + * ... etc. + */ + param_cod access_cod(); + + /** + * @brief Returns the underlying QCD marker segment object + * + * @return param_qcd This object holds QCD marker segment information, + * which deals with quantization parameters -- + * quantization step size for each subband. + */ + param_qcd access_qcd(); + + /** + * @brief Returns the underlying NLT marker segment object + * + * @return param_nlt This object holds NLT marker segment information, + * which deals with non-linearity point transformation + * for each component. + */ + param_nlt access_nlt(); + + /** + * @brief Query if the codestream extraction is planar or not. + * See the documentation for ojph::codestream::set_planar() + * + * @return true if it is planar + * @return false if it is not planar (interleaved) + */ + bool is_planar() const; + + private: + local::codestream* state; + }; + +} + +#endif // !OJPH_CODESTREAM_H diff --git a/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/include/openjph/ojph_file.h b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/include/openjph/ojph_file.h new file mode 100644 index 0000000000000000000000000000000000000000..bd3bd04ace2c166db6300dfeece5f65dfcabf592 --- /dev/null +++ b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/include/openjph/ojph_file.h @@ -0,0 +1,312 @@ +//***************************************************************************/ +// This software is released under the 2-Clause BSD license, included +// below. +// +// Copyright (c) 2019, Aous Naman +// Copyright (c) 2019, Kakadu Software Pty Ltd, Australia +// Copyright (c) 2019, The University of New South Wales, Australia +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +// IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +// TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +// PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +// TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +//***************************************************************************/ +// This file is part of the OpenJPH software implementation. +// File: ojph_file.h +// Author: Aous Naman +// Date: 28 August 2019 +//***************************************************************************/ + + +#ifndef OJPH_FILE_H +#define OJPH_FILE_H + +#include +#include + +#include "ojph_arch.h" + +namespace ojph { + + //////////////////////////////////////////////////////////////////////////// +#ifdef OJPH_OS_WINDOWS + int inline ojph_fseek(FILE* stream, si64 offset, int origin) + { + return _fseeki64(stream, offset, origin); + } + + si64 inline ojph_ftell(FILE* stream) + { + return _ftelli64(stream); + } +#else + int inline ojph_fseek(FILE* stream, si64 offset, int origin) + { + return fseeko(stream, offset, origin); + } + + si64 inline ojph_ftell(FILE* stream) + { + return ftello(stream); + } +#endif + + + //////////////////////////////////////////////////////////////////////////// + class OJPH_EXPORT outfile_base + { + public: + public: + enum seek : int { + OJPH_SEEK_SET = SEEK_SET, + OJPH_SEEK_CUR = SEEK_CUR, + OJPH_SEEK_END = SEEK_END + }; + virtual ~outfile_base() {} + + virtual size_t write(const void *ptr, size_t size) = 0; + virtual si64 tell() { return 0; } + virtual int seek(si64 offset, enum outfile_base::seek origin) + { + ojph_unused(offset); ojph_unused(origin); + return -1; /* always fail, to remind you to write an implementation */ + } + virtual void flush() {} + virtual void close() {} + }; + + //////////////////////////////////////////////////////////////////////////// + class OJPH_EXPORT j2c_outfile : public outfile_base + { + public: + j2c_outfile() { fh = 0; } + ~j2c_outfile() override { if (fh) fclose(fh); } + + void open(const char *filename); + size_t write(const void *ptr, size_t size) override; + si64 tell() override; + void flush() override; + void close() override; + + private: + FILE *fh; + }; + + //*************************************************************************/ + /** @brief mem_outfile stores encoded j2k codestreams in memory + * + * This code was first developed by Chris Hafey https://github.com/chafey + * I took the code and integrated with OpenJPH, with some modifications. + * + * This class serves as a memory-based file storage. + * For example, generated j2k codestream is stored in memory + * instead of a conventional file. The memory buffer associated with + * this class grows with the addition of new data. + * + * memory data can be accessed using get_data() + */ + class OJPH_EXPORT mem_outfile : public outfile_base + { + public: + /** A constructor */ + mem_outfile(); + /** A destructor */ + ~mem_outfile() override; + + /** + * @brief Call this function to open a memory file. + * + * This function creates a memory buffer to be used for storing + * the generated j2k codestream. + * + * @param initial_size is the initial memory buffer size. + * The default value is 2^16. + * @param clear_mem if set to true, all allocated memory is reset to 0 + */ + void open(size_t initial_size = 65536, bool clear_mem = false); + + /** + * @brief Call this function to write data to the memory file. + * + * This function adds new data to the memory file. The memory buffer + * of the file grows as needed. + * + * @param ptr is a pointer to new data. + * @param size the number of bytes in the new data. + */ + size_t write(const void *ptr, size_t size) override; + + /** + * @brief Call this function to know the file size (i.e., number of + * bytes used to store the file). + * + * @return the file size. + */ + si64 tell() override { return cur_ptr - buf; } + + /** + * @brief Call this function to change write pointer location; the + * function can expand file storage. + * + * @return 0 on success, non-zero otherwise (not used). + */ + int seek(si64 offset, enum outfile_base::seek origin) override; + + /** Call this function to close the file and deallocate memory + * + * The object can be used again after calling close + */ + void close() override; + + /** + * @brief Call this function to access memory file data. + * + * It is not recommended to store the returned value because buffer + * storage address can change between write calls. + * + * @return a constant pointer to the data. + */ + const ui8* get_data() { return buf; } + + /** + * @brief Call this function to access memory file data (for const + * objects) + * + * This is similar to the above function, except that it can be used + * with constant objects. + * + * @return a constant pointer to the data. + */ + const ui8* get_data() const { return buf; } + + /** + * @brief Call this function to write the memory file data to a file + * + */ + void write_to_file(const char *file_name) const; + + /** + * @brief Call this function to get the used size of the memory file. + * + * @return the used size of the memory file in bytes. + */ + size_t get_used_size() const { return used_size; } + + /** + * @brief Call this function to get the total buffer size of the memory + * file including unused space (this is the allocated memory). + * + * @return the full size of the memory file in bytes. + */ + size_t get_buf_size() const { return buf_size; } + + private: + /** + * @brief This function expands storage by x1.5 needed space. + * + * It sets cur_ptr correctly, and clears the extended area of the + * buffer. It optionally clear the whole buffer + * + * @param new_size New size of the buffer + * @param clear_all Set to true to clear whole buffer, not just expansion + */ + void expand_storage(size_t new_size, bool clear_all); + + private: + bool is_open; + bool clear_mem; + size_t buf_size; + size_t used_size; + ui8 *buf; + ui8 *cur_ptr; + + private: + static const size_t ALIGNED_ALLOC_MASK = 4096 - 1; + }; + + //////////////////////////////////////////////////////////////////////////// + class OJPH_EXPORT infile_base + { + public: + enum seek : int { + OJPH_SEEK_SET = SEEK_SET, + OJPH_SEEK_CUR = SEEK_CUR, + OJPH_SEEK_END = SEEK_END + }; + + virtual ~infile_base() {} + + //read reads size bytes, returns the number of bytes read + virtual size_t read(void *ptr, size_t size) = 0; + //seek returns 0 on success + virtual int seek(si64 offset, enum infile_base::seek origin) = 0; + virtual si64 tell() = 0; + virtual bool eof() = 0; + virtual void close() {} + }; + + //////////////////////////////////////////////////////////////////////////// + class OJPH_EXPORT j2c_infile : public infile_base + { + public: + j2c_infile() { fh = 0; } + ~j2c_infile() override { if (fh) fclose(fh); } + + void open(const char *filename); + + //read reads size bytes, returns the number of bytes read + size_t read(void *ptr, size_t size) override; + //seek returns 0 on success + int seek(si64 offset, enum infile_base::seek origin) override; + si64 tell() override; + bool eof() override { return feof(fh) != 0; } + void close() override; + + private: + FILE *fh; + }; + + //////////////////////////////////////////////////////////////////////////// + class OJPH_EXPORT mem_infile : public infile_base + { + public: + mem_infile() { close(); } + ~mem_infile() override { } + + void open(const ui8* data, size_t size); + + //read reads size bytes, returns the number of bytes read + size_t read(void *ptr, size_t size) override; + //seek returns 0 on success + int seek(si64 offset, enum infile_base::seek origin) override; + si64 tell() override { return cur_ptr - data; } + bool eof() override { return cur_ptr >= data + size; } + void close() override { data = cur_ptr = NULL; size = 0; } + + private: + const ui8 *data, *cur_ptr; + size_t size; + }; + + +} + +#endif // !OJPH_FILE_H diff --git a/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/include/openjph/ojph_mem.h b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/include/openjph/ojph_mem.h new file mode 100644 index 0000000000000000000000000000000000000000..bc04a140d1a16ff271b70d32f48578c558262639 --- /dev/null +++ b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/include/openjph/ojph_mem.h @@ -0,0 +1,281 @@ +//***************************************************************************/ +// This software is released under the 2-Clause BSD license, included +// below. +// +// Copyright (c) 2019, Aous Naman +// Copyright (c) 2019, Kakadu Software Pty Ltd, Australia +// Copyright (c) 2019, The University of New South Wales, Australia +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +// IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +// TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +// PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +// TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +//***************************************************************************/ +// This file is part of the OpenJPH software implementation. +// File: ojph_mem.h +// Author: Aous Naman +// Date: 28 August 2019 +//***************************************************************************/ + + +#ifndef OJPH_MEM_H +#define OJPH_MEM_H + +#include +#include +#include +#include + +#include "ojph_arch.h" + +namespace ojph { + + extern "C" { + void* ojph_aligned_malloc(size_t alignment, size_t size); + void ojph_aligned_free(void* pointer); + } + + ///////////////////////////////////////////////////////////////////////////// + class mem_fixed_allocator + { + public: + mem_fixed_allocator() + { + store = NULL; allocated_data = 0; + restart(); + } + ~mem_fixed_allocator() + { + if (store) free(store); + } + + template + void pre_alloc_data(size_t num_ele, ui32 pre_size) + { + pre_alloc_local(num_ele, pre_size, size_data); + } + + template + void pre_alloc_obj(size_t num_ele) + { + pre_alloc_local(num_ele, 0, size_obj); + } + + void alloc() + { + assert(preallocation); + if (size_data + size_obj > allocated_data) + { + // We should be here once only, because, in subsequent, calls we + // should have size_data + size_obj <= allocated_data + free(store); + allocated_data = size_data + size_obj; + allocated_data = allocated_data + (allocated_data + 19) / 20; // 5% + store = malloc(allocated_data); + if (store == NULL) + throw "malloc failed"; + } + avail_obj = store; + avail_data = (ui8*)store + size_obj; + avail_size_obj = size_obj; + avail_size_data = size_data; + preallocation = false; + } + + void restart() + { + avail_obj = avail_data = NULL; + avail_size_obj = avail_size_data = size_obj = size_data = 0; + preallocation = true; + } + + template + T* post_alloc_data(size_t num_ele, ui32 pre_size) + { + return post_alloc_local + (num_ele, pre_size, avail_size_data, avail_data); + } + + template + T* post_alloc_obj(size_t num_ele) + { + return post_alloc_local + (num_ele, 0, avail_size_obj, avail_obj); + } + + private: + template + void pre_alloc_local(size_t num_ele, ui32 pre_size, size_t& sz) + { + assert(preallocation); + num_ele = calc_aligned_size(num_ele); + size_t total = (num_ele + pre_size) * sizeof(T); + total += 2*N - 1; + + sz += total; + } + + template + T* post_alloc_local(size_t num_ele, ui32 pre_size, + size_t& avail_sz, void*& avail_p) + { + assert(!preallocation); + num_ele = calc_aligned_size(num_ele); + size_t total = (num_ele + pre_size) * sizeof(T); + total += 2*N - 1; + + T* p = align_ptr((T*)avail_p + pre_size); + avail_p = (ui8*)avail_p + total; + avail_sz -= total; + assert((avail_sz & 0x8000000000000000llu) == 0); + return p; + } + + void *store, *avail_data, *avail_obj; + size_t size_data, size_obj, avail_size_obj, avail_size_data; + size_t allocated_data; + bool preallocation; + }; + + ///////////////////////////////////////////////////////////////////////////// + class line_buf + { + public: + enum : ui32 { + LFT_UNDEFINED = 0x00, // Type is undefined/uninitialized + // These flags reflects data size in bytes + LFT_BYTE = 0x01, // Set when data is 1 byte (not used) + LFT_16BIT = 0x02, // Set when data is 2 bytes (not used) + LFT_32BIT = 0x04, // Set when data is 4 bytes + LFT_64BIT = 0x08, // Set when data is 8 bytes + LFT_INTEGER = 0x10, // Set when data is an integer, in other words + // 32bit integer, not 32bit float + LFT_SIZE_MASK = 0x0F, // To extract data size + }; + + public: + line_buf() : size(0), pre_size(0), flags(LFT_UNDEFINED), i32(0) {} + + template + void wrap(T *buffer, size_t num_ele, ui32 pre_size); + + size_t size; + ui32 pre_size; + ui32 flags; + union { + si32* i32; // 32bit integer type, used for lossless compression + si64* i64; // 64bit integer type, used for lossless compression + float* f32; // float type, used for lossy compression + void* p; // no type is associated with the pointer + }; + }; + + ///////////////////////////////////////////////////////////////////////////// + struct lifting_buf + { + lifting_buf() { line = NULL; active = false; } + line_buf *line; + bool active; + }; + + ///////////////////////////////////////////////////////////////////////////// + struct coded_lists + { + coded_lists(ui32 size) + { + next_list = NULL; + avail_size = buf_size = size; + this->buf = (ui8*)this + sizeof(coded_lists); + } + + coded_lists* next_list; + ui32 buf_size; + ui32 avail_size; + ui8* buf; + }; + + ///////////////////////////////////////////////////////////////////////////// + class mem_elastic_allocator + { + /* + advantage: allocate large chunks of memory + */ + + public: + mem_elastic_allocator(ui32 chunk_size) + : chunk_size(chunk_size) + { cur_store = store = avail = NULL; total_allocated = 0; } + + ~mem_elastic_allocator() + { + while (store) { // stores in use + stores_list* t = store->next_store; + free(store); + store = t; + } + while (avail) { // available stores + stores_list* t = avail->next_store; + free(avail); + avail = t; + } + } + + void get_buffer(ui32 needed_bytes, coded_lists*& p); + void restart(); + + private: + struct stores_list + { + stores_list(ui32 available_bytes) + { + this->next_store = NULL; + this->orig_size = this->available = available_bytes; + this->orig_data = this->data = (ui8*)this + sizeof(stores_list); + } + void restart() + { + this->next_store = NULL; + this->available = this->orig_size; + this->data = this->orig_data; + } + static ui32 eval_store_bytes(ui32 available_bytes) + { // calculates how many bytes need to be allocated + return available_bytes + (ui32)sizeof(stores_list); + } + stores_list *next_store; + ui8 *orig_data, *data; + ui32 orig_size, available; + }; + + stores_list* allocate(stores_list** list, ui32 extended_bytes); + + stores_list *store; + stores_list *cur_store; + stores_list *avail; + size_t total_allocated; + const ui32 chunk_size; + }; + + +} + + +#endif // !OJPH_MEM_H diff --git a/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/include/openjph/ojph_params.h b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/include/openjph/ojph_params.h new file mode 100644 index 0000000000000000000000000000000000000000..c55048db0cd0247da37d720467f50b13f552a0e5 --- /dev/null +++ b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/include/openjph/ojph_params.h @@ -0,0 +1,306 @@ +//***************************************************************************/ +// This software is released under the 2-Clause BSD license, included +// below. +// +// Copyright (c) 2019, Aous Naman +// Copyright (c) 2019, Kakadu Software Pty Ltd, Australia +// Copyright (c) 2019, The University of New South Wales, Australia +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +// IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +// TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +// PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +// TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +//***************************************************************************/ +// This file is part of the OpenJPH software implementation. +// File: ojph_params.h +// Author: Aous Naman +// Date: 28 August 2019 +//***************************************************************************/ + + +#ifndef OJPH_PARAMS_H +#define OJPH_PARAMS_H + +#include "ojph_arch.h" +#include "ojph_base.h" + +namespace ojph { + + /***************************************************************************/ + // defined here + class param_siz; + class param_cod; + class param_coc; + class param_qcd; + class param_cap; + class param_nlt; + class codestream; + + /***************************************************************************/ + // prototyping from local + namespace local { + struct param_siz; + struct param_cod; + struct param_coc; + struct param_qcd; + struct param_cap; + struct param_nlt; + class codestream; + } + + /***************************************************************************/ + class OJPH_EXPORT param_siz + { + public: + param_siz(local::param_siz *p) : state(p) {} + + //setters + void set_image_extent(point extent); + void set_tile_size(size s); + void set_image_offset(point offset); + void set_tile_offset(point offset); + void set_num_components(ui32 num_comps); + void set_component(ui32 comp_num, const point& downsampling, + ui32 bit_depth, bool is_signed); + + //getters + point get_image_extent() const; + point get_image_offset() const; + size get_tile_size() const; + point get_tile_offset() const; + ui32 get_num_components() const; + ui32 get_bit_depth(ui32 comp_num) const; + bool is_signed(ui32 comp_num) const; + point get_downsampling(ui32 comp_num) const; + + //deeper getters + ui32 get_recon_width(ui32 comp_num) const; + ui32 get_recon_height(ui32 comp_num) const; + + private: + local::param_siz* state; + }; + + /***************************************************************************/ + class OJPH_EXPORT param_cod + { + public: + param_cod(local::param_cod* p) : state(p) {} + + void set_num_decomposition(ui32 num_decompositions); + void set_block_dims(ui32 width, ui32 height); + void set_precinct_size(int num_levels, size* precinct_size); + void set_progression_order(const char *name); + void set_color_transform(bool color_transform); + void set_reversible(bool reversible); + param_coc get_coc(ui32 component_idx); + + ui32 get_num_decompositions() const; + size get_block_dims() const; + size get_log_block_dims() const; + bool is_reversible() const; + size get_precinct_size(ui32 level_num) const; + size get_log_precinct_size(ui32 level_num) const; + int get_progression_order() const; + const char* get_progression_order_as_string() const; + int get_num_layers() const; + bool is_using_color_transform() const; + bool packets_may_use_sop() const; + bool packets_use_eph() const; + bool get_block_vertical_causality() const; + + private: + local::param_cod* state; + }; + + /***************************************************************************/ + class OJPH_EXPORT param_coc + { + public: + param_coc(local::param_cod* p) : state(p) {} + + void set_num_decomposition(ui32 num_decompositions); + void set_block_dims(ui32 width, ui32 height); + void set_precinct_size(int num_levels, size* precinct_size); + void set_reversible(bool reversible); + + ui32 get_num_decompositions() const; + size get_block_dims() const; + size get_log_block_dims() const; + bool is_reversible() const; + size get_precinct_size(ui32 level_num) const; + size get_log_precinct_size(ui32 level_num) const; + bool get_block_vertical_causality() const; + + private: + local::param_cod* state; + }; + + /***************************************************************************/ + /** + * @brief Quantization parameters object + * + */ + class OJPH_EXPORT param_qcd + { + public: + param_qcd(local::param_qcd* p) : state(p) {} + + /** + * @brief Set the irreversible quantization base delta. + * + * This represents the default base delta and influences QCD marker + * segment + * + * @param delta + */ + void set_irrev_quant(float delta); + + /** + * @brief Set the irreversible quantization base delta for a specific + * component + * + * This represents the default base delta for component comp_idx, and + * influences QCC marker segment for the component, inserting one + * if needed, which is usually the case. + * + * @param comp_idx + * @param delta + */ + void set_irrev_quant(ui32 comp_idx, float delta); + + private: + local::param_qcd* state; + }; + + /*************************************************************************/ + /** + * @brief non-linearity point transformation object + * (implements NLT marker segment) + * + * There are a few things to know here. + * The NLT marker segment contains the nonlinearity type and the + * bit depth and signedness of the component to which it applies. + * There is the default component ALL_COMPS which applies to all + * components unless it is overridden by another NLT segment marker. + * The library checks that the settings make sense, and also make + * sure that bit depth and signedness are correct, creating any missing + * NLT marker segments in the process. + * If all components have the same bit depth and signedness, and need + * nonlinearity type 3 (Binary Complement to Sign Magnitude Conversion), + * then the best option is to set ALL_COMPS to type 3. + * Otherwise, the best option is to set type 3 only to components that + * need it, leaving out the default ALL_COMPS nonlinearity not set. + * Another option is for the end-user can set the ALL_COMPS to type 3, + * and then put exception for the components that does not need type 3, + * by setting them to type 0. + * + * The library, during validity check, which is run when the codestream + * is created for writing, will do the following: + * -- If ALL_COMPS is set to type 0, it will be ignored, and the + * codestream will NOT have the corresponding NLT marker segment. + * -- If ALL_COMPS is set to type 3, then the following will happen: + * - If all the components (except those with type 0 set for them) have + * the same bit depth and signedness, then the ALL_COMPS NLT marker + * segment will be respected and inserted into the codestream. + * Of course, components with NLT 0 will also have the corresponding + * NLT marker segment inserted. + * - If components, for which no NTL type 0 is specified, have differing + * bit depth or signedness, then the ALL_COMPS will be ignored, and + * NLT markers are inserted for each component that needs type 3. + * Components that have their component field larger than the number of + * components in the codestream are removed. + * + * It also worth noting that type 3 nonlinearity has no effect on + * positive image samples. It is also not recommended for integer-valued + * types. It is only recommended for floating-point image samples, for + * which some of the samples are negative, where type 3 nonlinearity + * should be beneficial. This is because the encoding engine expects + * two-complement representation for negative values while floating point + * numbers have a sign bit followed by an exponent, which has a biased + * integer representation. The core idea is to make floating-point + * representation more compatible with integer representation. + + * + */ + class OJPH_EXPORT param_nlt + { + public: + enum special_comp_num : ui16 { ALL_COMPS = 65535 }; + enum nonlinearity : ui8 { + OJPH_NLT_NO_NLT = 0, // supported + OJPH_NLT_GAMMA_STYLE_NLT = 1, // not supported + OJPH_NLT_LUT_STYLE_NLT = 2, // not supported + OJPH_NLT_BINARY_COMPLEMENT_NLT = 3, // supported + OJPH_NLT_UNDEFINED = 255 // This is used internally and is + // not part of the standard + }; + public: + param_nlt(local::param_nlt* p) : state(p) {} + + /** + * @brief enables or disables type 3 nonlinearity for a component + * or the default setting + * + * When creating a codestream for writing, call this function before + * you call codestream::write_headers. + * + * + * @param comp_num: component number, or 65535 for the default setting + * @param type: desired non-linearity from enum nonlinearity + */ + void set_nonlinear_transform(ui32 comp_num, ui8 nl_type); + + /** + * @brief get the nonlinearity type associated with comp_num, which + * should be one from enum nonlinearity + * + * @param comp_num: component number, or 65535 for the default setting + * @param bit_depth: returns the bit depth of the component/default + * @param is_signed: returns true if the component/default is signed + * @param type: nonlinearity type + * @return true if the nonlinearity for comp_num is set + */ + bool get_nonlinear_transform(ui32 comp_num, ui8& bit_depth, + bool& is_signed, ui8& nl_type) const; + + private: + local::param_nlt* state; + }; + + /***************************************************************************/ + class OJPH_EXPORT comment_exchange + { + friend class local::codestream; + public: + comment_exchange() : data(NULL), len(0), Rcom(0) {} + void set_string(const char* str); + void set_data(const char* data, ui16 len); + + private: + const char* data; + ui16 len; + ui16 Rcom; + }; + +} + +#endif // !OJPH_PARAMS_H diff --git a/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/about.json b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/about.json new file mode 100644 index 0000000000000000000000000000000000000000..d52fe9eda5014d039cbeeb0a9389c7d02e5b4d67 --- /dev/null +++ b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/about.json @@ -0,0 +1,17 @@ +{ + "channels": [ + "https://conda.anaconda.org/conda-forge/" + ], + "dev_url": "https://github.com/aous72/OpenJPH", + "extra": { + "flow_run_id": "azure_20260217.3.1", + "recipe-maintainers": [ + "hmaarrfk" + ], + "remote_url": "https://github.com/conda-forge/openjph-feedstock", + "sha": "4e8053c2a57fe78b13f6f121da53cb20de35fad4" + }, + "home": "https://github.com/aous72/OpenJPH", + "license": "BSD-2-Clause", + "summary": "Open source implementation of High-throughput JPEG2000 (HTJ2K)." +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/hash_input.json b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/hash_input.json new file mode 100644 index 0000000000000000000000000000000000000000..831fe690da5cf3e93f257cc4c5955a0217895f32 --- /dev/null +++ b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/hash_input.json @@ -0,0 +1 @@ +{"c_compiler": "gcc", "c_compiler_version": "14", "c_stdlib": "sysroot", "c_stdlib_version": "2.17", "channel_sources": "conda-forge", "channel_targets": "conda-forge main", "cxx_compiler": "gxx", "cxx_compiler_version": "14", "libtiff": "4.7", "target_platform": "linux-64"} \ No newline at end of file diff --git a/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/index.json b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/index.json new file mode 100644 index 0000000000000000000000000000000000000000..b7ce813460b953392a63602b8103f0a49df3b523 --- /dev/null +++ b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/index.json @@ -0,0 +1,17 @@ +{ + "arch": "x86_64", + "build": "h8d634f6_0", + "build_number": 0, + "depends": [ + "__glibc >=2.17,<3.0.a0", + "libstdcxx >=14", + "libgcc >=14", + "libtiff >=4.7.1,<4.8.0a0" + ], + "license": "BSD-2-Clause", + "name": "openjph", + "platform": "linux", + "subdir": "linux-64", + "timestamp": 1771349499024, + "version": "0.26.3" +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/paths.json b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/paths.json new file mode 100644 index 0000000000000000000000000000000000000000..7a786fd54049b5a754dc0bde351f10892e8692d2 --- /dev/null +++ b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/paths.json @@ -0,0 +1,127 @@ +{ + "paths": [ + { + "_path": "bin/ojph_compress", + "path_type": "hardlink", + "sha256": "d6d3ee6c86433659c29d3bc401b7ddaf4262f2b1b52ea43ec243fcc8b8102568", + "size_in_bytes": 79336 + }, + { + "_path": "bin/ojph_expand", + "path_type": "hardlink", + "sha256": "35ce765c7526b384e2827a5e3c88aa78a08298c8c786fbd5246b638702fd2a08", + "size_in_bytes": 64184 + }, + { + "_path": "include/openjph/ojph_arch.h", + "path_type": "hardlink", + "sha256": "8b3f8cc3b8c4744db58f481d882b4df5b5fd95c1f861941a86e83484d1f7c71e", + "size_in_bytes": 10677 + }, + { + "_path": "include/openjph/ojph_arg.h", + "path_type": "hardlink", + "sha256": "cdb40fba261b621d3b582c646e020b0d60c26391bf86ba9fa20c30dd1719377d", + "size_in_bytes": 8808 + }, + { + "_path": "include/openjph/ojph_base.h", + "path_type": "hardlink", + "sha256": "7bd255f3259ede7cd694ae50c9e0102f4f6cee2f87fbe4789eaf7d5a8400c87a", + "size_in_bytes": 2596 + }, + { + "_path": "include/openjph/ojph_codestream.h", + "path_type": "hardlink", + "sha256": "b4793dc3aa15c45ccc4fc46334aea1057f1c16ccd0ce7fa4d5182c66d6c82682", + "size_in_bytes": 15640 + }, + { + "_path": "include/openjph/ojph_defs.h", + "path_type": "hardlink", + "sha256": "3c93de27665c314635be569d527d1fd5e9653ad91585e637bdc4409c1d7e3adc", + "size_in_bytes": 3256 + }, + { + "_path": "include/openjph/ojph_file.h", + "path_type": "hardlink", + "sha256": "4805385db6fb435298a497659b2445ea61324ed08c3c25ac67e90dc460274a5a", + "size_in_bytes": 9723 + }, + { + "_path": "include/openjph/ojph_mem.h", + "path_type": "hardlink", + "sha256": "b467b835784695d971a38b0fb2219e764a050721ee09ab01d4b838a6a278c0d6", + "size_in_bytes": 8377 + }, + { + "_path": "include/openjph/ojph_message.h", + "path_type": "hardlink", + "sha256": "ecf8b79547dcf1f5124741c3df57233d39ecf4b0e926c1ddab11795d18f56e33", + "size_in_bytes": 11319 + }, + { + "_path": "include/openjph/ojph_params.h", + "path_type": "hardlink", + "sha256": "5bcb66a0e42f2f592397d3e0d5b8368fea8a3c0998c7975d72e10a0ed00226fd", + "size_in_bytes": 11481 + }, + { + "_path": "include/openjph/ojph_version.h", + "path_type": "hardlink", + "sha256": "06f1e014bab1c1b7f85a7dc2569a2a8fda18504caf0e322d3f2e9b072fcf55e0", + "size_in_bytes": 1962 + }, + { + "_path": "lib/cmake/openjph/openjph-config-version.cmake", + "path_type": "hardlink", + "sha256": "bc9fd7c7e388e4a6429c671170660d22a497eb8ef18585bc16c3915e8681c7ac", + "size_in_bytes": 3678 + }, + { + "_path": "lib/cmake/openjph/openjph-config.cmake", + "path_type": "hardlink", + "sha256": "1b9f3c154e097607f7ebc731a9e9c048cbe253afab60802c6d672ec27c054500", + "size_in_bytes": 977 + }, + { + "_path": "lib/cmake/openjph/openjph-targets-release.cmake", + "path_type": "hardlink", + "sha256": "d36b694045216c9a58e086bf8da6eef24aa57d9c049d90db31f56d55487ee563", + "size_in_bytes": 823 + }, + { + "_path": "lib/cmake/openjph/openjph-targets.cmake", + "path_type": "hardlink", + "sha256": "8c315808b7b8fc0d697c6f94bf6d7643e37c0d8c5686126d8b9ef973d17422da", + "size_in_bytes": 4144 + }, + { + "_path": "lib/libopenjph.so", + "path_type": "softlink", + "sha256": "e20c059c0ef741142c33b7b6a393049292b00fe638017538ebc64a9c6adaddf8", + "size_in_bytes": 18 + }, + { + "_path": "lib/libopenjph.so.0.26", + "path_type": "softlink", + "sha256": "e20c059c0ef741142c33b7b6a393049292b00fe638017538ebc64a9c6adaddf8", + "size_in_bytes": 20 + }, + { + "_path": "lib/libopenjph.so.0.26.3", + "path_type": "hardlink", + "sha256": "e20c059c0ef741142c33b7b6a393049292b00fe638017538ebc64a9c6adaddf8", + "size_in_bytes": 611208 + }, + { + "_path": "lib/pkgconfig/openjph.pc", + "path_type": "hardlink", + "file_mode": "text", + "prefix_placeholder": "/home/conda/feedstock_root/build_artifacts/bld/rattler-build_openjph_1771349499/host_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh", + "sha256": "6684978e7389969110fb2dba3b8ff1701e47700982ad8abe93bb4281ff1fc189", + "size_in_bytes": 477 + } + ], + "paths_version": 1 +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/repodata_record.json b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/repodata_record.json new file mode 100644 index 0000000000000000000000000000000000000000..549190508ceb40eba3994d15498cea66b9aed04b --- /dev/null +++ b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/repodata_record.json @@ -0,0 +1,24 @@ +{ + "name": "openjph", + "version": "0.26.3", + "build": "h8d634f6_0", + "build_number": 0, + "channel": "https://conda.anaconda.org/conda-forge/linux-64", + "subdir": "linux-64", + "fn": "openjph-0.26.3-h8d634f6_0.conda", + "md5": "792d5b6e99677177f5527a758a02bc07", + "url": "https://conda.anaconda.org/conda-forge/linux-64/openjph-0.26.3-h8d634f6_0.conda", + "sha256": "4587e7762f27cad93619de77fa0573e2e17a899892d4bed3010196093e343533", + "arch": "x86_64", + "platform": "linux", + "depends": [ + "__glibc >=2.17,<3.0.a0", + "libstdcxx >=14", + "libgcc >=14", + "libtiff >=4.7.1,<4.8.0a0" + ], + "constrains": [], + "license": "BSD-2-Clause", + "timestamp": 1771349499000, + "size": 279846 +} \ No newline at end of file diff --git a/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/run_exports.json b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/run_exports.json new file mode 100644 index 0000000000000000000000000000000000000000..bae0409cbcaeb44af7470b690ff6a53c45ad72c2 --- /dev/null +++ b/data/miniconda3/pkgs/openjph-0.26.3-h8d634f6_0/info/run_exports.json @@ -0,0 +1,5 @@ +{ + "weak": [ + "openjph >=0.26.3,<0.27.0a0" + ] +} \ No newline at end of file