Skip to content

Commit 2df8f6a

Browse files
Added license header comments
1 parent 294304d commit 2df8f6a

File tree

5 files changed

+118
-0
lines changed

5 files changed

+118
-0
lines changed

dpctl/tensor/libtensor/source/sorting/argsort.cpp

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
//
2+
// Data Parallel Control (dpctl)
3+
//
4+
// Copyright 2020-2023 Intel Corporation
5+
//
6+
// Licensed under the Apache License, Version 2.0 (the "License");
7+
// you may not use this file except in compliance with the License.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
//
12+
// Unless required by applicable law or agreed to in writing, software
13+
// distributed under the License is distributed on an "AS IS" BASIS,
14+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
// See the License for the specific language governing permissions and
16+
// limitations under the License.
17+
//
18+
//===--------------------------------------------------------------------===//
19+
///
20+
/// \file
21+
/// This file defines functions of dpctl.tensor._tensor_sorting_impl
22+
/// extension.
23+
//===--------------------------------------------------------------------===//
124

225
#include "dpctl4pybind11.hpp"
326
#include <pybind11/pybind11.h>

dpctl/tensor/libtensor/source/sorting/argsort.hpp

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
//
2+
// Data Parallel Control (dpctl)
3+
//
4+
// Copyright 2020-2023 Intel Corporation
5+
//
6+
// Licensed under the Apache License, Version 2.0 (the "License");
7+
// you may not use this file except in compliance with the License.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
//
12+
// Unless required by applicable law or agreed to in writing, software
13+
// distributed under the License is distributed on an "AS IS" BASIS,
14+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
// See the License for the specific language governing permissions and
16+
// limitations under the License.
17+
//
18+
//===--------------------------------------------------------------------===//
19+
///
20+
/// \file
21+
/// This file defines functions of dpctl.tensor._tensor_sorting_impl
22+
/// extension.
23+
//===--------------------------------------------------------------------===//
24+
125
#pragma once
226

327
#include <pybind11/pybind11.h>

dpctl/tensor/libtensor/source/sorting/sort.cpp

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
//
2+
// Data Parallel Control (dpctl)
3+
//
4+
// Copyright 2020-2023 Intel Corporation
5+
//
6+
// Licensed under the Apache License, Version 2.0 (the "License");
7+
// you may not use this file except in compliance with the License.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
//
12+
// Unless required by applicable law or agreed to in writing, software
13+
// distributed under the License is distributed on an "AS IS" BASIS,
14+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
// See the License for the specific language governing permissions and
16+
// limitations under the License.
17+
//
18+
//===--------------------------------------------------------------------===//
19+
///
20+
/// \file
21+
/// This file defines functions of dpctl.tensor._tensor_sorting_impl
22+
/// extension.
23+
//===--------------------------------------------------------------------===//
124

225
#include "dpctl4pybind11.hpp"
326
#include <pybind11/pybind11.h>

dpctl/tensor/libtensor/source/sorting/sort.hpp

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
//
2+
// Data Parallel Control (dpctl)
3+
//
4+
// Copyright 2020-2023 Intel Corporation
5+
//
6+
// Licensed under the Apache License, Version 2.0 (the "License");
7+
// you may not use this file except in compliance with the License.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
//
12+
// Unless required by applicable law or agreed to in writing, software
13+
// distributed under the License is distributed on an "AS IS" BASIS,
14+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
// See the License for the specific language governing permissions and
16+
// limitations under the License.
17+
//
18+
//===--------------------------------------------------------------------===//
19+
///
20+
/// \file
21+
/// This file defines functions of dpctl.tensor._tensor_sorting_impl
22+
/// extension.
23+
//===--------------------------------------------------------------------===//
24+
125
#pragma once
226

327
#include <pybind11/pybind11.h>

dpctl/tensor/libtensor/source/sorting/sorting_common.hpp

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
//
2+
// Data Parallel Control (dpctl)
3+
//
4+
// Copyright 2020-2023 Intel Corporation
5+
//
6+
// Licensed under the Apache License, Version 2.0 (the "License");
7+
// you may not use this file except in compliance with the License.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
//
12+
// Unless required by applicable law or agreed to in writing, software
13+
// distributed under the License is distributed on an "AS IS" BASIS,
14+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
// See the License for the specific language governing permissions and
16+
// limitations under the License.
17+
//
18+
//===--------------------------------------------------------------------===//
19+
///
20+
/// \file
21+
/// This file defines functions of dpctl.tensor._tensor_sorting_impl
22+
/// extension.
23+
//===--------------------------------------------------------------------===//
24+
125
#pragma once
226

327
#include "utils/math_utils.hpp"

0 commit comments

Comments
 (0)