We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2134a30 commit b2e669dCopy full SHA for b2e669d
sycl/doc/extensions/Bf16Conversion/SYCL_INTEL_bf16_conversion.asciidoc
@@ -137,6 +137,7 @@ public:
137
138
// Convert from float to bfloat16
139
bfloat16(const float &a);
140
+ bfloat16 &operator=(const float &a);
141
142
// Convert from bfloat16 to float
143
operator float() const;
@@ -195,6 +196,9 @@ Table 1. Member functions of `bfloat16` class.
195
196
| `bfloat16(const float& a);`
197
| Construct `bfloat16` from `float`. Converts `float` to `bfloat16`.
198
199
+| `bfloat16 &operator=(const float &a);`
200
+| Replace the value with `a` converted to `bfloat16`
201
+
202
| `operator float() const;`
203
| Return `bfloat16` value converted to `float`.
204
0 commit comments