From 7eaa45d2d5f864be478fb53ec3db02fe56e6912d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Widera?= Date: Thu, 19 Aug 2021 06:57:51 +0200 Subject: [PATCH] fix documentation for `popcll` (#2309) Change return type from int to unsigned int. It is correctly documented in hip-math-api.md but not at the place where this PR is updating the documentation. --- docs/markdown/hip_kernel_language.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/markdown/hip_kernel_language.md b/docs/markdown/hip_kernel_language.md index ca6607d44c..8ab3ec99e1 100644 --- a/docs/markdown/hip_kernel_language.md +++ b/docs/markdown/hip_kernel_language.md @@ -467,7 +467,7 @@ Following is the list of supported integer intrinsics. Note that intrinsics are | unsigned int __ffsll(unsigned long long int x)
Find the position of least signigicant bit set to 1 in a 64 bit unsigned integer.[1](#f3) | | unsigned int __ffsll(long long int x)
Find the position of least signigicant bit set to 1 in a 64 bit signed integer. | | unsigned int __popc ( unsigned int x )
Count the number of bits that are set to 1 in a 32 bit integer. | -| int __popcll ( unsigned long long int x )
Count the number of bits that are set to 1 in a 64 bit integer. | +| unsigned int __popcll ( unsigned long long int x )
Count the number of bits that are set to 1 in a 64 bit integer. | | int __mul24 ( int x, int y )
Multiply two 24bit integers. | | unsigned int __umul24 ( unsigned int x, unsigned int y )
Multiply two 24bit unsigned integers. | [1]