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

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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.mathw ... int/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>

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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)
  •  

    Votes

    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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

    History

    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.16-598c.
    Corresponding source code