File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1-
21// Licensed under the BSD 3-Clause License (the "License");
32// you may not use this file except in compliance with the License.
43// You may obtain a copy of the License at
87// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
98// See the License for the specific language governing permissions and
109// limitations under the License.
10+ //
11+ // The code snippet comes from [CANN].
12+ //
13+ // Copyright (c) [2025] [CANN]. All rights reserved.
14+ //
15+ // This file contains code from [CANN], which is released under
16+ // the CANN Open Software License Agreement Version 2.0 (the "License")
17+ // See the LICENSE file in the root directory of this source tree
18+ // or at https://gitcode.com/cann/ops-nn/blob/master/LICENSE for details.
1119
1220#ifndef UTILS_COMMON_H
1321#define UTILS_COMMON_H
Original file line number Diff line number Diff line change 77// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
88// See the License for the specific language governing permissions and
99// limitations under the License.
10+ //
11+ // The code snippet comes from [CANN].
12+ //
13+ // Copyright (c) [2025] [CANN]. All rights reserved.
14+ //
15+ // This file contains code from [CANN], which is released under
16+ // the CANN Open Software License Agreement Version 2.0 (the "License")
17+ // See the LICENSE file in the root directory of this source tree
18+ // or at https://gitcode.com/cann/ops-nn/blob/master/LICENSE for details.
1019
1120#ifndef SGL_KERNEL_NPU_DEFINES_H
1221#define SGL_KERNEL_NPU_DEFINES_H
Original file line number Diff line number Diff line change 77// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
88// See the License for the specific language governing permissions and
99// limitations under the License.
10+ //
11+ // The code snippet comes from [CANN].
12+ //
13+ // Copyright (c) [2025] [CANN]. All rights reserved.
14+ //
15+ // This file contains code from [CANN], which is released under
16+ // the CANN Open Software License Agreement Version 2.0 (the "License")
17+ // See the LICENSE file in the root directory of this source tree
18+ // or at https://gitcode.com/cann/ops-nn/blob/master/LICENSE for details.
1019
1120#ifndef SGL_KERNEL_NPU_TORCH_NPU_HELPER_H
1221#define SGL_KERNEL_NPU_TORCH_NPU_HELPER_H
Original file line number Diff line number Diff line change 77// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
88// See the License for the specific language governing permissions and
99// limitations under the License
10+ //
11+ // The code snippet comes from [CANN].
12+ //
13+ // Copyright (c) [2025] [CANN]. All rights reserved.
14+ //
15+ // This file contains code from [CANN], which is released under
16+ // the CANN Open Software License Agreement Version 2.0 (the "License")
17+ // See the LICENSE file in the root directory of this source tree
18+ // or at https://gitcode.com/cann/ops-nn/blob/master/LICENSE for details.
1019
1120#ifndef SGL_KERNEL_NPU_VERSION_H
1221#define SGL_KERNEL_NPU_VERSION_H
You can’t perform that action at this time.
0 commit comments