Skip to content

Commit 4e07b18

Browse files
committed
Document internal version of function to fix lit error
The lit test compiles the code with -Wdocumentation set, so we need to document the internal function so that -Wdocumentation doesn't throw errors
1 parent a98d117 commit 4e07b18

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

clang/lib/Headers/amxcomplexintrin.h

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@
6262
/// The 2nd source tile. Max size is 1024 Bytes.
6363
#define _tile_cmmimfp16ps(dst, a, b) __builtin_ia32_tcmmimfp16ps(dst, a, b)
6464

65-
;
66-
6765
/// Perform matrix multiplication of two tiles containing complex elements and
6866
/// accumulate the results into a packed single precision tile. Each dword
6967
/// element in input tiles \a a and \a b is interpreted as a complex number
@@ -109,8 +107,24 @@
109107
/// The 2nd source tile. Max size is 1024 Bytes.
110108
#define _tile_cmmrlfp16ps(dst, a, b) __builtin_ia32_tcmmrlfp16ps(dst, a, b)
111109

112-
;
113-
110+
/// Perform matrix multiplication of two tiles containing complex elements and
111+
/// accumulate the results into a packed single precision tile.
112+
///
113+
/// \param m
114+
/// The number of rows in the first tile and the number of rows in the result
115+
/// tile.
116+
/// \param n
117+
/// The number of columns in the second tile and the number of columns in the
118+
/// result tile.
119+
/// \param k
120+
/// The number of columns in the first tile and the number of rows in the
121+
/// second tile.
122+
/// \param dst
123+
/// Pointer to the destination tile where the result will be stored.
124+
/// \param src1
125+
/// Pointer to the first source tile.
126+
/// \param src2
127+
/// Pointer to the second source tile.
114128
static __inline__ _tile1024i __DEFAULT_FN_ATTRS_COMPLEX
115129
_tile_cmmimfp16ps_internal(unsigned short m, unsigned short n, unsigned short k,
116130
_tile1024i dst, _tile1024i src1, _tile1024i src2) {

0 commit comments

Comments
 (0)