Skip to content

Conversation

@steffenlarsen
Copy link
Contributor

This commit makes the following fixes for weak_object and order_less for Windows:

  1. Adds the new ABI symbols.
  2. Adds the missing include for std::optional in weak_object.hpp.
  3. Fixes a problem where MSVC could not resolve createSyclObjFromImpl for accessors due to a mismatch in template argument names between the function declaration and the friend declaration.
  4. Enables empty-base optimization on accessor classes inheriting from OwnerLessBase when compiling with MSVC. This is needed as otherwise it changes the size of the corresponding classes, which would be an ABI break.

This commit makes the following fixes for weak_object and order_less for
Windows:
 1. Adds the new ABI symbols.
 2. Adds the missing include for std::optional in weak_object.hpp.
 3. Fixes a problem where MSVC could not resolve createSyclObjFromImpl
    for accessors due to a mismatch in template argument names between
    the function declaration and the friend declaration.
 4. Enables empty-base optimization on accessor classes inheriting from
    OwnerLessBase when compiling with MSVC. This is needed as otherwise
    it changes the size of the corresponding classes, which would be an
    ABI break.

Signed-off-by: Larsen, Steffen <[email protected]>
@pvchupin pvchupin merged commit 9297f63 into intel:sycl Dec 5, 2022
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