-
Notifications
You must be signed in to change notification settings - Fork 30
Feature/memory zero copy #152
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
Merged
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
0714fee
Memory class exposes __sycl_usm_array_interface__
oleksandr-pavlyk 906d77b
added memory.py to expose dpclt.memory module
oleksandr-pavlyk dfc0ac8
Pickling should preserve type of Python object
oleksandr-pavlyk eaf8574
Added comment, fixed black madness
oleksandr-pavlyk 63b9b07
Added DPPLaligned_alloc_* functions to backend
oleksandr-pavlyk ec742a0
MemoryUSM* classes have have alignment option
oleksandr-pavlyk 5df0bf6
Added DPPLQueue_Prefetch and DPPLQueue_MemAdvise
oleksandr-pavlyk e46f6ff
Implemented SyclQueue.prefetch, SyclQueue.mem_advise
oleksandr-pavlyk 5a2bcf4
use numpy buffer as intermediary in copy_via_host routine
oleksandr-pavlyk 242eb3a
added DPPLUSM_GetPointerDevice
oleksandr-pavlyk cebc064
Introduced tests/test_sycl_usm_interface.cpp
oleksandr-pavlyk 2f6a01c
implemented cdef Memory.get_pointer_device
oleksandr-pavlyk 9dbe493
Merge remote-tracking branch 'origin/master' into feature/memory-zero…
oleksandr-pavlyk ce554ac
Special case of zero-copy from another Memory object
oleksandr-pavlyk f3d1899
Implements #120
oleksandr-pavlyk f977746
corrected __dppl_take -> __dppl_keep in Memcpy
oleksandr-pavlyk 5479b54
spacing fixed
oleksandr-pavlyk b7ab952
Added DPPLQueueMgr_GetQueueFromContextAndDevice to backend
oleksandr-pavlyk e9a9633
Exposed SyclQueue staticmethod to construct from context & dev.
oleksandr-pavlyk 51fc1e6
Get buffer function now raises exception trying to access device pointer
oleksandr-pavlyk a4b5b1f
Fixed black
oleksandr-pavlyk fc5a4ed
Zero copy constructors check USM kind.
oleksandr-pavlyk 153631f
cleaned trailing whitespace
oleksandr-pavlyk 8367c6b
removed black trailing zero
oleksandr-pavlyk a95d2f2
tabs to spaces to address formatting concerns in PR
oleksandr-pavlyk 59b078b
added doxygen @params
oleksandr-pavlyk 7007eb9
untabified tabs to spaces
oleksandr-pavlyk 34dfadf
fixed grammar, added note that allocation return nullptr on failure
oleksandr-pavlyk 5bb48f2
formatting to stay within 80 chars
oleksandr-pavlyk 3951ee6
added missing _Delete
oleksandr-pavlyk e73c817
deleted obsolete FIXME comment, added explanation for what the code does
oleksandr-pavlyk 7b41388
formatting change
oleksandr-pavlyk efe65c4
Fixed syntax error in test_sycl_usm_interface.h
oleksandr-pavlyk 1b3c7e4
fixed reference to filename in comment headers
oleksandr-pavlyk 50e8503
Fixed a lapse in validation logic of `__sycl_usm_array_interface__``.
oleksandr-pavlyk 3b06ba8
Renamed Memory class to _Memor yto reflect that it is not intended fo…
oleksandr-pavlyk 9cd6bd8
Moved _memory.pyx, _memory.pxd to dpctl.memory submodule
oleksandr-pavlyk 1da34fc
formatting changes per review
oleksandr-pavlyk 8f634ec
Delete context in common_test_body
oleksandr-pavlyk ca6dcfb
formating: func (args) -> func(args)
oleksandr-pavlyk 62dcdd2
added MemoryUSM* work to changelog
oleksandr-pavlyk 692cb41
changes for CI's black to lighten up
oleksandr-pavlyk a7d6356
skip test_sycl_usm_array_interface for Host memory on windows
oleksandr-pavlyk a7ba748
with black around, forecast is overcast
oleksandr-pavlyk c5a31f5
Adjusted path in bld.bat
oleksandr-pavlyk 948a67b
filled in description for @param CRef in doxygen comments for GetPoin…
oleksandr-pavlyk e654c1f
Work on build_for_develop.bat to bring it on par with Linux shell script
oleksandr-pavlyk b7fdc53
fixed type in GTEST_INCLUDE
oleksandr-pavlyk a05327d
further changes to build_for_devel.bat - fixed typo
oleksandr-pavlyk 6d7375e
fixed dpcpp compilation warning on Windows
oleksandr-pavlyk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.