From: Tobias Burnus <Tobias_Burnus@mentor.com>
To: Toon Moene <toon@moene.org>, <cglwdm@scu.edu.cn>
Cc: <fortran@gcc.gnu.org>
Subject: Re: Fwd: gfortran fp16
Date: Mon, 16 May 2022 12:50:33 +0200 [thread overview]
Message-ID: <82eabaad-a325-d061-023c-dc97e31b6e5f@mentor.com> (raw)
In-Reply-To: <114670e5-0fc5-a52b-5b10-627ee7c6e92d@moene.org>
On 16.05.22 09:51, Toon Moene wrote:
> Interesting question. We don't do that yet, as far as I know.
> -------- Forwarded Message --------
> From: 陈刚 <cglwdm@scu.edu.cn>
>
> I want to use fp16 in fortran, does gfortran support the fp16?
I think adding fp16 to the compiler itself is not that difficult – it is
"just" handling 'HF' mode via 'REAL(kind=2)'; this can be done rather
quickly.
@陈刚: If you want to volunteer to add it (know someone who does), I can
give some pointers.*
Additionally support in the libgfortran run-time library should be added
and some testcases written to ensure it works. – I think that is also a
smaller task, but has to be done in addition.
Tobias
*See https://gcc.gnu.org/contribute.html for a starter – but if
interested, I will give explicit hints what needs to be changed how.
-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955
next prev parent reply other threads:[~2022-05-16 10:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <13b127cf.c856.180cb531986.Coremail.cglwdm@scu.edu.cn>
2022-05-16 7:51 ` Toon Moene
2022-05-16 10:50 ` Tobias Burnus [this message]
2022-05-17 10:09 ` Thomas König
2022-05-17 10:26 ` Tobias Burnus
2022-05-17 18:33 ` James Cloos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=82eabaad-a325-d061-023c-dc97e31b6e5f@mentor.com \
--to=tobias_burnus@mentor.com \
--cc=cglwdm@scu.edu.cn \
--cc=fortran@gcc.gnu.org \
--cc=toon@moene.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).