llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-backend-amdgpu Author: Fraser Cormack (frasercrmck) <details> <summary>Changes</summary> This commit bulk-updates the libclc license headers to the current Apache-2.0 WITH LLVM-exception license in situations where they were previously attributed to AMD - and occasionally under an additional single individual contributor - under an MIT license. AMD signed the LLVM relicensing agreement and so agreed for their past contributions under the new LLVM license. The LLVM project also has had a long-standing, unwritten, policy of not adding copyright notices to source code. This policy was recently written up [1]. This commit therefore also removes these copyright notices at the same time. Note that there are outstanding copyright notices attributed to others - and many files missing copyright headers - which will be dealt with in future work. [1] https://llvm.org/docs/DeveloperPolicy.html#embedded-copyright-or-contributed-by-statements --- Patch is 263.69 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/132070.diff 146 Files Affected: - (modified) libclc/clc/include/clc/math/clc_subnormal_config.h (+7-21) - (modified) libclc/clc/include/clc/math/math.h (+7-21) - (modified) libclc/clc/include/clc/math/tables.h (+7-21) - (modified) libclc/clc/include/clc/relational/clc_bitselect.h (+7-21) - (modified) libclc/clc/include/clc/relational/clc_bitselect.inc (+7-21) - (modified) libclc/clc/lib/amdgcn/math/clc_ldexp_override.cl (+7-21) - (modified) libclc/clc/lib/amdgpu/math/clc_sqrt_fp64.cl (+7-21) - (modified) libclc/clc/lib/clspv/math/clc_sw_fma.cl (+7-21) - (modified) libclc/clc/lib/generic/common/clc_degrees.cl (+7-21) - (modified) libclc/clc/lib/generic/common/clc_radians.cl (+7-21) - (modified) libclc/clc/lib/generic/common/clc_smoothstep.cl (+7-21) - (modified) libclc/clc/lib/generic/math/clc_frexp.cl (+7-21) - (modified) libclc/clc/lib/generic/math/clc_frexp.inc (+7-22) - (modified) libclc/clc/lib/generic/math/clc_hypot.cl (+7-21) - (modified) libclc/clc/lib/generic/math/clc_hypot.inc (+7-21) - (modified) libclc/clc/lib/generic/math/clc_ldexp.cl (+7-21) - (modified) libclc/clc/lib/generic/math/clc_log10.cl (+7-21) - (modified) libclc/clc/lib/generic/math/clc_log2.cl (+7-21) - (modified) libclc/clc/lib/generic/math/clc_log_base.h (+7-21) - (modified) libclc/clc/lib/generic/math/clc_modf.cl (+7-21) - (modified) libclc/clc/lib/generic/math/clc_modf.inc (+7-21) - (modified) libclc/clc/lib/generic/math/clc_rsqrt.cl (+7-21) - (modified) libclc/clc/lib/generic/math/clc_sqrt.cl (+7-21) - (modified) libclc/clc/lib/generic/math/clc_sqrt.inc (+7-21) - (modified) libclc/clc/lib/generic/math/clc_sw_fma.cl (+7-21) - (modified) libclc/clc/lib/generic/relational/clc_bitselect.cl (+7-21) - (modified) libclc/clc/lib/generic/relational/clc_bitselect.inc (+7-21) - (modified) libclc/clspv/lib/subnormal_config.cl (+7-21) - (modified) libclc/generic/include/clc/common/degrees.h (+7-21) - (modified) libclc/generic/include/clc/common/degrees.inc (+7-21) - (modified) libclc/generic/include/clc/common/radians.h (+7-21) - (modified) libclc/generic/include/clc/common/radians.inc (+7-21) - (modified) libclc/generic/include/clc/common/smoothstep.h (+7-21) - (modified) libclc/generic/include/clc/common/smoothstep.inc (+7-21) - (modified) libclc/generic/include/clc/common/step.h (+7-21) - (modified) libclc/generic/include/clc/common/step.inc (+7-21) - (modified) libclc/generic/include/clc/geometric/distance.inc (+7-21) - (modified) libclc/generic/include/clc/geometric/fast_distance.h (+7-21) - (modified) libclc/generic/include/clc/geometric/fast_distance.inc (+7-21) - (modified) libclc/generic/include/clc/geometric/fast_length.h (+7-21) - (modified) libclc/generic/include/clc/geometric/fast_length.inc (+7-21) - (modified) libclc/generic/include/clc/geometric/fast_normalize.h (+7-21) - (modified) libclc/generic/include/clc/geometric/fast_normalize.inc (+7-22) - (modified) libclc/generic/include/clc/math/acosh.h (+7-21) - (modified) libclc/generic/include/clc/math/acospi.h (+7-21) - (modified) libclc/generic/include/clc/math/asinh.h (+7-21) - (modified) libclc/generic/include/clc/math/asinpi.h (+7-21) - (modified) libclc/generic/include/clc/math/atan.h (+7-21) - (modified) libclc/generic/include/clc/math/atan2.h (+7-21) - (modified) libclc/generic/include/clc/math/atan2pi.h (+7-21) - (modified) libclc/generic/include/clc/math/atanh.h (+7-21) - (modified) libclc/generic/include/clc/math/atanpi.h (+7-21) - (modified) libclc/generic/include/clc/math/cbrt.h (+7-21) - (modified) libclc/generic/include/clc/math/cosh.h (+7-21) - (modified) libclc/generic/include/clc/math/exp2.h (+7-21) - (modified) libclc/generic/include/clc/math/fract.h (+7-21) - (modified) libclc/generic/include/clc/math/fract.inc (+7-21) - (modified) libclc/generic/include/clc/math/half_rsqrt.h (+7-21) - (modified) libclc/generic/include/clc/math/half_sqrt.h (+7-21) - (modified) libclc/generic/include/clc/math/ldexp.h (+7-21) - (modified) libclc/generic/include/clc/math/ldexp.inc (+7-21) - (modified) libclc/generic/include/clc/math/log.h (+7-21) - (modified) libclc/generic/include/clc/math/log1p.h (+7-21) - (modified) libclc/generic/include/clc/math/log2.h (+7-21) - (modified) libclc/generic/include/clc/math/modf.h (+7-21) - (modified) libclc/generic/include/clc/math/native_log.h (+7-21) - (modified) libclc/generic/include/clc/math/native_log2.h (+7-21) - (modified) libclc/generic/include/clc/math/sinh.h (+7-21) - (modified) libclc/generic/include/clc/math/tanh.h (+7-21) - (modified) libclc/generic/include/clc/relational/bitselect.h (+7-21) - (modified) libclc/generic/include/clc/relational/bitselect.inc (+7-21) - (modified) libclc/generic/lib/common/degrees.cl (+7-21) - (modified) libclc/generic/lib/common/radians.cl (+7-21) - (modified) libclc/generic/lib/common/smoothstep.cl (+7-21) - (modified) libclc/generic/lib/common/step.cl (+7-21) - (modified) libclc/generic/lib/geometric/distance.cl (+7-21) - (modified) libclc/generic/lib/geometric/distance.inc (+7-21) - (modified) libclc/generic/lib/geometric/fast_distance.cl (+7-21) - (modified) libclc/generic/lib/geometric/fast_distance.inc (+7-21) - (modified) libclc/generic/lib/geometric/fast_length.cl (+7-21) - (modified) libclc/generic/lib/geometric/fast_normalize.cl (+7-21) - (modified) libclc/generic/lib/geometric/fast_normalize.inc (+7-21) - (modified) libclc/generic/lib/geometric/length.cl (+7-21) - (modified) libclc/generic/lib/geometric/normalize.cl (+7-21) - (modified) libclc/generic/lib/math/acos.cl (+7-21) - (modified) libclc/generic/lib/math/acosh.cl (+7-21) - (modified) libclc/generic/lib/math/acospi.cl (+7-21) - (modified) libclc/generic/lib/math/asin.cl (+7-21) - (modified) libclc/generic/lib/math/asinh.cl (+7-21) - (modified) libclc/generic/lib/math/asinpi.cl (+7-21) - (modified) libclc/generic/lib/math/atan.cl (+7-21) - (modified) libclc/generic/lib/math/atan2.cl (+7-21) - (modified) libclc/generic/lib/math/atan2pi.cl (+7-21) - (modified) libclc/generic/lib/math/atanh.cl (+7-21) - (modified) libclc/generic/lib/math/atanpi.cl (+7-21) - (modified) libclc/generic/lib/math/cbrt.cl (+7-21) - (modified) libclc/generic/lib/math/clc_exp10.cl (+7-21) - (modified) libclc/generic/lib/math/clc_fmod.cl (+7-21) - (modified) libclc/generic/lib/math/clc_pow.cl (+7-21) - (modified) libclc/generic/lib/math/clc_pown.cl (+7-21) - (modified) libclc/generic/lib/math/clc_powr.cl (+7-21) - (modified) libclc/generic/lib/math/clc_remainder.cl (+7-21) - (modified) libclc/generic/lib/math/clc_remquo.cl (+7-21) - (modified) libclc/generic/lib/math/clc_rootn.cl (+7-21) - (modified) libclc/generic/lib/math/clc_tan.cl (+8-21) - (modified) libclc/generic/lib/math/clc_tanpi.cl (+7-21) - (modified) libclc/generic/lib/math/cos.cl (+7-21) - (modified) libclc/generic/lib/math/cosh.cl (+7-21) - (modified) libclc/generic/lib/math/cospi.cl (+7-21) - (modified) libclc/generic/lib/math/ep_log.cl (+7-21) - (modified) libclc/generic/lib/math/ep_log.h (+7-21) - (modified) libclc/generic/lib/math/erf.cl (+7-21) - (modified) libclc/generic/lib/math/erfc.cl (+7-21) - (modified) libclc/generic/lib/math/exp.cl (+7-21) - (modified) libclc/generic/lib/math/exp2.cl (+7-21) - (modified) libclc/generic/lib/math/exp_helper.cl (+7-21) - (modified) libclc/generic/lib/math/exp_helper.h (+7-22) - (modified) libclc/generic/lib/math/fdim.inc (+8-22) - (modified) libclc/generic/lib/math/fract.cl (+7-21) - (modified) libclc/generic/lib/math/fract.inc (+7-21) - (modified) libclc/generic/lib/math/ilogb.cl (+7-22) - (modified) libclc/generic/lib/math/ldexp.cl (+7-21) - (modified) libclc/generic/lib/math/ldexp.inc (+7-21) - (modified) libclc/generic/lib/math/lgamma.cl (+7-22) - (modified) libclc/generic/lib/math/lgamma_r.cl (+7-22) - (modified) libclc/generic/lib/math/lgamma_r.inc (+7-22) - (modified) libclc/generic/lib/math/log1p.cl (+7-21) - (modified) libclc/generic/lib/math/modf.cl (+7-21) - (modified) libclc/generic/lib/math/native_log.cl (+7-21) - (modified) libclc/generic/lib/math/native_log2.cl (+7-21) - (modified) libclc/generic/lib/math/native_unary_intrinsic.inc (+7-21) - (modified) libclc/generic/lib/math/sin.cl (+7-21) - (modified) libclc/generic/lib/math/sincosD_piby4.h (+7-21) - (modified) libclc/generic/lib/math/sincos_helpers.cl (+7-21) - (modified) libclc/generic/lib/math/sincos_helpers.h (+7-21) - (modified) libclc/generic/lib/math/sincospiF_piby4.h (+8-21) - (modified) libclc/generic/lib/math/sinh.cl (+7-21) - (modified) libclc/generic/lib/math/sinpi.cl (+7-21) - (modified) libclc/generic/lib/math/sqrt.cl (+7-21) - (modified) libclc/generic/lib/math/tables.cl (+7-21) - (modified) libclc/generic/lib/math/tanh.cl (+7-21) - (modified) libclc/generic/lib/math/tgamma.cl (+7-22) - (modified) libclc/generic/lib/relational/bitselect.cl (+7-21) - (modified) libclc/generic/lib/relational/bitselect.inc (+7-21) - (modified) libclc/generic/lib/subnormal_config.cl (+7-21) - (modified) libclc/spirv/lib/subnormal_config.cl (+7-21) ``````````diff diff --git a/libclc/clc/include/clc/math/clc_subnormal_config.h b/libclc/clc/include/clc/math/clc_subnormal_config.h index eaab5aaee985b..acf50f62a726d 100644 --- a/libclc/clc/include/clc/math/clc_subnormal_config.h +++ b/libclc/clc/include/clc/math/clc_subnormal_config.h @@ -1,24 +1,10 @@ -/* - * Copyright (c) 2015 Advanced Micro Devices, 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. - */ +//===- clc_subnormal_config.h ---------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// #ifndef __CLC_MATH_CLC_SUBNORMAL_CONFIG_H__ #define __CLC_MATH_CLC_SUBNORMAL_CONFIG_H__ diff --git a/libclc/clc/include/clc/math/math.h b/libclc/clc/include/clc/math/math.h index be33d5dd8af0b..a6ac882c5953a 100644 --- a/libclc/clc/include/clc/math/math.h +++ b/libclc/clc/include/clc/math/math.h @@ -1,24 +1,10 @@ -/* - * Copyright (c) 2014 Advanced Micro Devices, 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. - */ +//===- math.h -------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// #ifndef __CLC_MATH_MATH_H__ #define __CLC_MATH_MATH_H__ diff --git a/libclc/clc/include/clc/math/tables.h b/libclc/clc/include/clc/math/tables.h index 71a332144c474..ffc84d844b366 100644 --- a/libclc/clc/include/clc/math/tables.h +++ b/libclc/clc/include/clc/math/tables.h @@ -1,24 +1,10 @@ -/* - * Copyright (c) 2014 Advanced Micro Devices, 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. - */ +//===- tables.h -----------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// #ifndef __CLC_MATH_TABLES_H__ #define __CLC_MATH_TABLES_H__ diff --git a/libclc/clc/include/clc/relational/clc_bitselect.h b/libclc/clc/include/clc/relational/clc_bitselect.h index 53fae6a7a2dcb..7bf29342d306b 100644 --- a/libclc/clc/include/clc/relational/clc_bitselect.h +++ b/libclc/clc/include/clc/relational/clc_bitselect.h @@ -1,24 +1,10 @@ -/* - * Copyright (c) 2015 Advanced Micro Devices, 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. - */ +//===- clc_bitselect.h ----------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// #ifndef __CLC_RELATIONAL_CLC_BITSELECT_H__ #define __CLC_RELATIONAL_CLC_BITSELECT_H__ diff --git a/libclc/clc/include/clc/relational/clc_bitselect.inc b/libclc/clc/include/clc/relational/clc_bitselect.inc index 14d5bea6dbe7d..f5effef9201b7 100644 --- a/libclc/clc/include/clc/relational/clc_bitselect.inc +++ b/libclc/clc/include/clc/relational/clc_bitselect.inc @@ -1,24 +1,10 @@ -/* - * Copyright (c) 2015 Advanced Micro Devices, 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. - */ +//===- clc_bitselect.inc --------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// _CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE __clc_bitselect(__CLC_GENTYPE x, __CLC_GENTYPE y, diff --git a/libclc/clc/lib/amdgcn/math/clc_ldexp_override.cl b/libclc/clc/lib/amdgcn/math/clc_ldexp_override.cl index 03324db2bf48d..3aefbac3c243d 100644 --- a/libclc/clc/lib/amdgcn/math/clc_ldexp_override.cl +++ b/libclc/clc/lib/amdgcn/math/clc_ldexp_override.cl @@ -1,24 +1,10 @@ -/* - * Copyright (c) 2014 Advanced Micro Devices, 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. - */ +//===- clc_ldexp_override.cl ----------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// #include <clc/clcmacro.h> #include <clc/internal/clc.h> diff --git a/libclc/clc/lib/amdgpu/math/clc_sqrt_fp64.cl b/libclc/clc/lib/amdgpu/math/clc_sqrt_fp64.cl index c5614659eb5ce..8271203174eca 100644 --- a/libclc/clc/lib/amdgpu/math/clc_sqrt_fp64.cl +++ b/libclc/clc/lib/amdgpu/math/clc_sqrt_fp64.cl @@ -1,24 +1,10 @@ -/* - * Copyright (c) 2015 Advanced Micro Devices, 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. - */ +//===- clc_sqrt_fp64.cl ---------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// #include <clc/clcmacro.h> #include <clc/internal/clc.h> diff --git a/libclc/clc/lib/clspv/math/clc_sw_fma.cl b/libclc/clc/lib/clspv/math/clc_sw_fma.cl index 1d65bcf14b2b4..ce42c5ac4ca4c 100644 --- a/libclc/clc/lib/clspv/math/clc_sw_fma.cl +++ b/libclc/clc/lib/clspv/math/clc_sw_fma.cl @@ -1,24 +1,10 @@ -/* - * Copyright (c) 2014 Advanced Micro Devices, 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. - */ +//===- clc_sw_fma.cl ------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// // This version is derived from the generic fma software implementation // (__clc_sw_fma), but avoids the use of ulong in favor of uint2. The logic has diff --git a/libclc/clc/lib/generic/common/clc_degrees.cl b/libclc/clc/lib/generic/common/clc_degrees.cl index ce705982072e8..a93ac841d7b65 100644 --- a/libclc/clc/lib/generic/common/clc_degrees.cl +++ b/libclc/clc/lib/generic/common/clc_degrees.cl @@ -1,24 +1,10 @@ -/* - * Copyright (c) 2014,2015 Advanced Micro Devices, 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. - */ +//===- clc_degrees.cl -----------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// #include <clc/clcmacro.h> #include <clc/internal/clc.h> diff --git a/libclc/clc/lib/generic/common/clc_radians.cl b/libclc/clc/lib/generic/common/clc_radians.cl index 850b8eb84f9da..9f9b3d7317770 100644 --- a/libclc/clc/lib/generic/common/clc_radians.cl +++ b/libclc/clc/lib/generic/common/clc_radians.cl @@ -1,24 +1,10 @@ -/* - * Copyright (c) 2014,2015 Advanced Micro Devices, 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. - */ +//===- clc_radians.cl -----------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// #include <clc/clcmacro.h> #include <clc/internal/clc.h> diff --git a/libclc/clc/lib/generic/common/clc_smoothstep.cl b/libclc/clc/lib/generic/common/clc_smoothstep.cl index ea0e9ed3bb19c..4e8d1874ff74f 100644 --- a/libclc/clc/lib/generic/common/clc_smoothstep.cl +++ b/libclc/clc/lib/generic/common/clc_smoothstep.cl @@ -1,24 +1,10 @@ -/* - * Copyright (c) 2014,2015 Advanced Micro Devices, 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. - */ +//===- clc_smoothstep.cl --------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license infor... [truncated] `````````` </details> https://github.com/llvm/llvm-project/pull/132070 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits