Skip to content

Queues creation should be supported for all available SYCL devices #311

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

Closed
diptorupd opened this issue Mar 6, 2021 · 3 comments
Closed

Comments

@diptorupd
Copy link
Contributor

It should be possible to create queues for all types of SYCL devices including cuda and host

This was referenced Mar 6, 2021
@oleksandr-pavlyk
Copy link
Contributor

This has been implemented:

(idp) [14:18:33 ansatnuc04 dpctl]$ SYCL_ENABLE_HOST_DEVICE=1 python -c "import dpctl; print(dpctl.__version__); print(dpctl.SyclDevice('host:0'))"
0.8.0a0+22.gb3dac2f
<dpctl.SyclDevice [backend_type.host, device_type.host_device,  SYCL host device] at 0x7f347c203170>

@oleksandr-pavlyk
Copy link
Contributor

Same with queue:

(idp) [14:18:48 ansatnuc04 dpctl]$ SYCL_ENABLE_HOST_DEVICE=1 python -c "import dpctl; print(dpctl.__version__); print(dpctl.SyclQueue('host:0'))"
0.8.0a0+22.gb3dac2f
<dpctl.SyclQueue at 0x7f959251e550>

@diptorupd
Copy link
Contributor Author

The feature works as long as the proper DPC++ tool chain is installed. Refer getting started guide.

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 a pull request may close this issue.

2 participants