Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use explicit multi_ptr in vec store (#343)
* SYCL-BLAS breaks with SYCL-2020 because the vec store function no longer implicity converts a raw pointer to a multi_ptr. * This is due to a new decoration template parameter in SYCL-2020. * This PR: * Converts raw pointers to multi_ptr for use with vec.store * Is compatible with SYCL-1.2.1 * Is compatible with SYCL-2020 implementations that set the default multi_ptr decoration parameter value to "legacy". * This is not defined in the spec, but a common implementation detail since it helps SYCL-1.2.1 backwards compatibility. * Tested with DPC++ nightly 2022/10/17 (SYCL-2020 multi_ptr, does not compile before this change), and DPC++ nightly 2022/06/25 (SYCL-1.2.1 style multi_ptr).
- Loading branch information
Showing
5 changed files
with
22 additions
and
11 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
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