Skip to content

Commit ee21d6a

Browse files
gen_copyrightWentzell
authored andcommitted
Update Apache copyright headers to minimal version for all files
1 parent 372e264 commit ee21d6a

File tree

172 files changed

+695
-2475
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+695
-2475
lines changed

benchmarks/bench_common.hpp

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
// Copyright (c) 2020 Simons Foundation
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0.txt
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
1+
// Copyright (c) 2020--present, The Simons Foundation
2+
// This file is part of TRIQS/nda and is licensed under the Apache License, Version 2.0.
3+
// SPDX-License-Identifier: Apache-2.0
4+
// See LICENSE in the root of this distribution for details.
145

156
#ifdef __GNUC__
167
// to remove the warning of ; too much. Remove the comma, and clang-format is a mess

benchmarks/blas.cpp

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
// Copyright (c) 2019-2020 Simons Foundation
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0.txt
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
1+
// Copyright (c) 2022--present, The Simons Foundation
2+
// This file is part of TRIQS/nda and is licensed under the Apache License, Version 2.0.
3+
// SPDX-License-Identifier: Apache-2.0
4+
// See LICENSE in the root of this distribution for details.
145

156
#include "./bench_common.hpp"
167
#include <nda/blas.hpp>

benchmarks/clef_loop.cpp

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
// Copyright (c) 2019-2020 Simons Foundation
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0.txt
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
1+
// Copyright (c) 2019--present, The Simons Foundation
2+
// This file is part of TRIQS/nda and is licensed under the Apache License, Version 2.0.
3+
// SPDX-License-Identifier: Apache-2.0
4+
// See LICENSE in the root of this distribution for details.
145

156
#include "./bench_common.hpp"
167

benchmarks/compiler_explorer_snippets/view_and_call.cpp

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
// Copyright (c) 2020 Simons Foundation
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0.txt
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
1+
// Copyright (c) 2020--present, The Simons Foundation
2+
// This file is part of TRIQS/nda and is licensed under the Apache License, Version 2.0.
3+
// SPDX-License-Identifier: Apache-2.0
4+
// See LICENSE in the root of this distribution for details.
145

156
// clang 10 : -std=c++20 -O3 -DNDEBUG -march=skylake
167
// gcc 9 : -std=c++17 -O3 -DNDEBUG -march=skylake

benchmarks/constr_heap_vs_sso.cpp

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
// Copyright (c) 2019-2020 Simons Foundation
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0.txt
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
1+
// Copyright (c) 2020--present, The Simons Foundation
2+
// This file is part of TRIQS/nda and is licensed under the Apache License, Version 2.0.
3+
// SPDX-License-Identifier: Apache-2.0
4+
// See LICENSE in the root of this distribution for details.
145

156
#include <benchmark/benchmark.h>
167
#include <nda/nda.hpp>

benchmarks/copy.cpp

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
// Copyright (c) 2019-2020 Simons Foundation
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0.txt
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
1+
// Copyright (c) 2022--present, The Simons Foundation
2+
// This file is part of TRIQS/nda and is licensed under the Apache License, Version 2.0.
3+
// SPDX-License-Identifier: Apache-2.0
4+
// See LICENSE in the root of this distribution for details.
145

156
#include "./bench_common.hpp"
167

benchmarks/fill_0.cpp

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
// Copyright (c) 2020 Simons Foundation
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0.txt
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
1+
// Copyright (c) 2020--present, The Simons Foundation
2+
// This file is part of TRIQS/nda and is licensed under the Apache License, Version 2.0.
3+
// SPDX-License-Identifier: Apache-2.0
4+
// See LICENSE in the root of this distribution for details.
145

156
#include "./bench_common.hpp"
167

benchmarks/for_static.cpp

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
// Copyright (c) 2019-2020 Simons Foundation
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0.txt
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
1+
// Copyright (c) 2019--present, The Simons Foundation
2+
// This file is part of TRIQS/nda and is licensed under the Apache License, Version 2.0.
3+
// SPDX-License-Identifier: Apache-2.0
4+
// See LICENSE in the root of this distribution for details.
145

156
#include "./bench_common.hpp"
167

benchmarks/gemm_batch.cpp

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
// Copyright (c) 2019-2020 Simons Foundation
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0.txt
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
1+
// Copyright (c) 2022--present, The Simons Foundation
2+
// This file is part of TRIQS/nda and is licensed under the Apache License, Version 2.0.
3+
// SPDX-License-Identifier: Apache-2.0
4+
// See LICENSE in the root of this distribution for details.
145

156
#include "./bench_common.hpp"
167
#include <nda/blas.hpp>

benchmarks/iterator_foreach.cpp

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
// Copyright (c) 2019-2020 Simons Foundation
2-
//
3-
// Licensed under the Apache License, Version 2.0 (the "License");
4-
// you may not use this file except in compliance with the License.
5-
// You may obtain a copy of the License at
6-
//
7-
// http://www.apache.org/licenses/LICENSE-2.0.txt
8-
//
9-
// Unless required by applicable law or agreed to in writing, software
10-
// distributed under the License is distributed on an "AS IS" BASIS,
11-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
// See the License for the specific language governing permissions and
13-
// limitations under the License.
1+
// Copyright (c) 2019--present, The Simons Foundation
2+
// This file is part of TRIQS/nda and is licensed under the Apache License, Version 2.0.
3+
// SPDX-License-Identifier: Apache-2.0
4+
// See LICENSE in the root of this distribution for details.
145

156
#include "./bench_common.hpp"
167

0 commit comments

Comments
 (0)