summaryrefslogtreecommitdiff
path: root/libclc/clc/lib/generic/math/clc_half_sqrt.cl
blob: 01e779960df6c34e68eeb55b1c99d225733b8b26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include <clc/math/clc_sqrt.h>

#define __CLC_FLOAT_ONLY
#define __CLC_FUNCTION __clc_half_sqrt
#define __CLC_IMPL_FUNCTION(x) __clc_sqrt
#define __CLC_BODY <clc/shared/unary_def.inc>

#include <clc/math/gentype.inc>