You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL][ESIMD] Lower global volatile stores to vstores (#9088)
According to the VC team, all stores to volatile globals need to be
vstores for correctness. Sometimes clang implicitly inserts stores, and
if this happens, we need to lower to vstores.
With that, we no longer need the commit() function, so remove it and
update related doc. It never made it onto a compiler release, so we
should be able to remove it with no deprecation.
The function ext::intel::experimental::esimd::simd::commit() was turned into NO-OP and deprecated.
---------
Signed-off-by: Sarnie, Nick <[email protected]>
store <16 x float> %1, <16 x float>* getelementptrinbounds (%"class.sycl::_V1::ext::intel::esimd::simd", %"class.sycl::_V1::ext::intel::esimd::simd"* @va, i640, i320, i320)
store <16 x float> %1, <16 x float>* getelementptrinbounds (%"class.sycl::_V1::ext::intel::esimd::simd", %"class.sycl::_V1::ext::intel::esimd::simd"* @vb, i640, i320, i320)
Copy file name to clipboardExpand all lines: sycl/doc/extensions/experimental/sycl_ext_intel_esimd/sycl_ext_intel_esimd.md
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -819,7 +819,6 @@ The parameter and the return type in the ABI form will be `<8 x float>`.
819
819
Inline assembly is supported with ESIMD classes `simd`, `simd_mask` and `simd_view`. `simd_view` only supports read operations.
820
820
In order the access the raw underlying vector required for inline assembly, the `data` function can be used for read-only access and
821
821
the `data_ref` function can be used for write access. The `data_ref` function only exists for `simd` and `simd_mask`, and should only be used in inline assembly.
822
-
If the `simd` or `simd_mask` object is a private global variable, the `commit` function must be called after any write in inline assembly.
0 commit comments