- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page