Skip to content

Commit b056d3e

Browse files
frasercrmckvar-const
authored andcommitted
[libclc][NFC] Fix up inconsistent copyright headers
Some files were accidentally given two copyright headers. Another was missing one. This commit also converts that file's dos line endings to unix ones and reformats a comment.
1 parent 5864132 commit b056d3e

File tree

5 files changed

+12
-37
lines changed

5 files changed

+12
-37
lines changed
Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1-
/*
2-
Opt-out of libclc mul_hi implementation for clspv.
3-
clspv has an internal implementation that does not required using a bigger data size.
4-
That implementation is based on OpMulExtended which is SPIR-V specific, thus it cannot be written in OpenCL-C.
5-
*/
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6+
//
7+
//===----------------------------------------------------------------------===//
8+
9+
// Opt-out of libclc mul_hi implementation for clspv.
10+
// clspv has an internal implementation that does not required using a bigger
11+
// data size. That implementation is based on OpMulExtended which is SPIR-V
12+
// specific, thus it cannot be written in OpenCL-C.

libclc/generic/include/clc/misc/shuffle.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
//===-- generic/include/clc/misc/shuffle.h ------------------------------===//
10-
//
11-
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
12-
// See https://llvm.org/LICENSE.txt for license information.
13-
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14-
//
15-
//===----------------------------------------------------------------------===//
16-
179
#define _CLC_SHUFFLE_DECL(TYPE, MASKTYPE, RETTYPE) \
1810
_CLC_OVERLOAD _CLC_DECL RETTYPE shuffle(TYPE x, MASKTYPE mask);
1911

libclc/generic/include/clc/misc/shuffle2.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
//===-- generic/include/clc/misc/shuffle2.h ------------------------------===//
10-
//
11-
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
12-
// See https://llvm.org/LICENSE.txt for license information.
13-
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14-
//
15-
//===----------------------------------------------------------------------===//
16-
179
#define _CLC_SHUFFLE2_DECL(TYPE, MASKTYPE, RETTYPE) \
1810
_CLC_OVERLOAD _CLC_DECL RETTYPE shuffle2(TYPE x, TYPE y, MASKTYPE mask);
1911

libclc/generic/lib/misc/shuffle.cl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
//===-- generic/lib/misc/shuffle.cl ------------------------------===//
10-
//
11-
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
12-
// See https://llvm.org/LICENSE.txt for license information.
13-
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14-
//
15-
//===----------------------------------------------------------------------===//
16-
179
#include <clc/clc.h>
1810

1911
#define _CLC_ELEMENT_CASES2(VAR) \

libclc/generic/lib/misc/shuffle2.cl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
//===-- generic/lib/misc/shuffle2.cl ------------------------------===//
10-
//
11-
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
12-
// See https://llvm.org/LICENSE.txt for license information.
13-
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14-
//
15-
//===----------------------------------------------------------------------===//
16-
179
#include <clc/clc.h>
1810

1911
#define _CLC_ELEMENT_CASES2(VAR) \

0 commit comments

Comments
 (0)