Files
clang-p2996/libclc/clc/lib/generic/math/clc_half_sqrt.cl
Fraser Cormack dd89af7f55 [libclc] Move 'half' builtins to CLC library (#139563)
There are no changes to the generated bytecode.
2025-05-12 17:32:05 +01:00

17 lines
572 B
Common Lisp

//===----------------------------------------------------------------------===//
//
// 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 __FLOAT_ONLY
#define FUNCTION __clc_half_sqrt
#define __CLC_FUNCTION(x) __clc_sqrt
#define __CLC_BODY <clc/shared/unary_def.inc>
#include <clc/math/gentype.inc>