-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial implementation of float16 support #11180
base: master
Are you sure you want to change the base?
Conversation
…eschnett/gdal into eschnett/float16-implementation
# Conflicts: # autotest/cpp/test_gdal.cpp # gcore/gdal_misc.cpp # gcore/gdal_priv_templates.hpp # gcore/gdalrasterband.cpp
I think this error https://github.com/OSGeo/gdal/actions/runs/11652629851/job/32444055840?pr=11180 is a false positive. Is there a way to disable the error? |
yes, looks also like a FP to me. Perhaps try to modify gdalmultim.cpp line 1705-1706 to be something like:
but CSA might be smart enough to not be confused by that trick. |
I tried something similar but without the |
if too complicated, you may also add a "#if !defined(CSA_BUILD)" protection (with a code comment explaining why it is needed). This macro is set specifically for this build, so won't hurt production builds |
I checked that using Ubuntu 24.04 (instead of 22.04) for this test does not report an error for |
Avoid false positives in cpl_float.h.
@rouault The error for Ubuntu 24.04 looks ephemeral. Can you restart that CI build? |
I gave a local try at this pull request, both with a compiler that supports Float16 and one that doesn't, and managed to convert from/to Zarr Float16. Great job ! https://gdal.org/en/latest/user/raster_data_model.html#raster-band will need to be edited to mention Float16. The RFC text in #10146 may (didn't check closely) need a few adjustments to reflect the implementation. Once we're happy with the RFC text, we should proceed to make the GDAL PSC adopt it. |
I updated the documentation and the RFC. |
cool, when ready, you may respond to your gdal-dev mailing list thread of June 6th with a title like "Call for discussion on RFC 100: Adding Float16 support to GDAL" to draw more attention on it, and ask for last comments before putting it to vote. Note: I've doumented our RFC process in https://gdal.org/en/latest/development/rfc_process.html |
The GDAL project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 28 days and is being automatically marked as "stale". If you think this pull request should be merged, please check
|
While we hate to see this happen, this PR has been automatically closed because it has not had any activity in the last 6 weeks. If this pull request should be reconsidered, please follow the guidelines in the previous comment and reopen this pull request. Or, if you have any further questions, just ask! We love to help, and if there's anything the GDAL project can do to help push this PR forward please let us know how we can assist. |
This continues #10342. Most problems should now be remedied.