Skip to content

Commit b2e669d

Browse files
authored
Update SYCL_INTEL_bf16_conversion.asciidoc
1 parent 2134a30 commit b2e669d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sycl/doc/extensions/Bf16Conversion/SYCL_INTEL_bf16_conversion.asciidoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ public:
137137
138138
// Convert from float to bfloat16
139139
bfloat16(const float &a);
140+
bfloat16 &operator=(const float &a);
140141
141142
// Convert from bfloat16 to float
142143
operator float() const;
@@ -195,6 +196,9 @@ Table 1. Member functions of `bfloat16` class.
195196
| `bfloat16(const float& a);`
196197
| Construct `bfloat16` from `float`. Converts `float` to `bfloat16`.
197198

199+
| `bfloat16 &operator=(const float &a);`
200+
| Replace the value with `a` converted to `bfloat16`
201+
198202
| `operator float() const;`
199203
| Return `bfloat16` value converted to `float`.
200204

0 commit comments

Comments
 (0)