Skip to content
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

VITIS-12792 HIP Binding: Memory pool APIs #8268

Open
wants to merge 76 commits into
base: master
Choose a base branch
from

Conversation

zhangchiming
Copy link
Collaborator

Problem solved by the commit
add initial implementation of hip stream ordered memory allocator.

How problem was solved, alternative solutions (if any) and why they were rejected
N/A

Risks (if any) associated the changes in the commit
None. Code will only be built with switch "-hip".

What has been tested and how, request additional testing if necessary
Compiled and tested on Ubuntu 22.04 (running on Ryzen 7840).

Documentation impact (if any)
None.

zhangchiming and others added 30 commits June 5, 2024 20:48
Signed-off-by: Chiming Zhang <[email protected]>
Signed-off-by: Chiming Zhang <[email protected]>
Signed-off-by: Chiming Zhang <[email protected]>
Signed-off-by: Chiming Zhang <[email protected]>
Signed-off-by: Chiming Zhang <[email protected]>
Signed-off-by: Chiming Zhang <[email protected]>
Signed-off-by: Chiming Zhang <[email protected]>
Signed-off-by: Chiming Zhang <[email protected]>
Signed-off-by: Chiming Zhang <[email protected]>
2) avoid crash from getting hip mem object from null pointer
3) allow setting 0 for kernel arguments

Signed-off-by: Chiming Zhang <[email protected]>
Signed-off-by: Chiming Zhang <[email protected]>
Signed-off-by: Chiming Zhang <[email protected]>
Signed-off-by: Chiming Zhang <[email protected]>
Signed-off-by: Chiming Zhang <[email protected]>
@zhangchiming
Copy link
Collaborator Author

retest this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants