brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 2d5fdb3 Raw
41 lines · plain
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-exception6//7//===----------------------------------------------------------------------===//8 9#if __CLC_FPSIZE == 3210 11#ifndef __CLC_SCALAR12 13#if __CLC_VECSIZE == 314#define __CLC_OFFSET 415#else16#define __CLC_OFFSET __CLC_VECSIZE17#endif18 19__CLC_FUNC(__CLC_VECSIZE, __CLC_VECSIZE, __CLC_OFFSET, __CLC_GENTYPE,20           __private);21__CLC_FUNC(__CLC_VECSIZE, __CLC_VECSIZE, __CLC_OFFSET, __CLC_GENTYPE, __local);22__CLC_FUNC(__CLC_VECSIZE, __CLC_VECSIZE, __CLC_OFFSET, __CLC_GENTYPE, __global);23__CLC_FUNC(__CLC_VECSIZE, __CLC_VECSIZE, __CLC_OFFSET, __CLC_GENTYPE,24           __constant);25#if _CLC_DISTINCT_GENERIC_AS_SUPPORTED26__CLC_FUNC(__CLC_VECSIZE, __CLC_VECSIZE, __CLC_OFFSET, __CLC_GENTYPE,27           __generic);28#endif29 30#undef __CLC_OFFSET31#else32__CLC_FUNC(, 1, 1, __CLC_GENTYPE, __private);33__CLC_FUNC(, 1, 1, __CLC_GENTYPE, __local);34__CLC_FUNC(, 1, 1, __CLC_GENTYPE, __global);35__CLC_FUNC(, 1, 1, __CLC_GENTYPE, __constant);36#if _CLC_DISTINCT_GENERIC_AS_SUPPORTED37__CLC_FUNC(, 1, 1, __CLC_GENTYPE, __generic);38#endif39#endif40#endif41