-
Notifications
You must be signed in to change notification settings - Fork 745
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL] Fix weak_object on Windows (#7642)
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 <steffen.larsen@intel.com>
- Loading branch information
1 parent
441bffe
commit 9297f63
Showing
4 changed files
with
63 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters