|
| 1 | +Unless otherwise noted, Thrust's source code is released under the Apache |
| 2 | +License, Version 2.0: |
| 3 | + |
| 4 | +================================================================================ |
1 | 5 |
|
2 | 6 | Apache License |
3 | 7 | Version 2.0, January 2004 |
|
174 | 178 | incurred by, or claims asserted against, such Contributor by reason |
175 | 179 | of your accepting any such warranty or additional liability. |
176 | 180 |
|
177 | | - END OF TERMS AND CONDITIONS |
178 | | - |
| 181 | +================================================================================ |
| 182 | + |
| 183 | +Some portions of Thrust may be licensed under other compatible open-source |
| 184 | +licenses. Any divergence from the Apache 2 license will be noted in the source |
| 185 | +code where applicable. |
| 186 | + |
| 187 | +Portions under other terms include, but are not limited to: |
| 188 | + |
| 189 | +================================================================================ |
| 190 | + |
| 191 | +Various C++ utility classes in Thrust are based on the Boost Iterator, Tuple, |
| 192 | +System, and Random Number libraries, which are provided under the Boost Software |
| 193 | +License: |
| 194 | + |
| 195 | + Boost Software License - Version 1.0 - August 17th, 2003 |
| 196 | + |
| 197 | + Permission is hereby granted, free of charge, to any person or organization |
| 198 | + obtaining a copy of the software and accompanying documentation covered by |
| 199 | + this license (the "Software") to use, reproduce, display, distribute, |
| 200 | + execute, and transmit the Software, and to prepare derivative works of the |
| 201 | + Software, and to permit third-parties to whom the Software is furnished to |
| 202 | + do so, all subject to the following: |
| 203 | + |
| 204 | + The copyright notices in the Software and this entire statement, including |
| 205 | + the above license grant, this restriction and the following disclaimer, |
| 206 | + must be included in all copies of the Software, in whole or in part, and |
| 207 | + all derivative works of the Software, unless such copies or derivative |
| 208 | + works are solely in the form of machine-executable object code generated by |
| 209 | + a source language processor. |
| 210 | + |
| 211 | + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 212 | + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 213 | + FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT |
| 214 | + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE |
| 215 | + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, |
| 216 | + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
| 217 | + DEALINGS IN THE SOFTWARE. |
| 218 | + |
| 219 | +================================================================================ |
| 220 | + |
| 221 | +Portions of the thrust::complex implementation are derived from FreeBSD with the |
| 222 | +following terms: |
| 223 | + |
| 224 | + Redistribution and use in source and binary forms, with or without |
| 225 | + modification, are permitted provided that the following conditions |
| 226 | + are met: |
| 227 | + |
| 228 | + 1. Redistributions of source code must retain the above copyright |
| 229 | + notice[1] unmodified, this list of conditions, and the following |
| 230 | + disclaimer. |
| 231 | + 2. Redistributions in binary form must reproduce the above copyright |
| 232 | + notice, this list of conditions and the following disclaimer in the |
| 233 | + documentation and/or other materials provided with the distribution. |
| 234 | + |
| 235 | + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| 236 | + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| 237 | + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
| 238 | + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
| 239 | + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 240 | + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 241 | + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 242 | + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 243 | + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 244 | + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 245 | + |
| 246 | +[1] Individual copyright notices from the original authors are included in |
| 247 | + the relevant source files. |
| 248 | + |
| 249 | +================================================================================ |
0 commit comments