-
Notifications
You must be signed in to change notification settings - Fork 113
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
Add USM shared and device memory to unit testing #388
Closed
SergeyKopienko
wants to merge
102
commits into
main
from
dev/skopienko/add_unit_testing_for_USM_(malloc_device)
Closed
Add USM shared and device memory to unit testing #388
SergeyKopienko
wants to merge
102
commits into
main
from
dev/skopienko/add_unit_testing_for_USM_(malloc_device)
Conversation
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
SergeyKopienko
force-pushed
the
dev/skopienko/add_unit_testing_for_USM_(malloc_device)
branch
2 times, most recently
from
October 21, 2021 11:18
4b450aa
to
bdb9c16
Compare
SergeyKopienko
requested review from
rarutyun,
MikeDvorskiy,
AlexVeprev and
akukanov
October 21, 2021 12:04
SergeyKopienko
force-pushed
the
dev/skopienko/add_unit_testing_for_USM_(malloc_device)
branch
from
October 22, 2021 06:29
39a3553
to
bd43651
Compare
MikeDvorskiy
requested changes
Oct 22, 2021
SergeyKopienko
force-pushed
the
dev/skopienko/add_unit_testing_for_USM_(malloc_device)
branch
6 times, most recently
from
October 26, 2021 11:05
0f3a139
to
e5a45ef
Compare
…quired functions overrigings
…eed request an special access via get_access SYCL functions.
… for directly enum value pass
…x error in shift_left_right.pass.cpp
…he function parameter.
…pying overhead: "device->host->device"
…tor as the function parameter."
SergeyKopienko
force-pushed
the
dev/skopienko/add_unit_testing_for_USM_(malloc_device)
branch
3 times, most recently
from
December 1, 2021 15:13
0836d8f
to
b9da87f
Compare
…for USM device-allocated memory
…for USM device-allocated memory - fix error in refresh_usm_from_host_pointer prototypes
…und.pass, asynch.pass, exclusive_scan_by_segment.pass, inclusive_scan_by_segment.pass
SergeyKopienko
force-pushed
the
dev/skopienko/add_unit_testing_for_USM_(malloc_device)
branch
from
December 1, 2021 16:27
b9da87f
to
b98e683
Compare
SergeyKopienko
deleted the
dev/skopienko/add_unit_testing_for_USM_(malloc_device)
branch
March 16, 2022 10:57
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added USM shared and device memory to unit testing:
int32_t
main()
{
#if TEST_DPCPP_BACKEND_PRESENT
// Run tests for USM shared memory
test_buffers<sycl::usm::alloc::shared>();
// Run tests for USM device memory
test_buffers<sycl::usm::alloc::device>();
#endif
return done(TEST_DPCPP_BACKEND_PRESENT);
}