|
1 | | -/******************************************************************************* |
2 | | - * Copyright 2022-2024 Intel Corporation |
| 1 | +/* |
| 2 | + * Copyright (C) 2025 Intel Corporation |
3 | 3 | * |
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | * you may not use this file except in compliance with the License. |
6 | 6 | * You may obtain a copy of the License at |
7 | 7 | * |
8 | | - * http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
9 | 9 | * |
10 | | - * Unless required by applicable law or agreed to in writing, software |
11 | | - * distributed under the License is distributed on an "AS IS" BASIS, |
| 10 | + * Unless required by applicable law or agreed to in writing, |
| 11 | + * software distributed under the License is distributed on an "AS IS" BASIS, |
12 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 | | - * See the License for the specific language governing permissions and |
14 | | - * limitations under the License. |
15 | | - *******************************************************************************/ |
| 13 | + * See the License for the specific language governing permissions |
| 14 | + * and limitations under the License. |
| 15 | + * SPDX-License-Identifier: Apache-2.0 |
| 16 | + */ |
16 | 17 |
|
17 | 18 | #include "mixed_partition.hpp" |
18 | 19 | #include "binding_axis.hpp" |
@@ -1849,8 +1850,8 @@ static bool try_merge_mixed_parti_parallel(mixed_parti_t *A, mixed_parti_t *B) { |
1849 | 1850 |
|
1850 | 1851 | auto append_parti = (dep == parti_dep::l_dep_r) ? A : B, |
1851 | 1852 | target_parti = (dep == parti_dep::l_dep_r) ? B : A; |
1852 | | - SC_MODULE_INFO << "Start try_merge_mixed_parti_parallel: " |
1853 | | - << "Target: " << target_parti->func_->name_ |
| 1853 | + SC_MODULE_INFO << "Start try_merge_mixed_parti_parallel: " << "Target: " |
| 1854 | + << target_parti->func_->name_ |
1854 | 1855 | << ", Append: " << append_parti->func_->name_; |
1855 | 1856 |
|
1856 | 1857 | auto outer_loops_target = target_parti->get_outer_loops(), |
@@ -4028,7 +4029,7 @@ static void |
4028 | 4029 | crossover_dispatcher(const std::vector<mixed_parti_t::ptr> &parti_vec, |
4029 | 4030 | parti_merge_kind merge_kind) { |
4030 | 4031 | // select merger by merge kind |
4031 | | - bool (*merger)(mixed_parti_t * A, mixed_parti_t * B); |
| 4032 | + bool (*merger)(mixed_parti_t *A, mixed_parti_t *B); |
4032 | 4033 | switch (merge_kind) { |
4033 | 4034 | case parti_merge_kind::vertical: { |
4034 | 4035 | merger = try_merge_mixed_parti_vertically; |
|
0 commit comments