From 9887d962d92377cc56c5f9c52badde58e68cbe80 Mon Sep 17 00:00:00 2001 From: Kai Yu Chen Date: Thu, 8 Apr 2021 18:42:39 -0700 Subject: [PATCH] [SYCL][ESIMD] Update ESIMD docs to address recent user comments: - Remove restriction on constant specialization - Add support for shift operators --- sycl/doc/extensions/ExplicitSIMD/README.md | 1 - sycl/doc/extensions/ExplicitSIMD/dpcpp-explicit-simd.md | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sycl/doc/extensions/ExplicitSIMD/README.md b/sycl/doc/extensions/ExplicitSIMD/README.md index 8b96c8413f5aa..d3babe84a4696 100644 --- a/sycl/doc/extensions/ExplicitSIMD/README.md +++ b/sycl/doc/extensions/ExplicitSIMD/README.md @@ -86,7 +86,6 @@ program behavior if violated. ##### Unsupported standard SYCL APIs: - Local accessors - Most of image APIs -- Specialization constants - Memory access through a raw pointer returned by `sycl::accessor::get_pointer()` ##### Other restrictions: diff --git a/sycl/doc/extensions/ExplicitSIMD/dpcpp-explicit-simd.md b/sycl/doc/extensions/ExplicitSIMD/dpcpp-explicit-simd.md index 03e75a42e8e72..9487d45cc4e33 100644 --- a/sycl/doc/extensions/ExplicitSIMD/dpcpp-explicit-simd.md +++ b/sycl/doc/extensions/ExplicitSIMD/dpcpp-explicit-simd.md @@ -113,8 +113,8 @@ standard subscript operator ```[]```, which returns by value. For simd type object, Explicit SIMD supports the following simd vector operations: - Unary operators: ++ (*pre-/post-increment*), -- (*pre-/post-decrement*) -- Binary operators: +, -, *, /, &, |, ^ -- Compound assignments: +=, -=, *=, /=, &=, |=, ^= +- Binary operators: +, -, *, /, &, |, ^, <<, >> +- Compound assignments: +=, -=, *=, /=, &=, |=, ^=, <<=, >>= - Compare operators: >, >=, <, <=, ==, != These are all element-wise operations, which apply a specified operation to the