We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45ecca8 commit 8fc01a7Copy full SHA for 8fc01a7
amd/device-libs/ocml/src/ldexpH.cl
@@ -16,6 +16,6 @@ MATH_MANGLE2(ldexp)(half2 x, int2 n)
16
CONSTATTR half
17
MATH_MANGLE(ldexp)(half x, int n)
18
{
19
- return BUILTIN_FLDEXP_F16(x, BUILTIN_CLAMP_S32(n, SHRT_MIN, SHRT_MAX));
+ return BUILTIN_FLDEXP_F16(x, n);
20
}
21
0 commit comments