File tree Expand file tree Collapse file tree 5 files changed +12
-37
lines changed Expand file tree Collapse file tree 5 files changed +12
-37
lines changed Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 ) \
Original file line number Diff line number Diff line change 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 ) \
You can’t perform that action at this time.
0 commit comments