11#error "Never use <amxfp16intrin.h> directly; use <immintrin.h> instead."
14#ifndef __AMX_FP16INTRIN_H
15#define __AMX_FP16INTRIN_H
19#define __DEFAULT_FN_ATTRS \
20 __attribute__((__always_inline__, __nodebug__, __target__("amx-fp16")))
58#define _tile_dpfp16ps(dst, a, b) \
59 __builtin_ia32_tdpfp16ps(dst, a, b)
63_tile_dpfp16ps_internal(
unsigned short m,
unsigned short n,
unsigned short k,
64 _tile1024i dst, _tile1024i src1, _tile1024i src2) {
65 return __builtin_ia32_tdpfp16ps_internal(m, n, k, dst, src1, src2);
84static __inline__
void __tile_dpfp16ps(__tile1024i *dst, __tile1024i src0,
86 dst->tile = _tile_dpfp16ps_internal(src0.row, src1.col, src0.col, dst->tile,
87 src0.tile, src1.tile);
90#undef __DEFAULT_FN_ATTRS
#define __DEFAULT_FN_ATTRS