Hi Quincey,
Hi Werner (& Dimitris),
I would expect this to be a minor work, as half-precision is already supported by HDF5. Might be no more than to add it as a pre-defined type, ensuring that its binary layout is compatible with the half-type float that is used in OpenEXR and on modern GPU hardware.
Is the 'half' floating-point point keyword defined in the C99 standard? (Same with the 'quad' floating-point type)
I'm not knowledgeable in the C99 standard (sorry, mostly C++ here ), but I doubt it's there, since only GPU's implement half floats in hardware, and you can't run C99 there (as far as I know, even though CUDA might be close).
Werner
···
On Thu, 18 Feb 2010 16:44:19 +0100, Quincey Koziol <koziol@hdfgroup.org> wrote:
On Feb 17, 2010, at 3:47 PM, Werner Benger wrote:
Quincey
We'd need this in one of our near-future projects anyway, so could contribute this once it's started, but someone else might already be faster.
Werner
On Tue, 16 Feb 2010 22:47:14 +0100, Elena Pourmal <epourmal@hdfgroup.org> wrote:
We have this request in our issues database and will try to address it as time and resources permit.
We will also be happy to consider source contribution for this feature to speed-up the development.Elena
On Feb 16, 2010, at 2:18 PM, Dimitris Servis wrote:Hi Nicholas
No
2010/2/16, Nicholas Yue <yue.nicholas@gmail.com>:
Dimitris Servis wrote:
Hi again,
my next attempt with the half precision and HDF5 is to make it
possible to convert data from and to half precision but also keeping a
scale factor. Data that can normally be represented with half
precision can be up to 65504 (the maximum representable value). If the
original data is larger than that, it would make sense to keep a scale
factor or at least the order of magnitude before scaling. Any ideas on
optimal ways to do that with HDF5? Should I just extract a reasonable
order of magnitude and keep it as an attribute? I looked a bit at the
scaling filters but they seem to suffer by exactly the same problems!Will all this half precision work become part of the standard HDF5
distribution?In the past, I have asked about half precision (binary16 in IEEE
754-2008) road map for HDF5 and got the indication it may be worked on
in future so I am not sure if this is the same work.Regards
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org--
___________________________________________________________________________
Dr. Werner Benger Visualization Research
Laboratory for Creative Arts and Technology (LCAT)
Center for Computation & Technology at Louisiana State University (CCT/LSU)
211 Johnston Hall, Baton Rouge, Louisiana 70803
Tel.: +1 225 578 4809 Fax.: +1 225 578-5362_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
--
___________________________________________________________________________
Dr. Werner Benger Visualization Research
Laboratory for Creative Arts and Technology (LCAT)
Center for Computation & Technology at Louisiana State University (CCT/LSU)
211 Johnston Hall, Baton Rouge, Louisiana 70803
Tel.: +1 225 578 4809 Fax.: +1 225 578-5362