- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Is it possible to use the float16 or bfloat16 data types with icx compiler?
I am getting the error:
<source>:7:6: error: no type named 'float16_t' in namespace 'std'
7 | std::float16_t check_float16_conversion(std::float16_t a, std::float16_t b) {
| ~~~~~^
<source>:7:46: error: no type named 'float16_t' in namespace 'std'
7 | std::float16_t check_float16_conversion(std::float16_t a, std::float16_t b) {
| ~~~~~^
<source>:7:64: error: no type named 'float16_t' in namespace 'std'
7 | std::float16_t check_float16_conversion(std::float16_t a, std::float16_t b) {
| ~~~~~^
3 errors generated.While trying to compile with icx 2025.2.1 -std=c++23
I guess it is not supported yet, but then, how can I use float16 or bfloat16?
Lien copié
0 Réponses
Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable