Skip to content

Conversation

kbobrovs
Copy link
Contributor

@kbobrovs kbobrovs commented Mar 10, 2022

  • import libcxx/include/experimental/simd into sycl/include/std/experimental/simd.hpp
    and adapt for invoke_simd, so that it can be compiled with SYCL programs. This is
    temporary solution until std::simd is supported by the C++ compiler implementations -
    MSVC, clang. invoke_simd specification is defined in terms of std::simd and
    std::simd_mask classes.
    Changes to the original file are marked with the ENABLE_SYCL_EXT_ONEAPI_INVOKE_SIMD
    macro.

  • Add sanity/compilation test. More will come with invoke_simd implementation.

This patch isolates and updates the std::experimental::simd part of #3945

Signed-off-by: Konstantin S Bobrovsky konstantin.s.bobrovsky@intel.com

…simd.

- import libcxx/include/experimental/simd into sycl/include/std/experimental/simd.hpp
and adapt for invoke_simd, so that it can be compiled with SYCL programs. This is
temporary solution until std::simd is supported by the C++ compiler implementations -
MSVC, clang. invoke_simd specification is defined in terms of std::simd and
std::simd_mask classes.
Changes to the original file are marked with the ENABLE_SYCL_EXT_ONEAPI_INVOKE_SIMD
macro.

- Add sanity/compilation test. More will come with invoke_simd implementation.

Signed-off-by: Konstantin S Bobrovsky <konstantin.s.bobrovsky@intel.com>
@kbobrovs kbobrovs requested a review from a team as a code owner March 10, 2022 03:48
@kbobrovs kbobrovs changed the title [ESIMD] Import and adapt libcxx/include/experimental/simd for invoke_… [ESIMD] Import+adapt libcxx/include/experimental/simd for invoke_simd Mar 10, 2022
@kbobrovs
Copy link
Contributor Author

All test failures are unrelated:


Timed Out Tests (9):
SYCL :: KernelAndProgram/multiple-kernel-linking.cpp
SYCL :: Plugin/level_zero_batch_test.cpp
SYCL :: Plugin/level_zero_batch_test_copy_with_compute.cpp
SYCL :: Plugin/level_zero_dynamic_batch_test.cpp
SYCL :: Plugin/level_zero_queue_create.cpp
SYCL :: Plugin/retain_events.cpp
SYCL :: Printf/char.cpp
SYCL :: Printf/float.cpp
SYCL :: USM/copy.cpp


Failed Tests (1):
SYCL :: Plugin/level_zero_batch_event_status.cpp

@kbobrovs
Copy link
Contributor Author

@rolandschulz, @smaslov-intel, @intel/llvm-reviewers-runtime - friendly ping

@vladimirlaz vladimirlaz merged commit 155cf0c into intel:sycl Mar 17, 2022
@kbobrovs kbobrovs deleted the std_simd branch May 4, 2022 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants