Debian Codegraph @

libclc/opencl/lib/clspv/shared/vstore_half.inc

raw
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 // This does exist only for fp32
10 #if __CLC_FPSIZE == 32
11 #ifndef __CLC_SCALAR
12
13 FUNC(__CLC_VECSIZE, __CLC_VECSIZE, __CLC_GENTYPE, __private);
14 FUNC(__CLC_VECSIZE, __CLC_VECSIZE, __CLC_GENTYPE, __local);
15 FUNC(__CLC_VECSIZE, __CLC_VECSIZE, __CLC_GENTYPE, __global);
16 #if _CLC_DISTINCT_GENERIC_AS_SUPPORTED
17 FUNC(__CLC_VECSIZE, __CLC_VECSIZE, __CLC_GENTYPE, __generic);
18 #endif
19
20 #undef __CLC_OFFSET
21 #else
22 FUNC(, 1, __CLC_GENTYPE, __private);
23 FUNC(, 1, __CLC_GENTYPE, __local);
24 FUNC(, 1, __CLC_GENTYPE, __global);
25 #if _CLC_DISTINCT_GENERIC_AS_SUPPORTED
26 FUNC(, 1, __CLC_GENTYPE, __generic);
27 #endif
28 #endif
29 #endif