Skip to content

c11_atomics: cleanup after cl_ext_float_atomics series - #2816

Open
shajder wants to merge 2 commits into
KhronosGroup:mainfrom
shajder:float_atomics_cleanup
Open

shajder wants to merge 2 commits into
KhronosGroup:mainfrom
shajder:float_atomics_cleanup

Conversation

@shajder

@shajder shajder commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Related to #2142

Cleanup corrections:
-replaced manual is_same with is_host_fp_v
-unified other HOST_HALF type conditions
-removed unnecessary is_host_atomic_fp_v
-removed duplications and dead code

Fixes:
-CBasicTestFetchMinSpecialFloats: CL_FP_INF_NAN checked against gDoubleAtomicCaps instead of gDoubleFPConfig
-CBasicTestFetchSub: VerifyRefs applied to float only instead of all fp types
-uninitialized programLine read in host-only debug mode
-half values printed as raw bits in error logs

-replaced manual is_same with is_host_fp_v
-unified other HOST_HALF type conditions
-removed unnecessary is_host_atomic_fp_v
-removed duplications and dead code
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.

1 participant