Skip to content

Different types of result and temporary data in __result_and_scratch_storage #2259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

SergeyKopienko
Copy link
Contributor

@SergeyKopienko SergeyKopienko commented May 13, 2025

In this PR we implements the ability to have different types of result and temporary data in result and scratch storage.
Also all std::shared_ptr has been replaced by std::unique_ptr.
__result_and_scratch_storage has been refactored and implemented on pimpl-implementation.

@SergeyKopienko SergeyKopienko added this to the 2022.10.0 milestone May 13, 2025
@SergeyKopienko SergeyKopienko force-pushed the dev/skopienko/refactoring_of_result_and_scratch_storage branch 6 times, most recently from ff742d8 to 2fea5f1 Compare May 13, 2025 15:42
@SergeyKopienko SergeyKopienko changed the title Different types of result and temporary data in result and scratch storage Different types of result and temporary data in __result_and_scratch_storage May 13, 2025
@SergeyKopienko SergeyKopienko force-pushed the dev/skopienko/refactoring_of_result_and_scratch_storage branch from 2fea5f1 to 99a9881 Compare May 14, 2025 16:32
@SergeyKopienko SergeyKopienko force-pushed the dev/skopienko/refactoring_of_result_and_scratch_storage branch 3 times, most recently from 5acd3f9 to a2e327f Compare June 3, 2025 09:52
@SergeyKopienko SergeyKopienko force-pushed the dev/skopienko/refactoring_of_result_and_scratch_storage branch 4 times, most recently from b7cd789 to 9b9bfe6 Compare June 13, 2025 13:19
@SergeyKopienko SergeyKopienko force-pushed the dev/skopienko/refactoring_of_result_and_scratch_storage branch 4 times, most recently from dfc37db to 577a5ff Compare June 24, 2025 15:44
…hared_ptr<__result_and_scratch_storage_base>
…nique_ptr<__result_and_scratch_storage_base>
…add ability to move sycl::event into __future constructor
…extract from __result_and_scratch_storage internal implementation __result_and_scratch_storage_impl
…extract from __result_and_scratch_storage internal implementation __result_and_scratch_storage_impl - move up some internal data
…extract from __result_and_scratch_storage internal implementation __result_and_scratch_storage_impl - move __sycl_usm_alloc and __sycl_usm_free into __result_and_scratch_storage_impl and save sycl::queue& instead of instance
…extract from __result_and_scratch_storage internal implementation __result_and_scratch_storage_impl - remove __result_and_scratch_storage_data_ptr_t type
…extract from __result_and_scratch_storage internal implementation __result_and_scratch_storage_impl - pass sycl::queue by reference into result_and_scratch_storage
…introduce __create_usm_buffer and remove some duplicated code
…rename is_USM() to __has_supports_USM_device()
…remove extra else in __future::__get_data() method
…implementation if USM / Sycl buffers placement based on std::variant
…move the definition of __usm_or_buffer_accessor into __result_and_scratch_storage
@SergeyKopienko SergeyKopienko force-pushed the dev/skopienko/refactoring_of_result_and_scratch_storage branch from 577a5ff to 7b155ae Compare June 25, 2025 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant