Skip to content

relax the fp16 sqrt accuracy requirement to 1.5 ULP#1386

Merged
bashbaug merged 1 commit intoKhronosGroup:mainfrom
bashbaug:relax-fp16-sqrt-ulp
Jun 10, 2025
Merged

relax the fp16 sqrt accuracy requirement to 1.5 ULP#1386
bashbaug merged 1 commit intoKhronosGroup:mainfrom
bashbaug:relax-fp16-sqrt-ulp

Conversation

@bashbaug
Copy link
Copy Markdown
Contributor

@bashbaug bashbaug commented Jun 5, 2025

fixes #1373

@b-sumner
Copy link
Copy Markdown

b-sumner commented Jun 5, 2025

This looks fine to me, and it would also be great to get some movement on #1303 which was opened in January.

@bashbaug
Copy link
Copy Markdown
Contributor Author

Merging as discussed in the June 10th teleconference.

@bashbaug bashbaug merged commit fd21916 into KhronosGroup:main Jun 10, 2025
2 checks passed
@bashbaug bashbaug deleted the relax-fp16-sqrt-ulp branch June 10, 2025 16:35
wenju-he added a commit to wenju-he/llvm-project that referenced this pull request Feb 4, 2026
OpenCL spec relaxed half-precision divide to 1 ULP and sqrt to 1.5 ULP in
KhronosGroup/OpenCL-Docs#1293
KhronosGroup/OpenCL-Docs#1386
wenju-he added a commit to llvm/llvm-project that referenced this pull request Feb 5, 2026
OpenCL spec relaxed half-precision divide to 1 ULP and sqrt to 1.5 ULP
in KhronosGroup/OpenCL-Docs#1293
KhronosGroup/OpenCL-Docs#1386
This can enable target to use hardware rcp instruction for half.
llvm-sync bot pushed a commit to arm/arm-toolchain that referenced this pull request Feb 5, 2026
OpenCL spec relaxed half-precision divide to 1 ULP and sqrt to 1.5 ULP
in KhronosGroup/OpenCL-Docs#1293
KhronosGroup/OpenCL-Docs#1386
This can enable target to use hardware rcp instruction for half.
rishabhmadan19 pushed a commit to rishabhmadan19/llvm-project that referenced this pull request Feb 9, 2026
OpenCL spec relaxed half-precision divide to 1 ULP and sqrt to 1.5 ULP
in KhronosGroup/OpenCL-Docs#1293
KhronosGroup/OpenCL-Docs#1386
This can enable target to use hardware rcp instruction for half.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ULP requirements for fp16 square root sqrt

3 participants