bugGNU Octave - Bugs: bug #65046, half type (16-bit floating point)...

 
 

bug #65046: half type (16-bit floating point) support

Submitter:  Jinchuan Tang <jinchuantang>
Submitted:  Tue 19 Dec 2023 03:13:43 AM UTC
   
 
Category:  Octave Function Severity:  1 - Wish
Priority:  2 Item Group:  Feature Request
Status:  None Assigned to:  None
Originator Name:  Jinchuan Tang Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 19 Dec 2023 06:00:29 PM UTC, comment #1: 

I would say this is a pretty low priority for Octave Developers.  The principal benefit is memory savings, but memory is really cheap these days (I just checked Amazon and 8 GB DIMM module is approximately $30).  The memory savings are only likely to be apparent in systems with explicit hardware support for this type such as FPGAs or ARM processors.  That is pretty esoteric and not something that most Octave users, with Intel or AMD CPUs, are going to see.  So, the benefits aren't that high, but the developer time would be substantial.  All of the basic mathematical functions (abs(), sin(), etc.) would need to be extended to accept another input type besides single, double, and the integer types.  It can be done, just a lot of work.

Rik <rik5>
Group administrator
Tue 19 Dec 2023 03:13:43 AM UTC, original submission:  

Dear Octave team,
I am just wondering if there is a plan to implement the half type for Octave. This has appeared in MATLAB since 2018b with support for various functions.
https://www.mathworks.com/help/fixedpoint/ref/half.html

Thank you very much!
I do have a plan for the OpenCL GPU implementation with Octave-ocl. But for the Octave side, I am not quite familiar with how it works.

Jinchuan Tang

Jinchuan Tang <jinchuantang>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by jinchuantang (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-12-19 rik5 Priority3 - Low 2
        Summaryhalf type support half type (16-bit floating point) support
    2023-12-19 jwe Severity3 - Normal 1 - Wish
        Priority5 - Normal 3 - Low
        Item GroupMatlab Compatibility Feature Request

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code