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

Implement USM support for XRT plugin #181

Open
keryell opened this issue May 13, 2022 · 3 comments
Open

Implement USM support for XRT plugin #181

keryell opened this issue May 13, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@keryell
Copy link
Member

keryell commented May 13, 2022

No description provided.

@keryell keryell added the enhancement New feature or request label May 13, 2022
@j-stephan
Copy link
Member

Soooo... any news on this? :-)

@keryell
Copy link
Member Author

keryell commented Jun 15, 2023

No, but we are thinking to it.
I think just the sycl::malloc_device could be done, perhaps sycl::malloc_host too. Do not even think about sycl::malloc_shared.
What model do you need?
@gauthier The idea would be to use a xrt::bo and just call address() member function in the XRT PI to implement sycl::malloc_device.
There are the flags bo::flags::device_only, host_only and svm.
@stsoe I hope that host_only still allows the device to use the buffer through PCIe in an Alveo U200 for example?
Probably they might need some specific attribute on the Vitis HLS kernel arguments too.

@j-stephan
Copy link
Member

Thanks for letting me know. For the beginning, malloc_{device,host} would be sufficient.

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

No branches or pull requests

3 participants