Skip to content

DPC++ daily 2022-08-29

Pre-release
Pre-release

Choose a tag to compare

@bb-sycl bb-sycl released this 29 Aug 16:22
· 147421 commits to sycl since this release
6636103
[ESIMD] Fix saturation argument of DPAS (#6647)

* [ESIMD] Fix saturation argument of DPAS

The template argument for saturation was declared/used such a way
that any type could be passed to it, which would cause enforcement of
saturation when not intended.
In even worse scenarios the DPAS call with 3 simd arguments was
recognized as DPAS with 2 simd arguments + saturation argument:
dpas(src0,src1,src2) was treated as dpas(src1,src2,sat),
which caused totally incorrect behavior at runtime.

Also, this patch fixes the incorrect detection of ops_per_channel for
tfloat32 type on HOST.

Signed-off-by: Vyacheslav N Klochkov <[email protected]>