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

Share OpenCL context across OpenCLBackends #16

Open
marty1885 opened this issue Jun 3, 2019 · 0 comments
Open

Share OpenCL context across OpenCLBackends #16

marty1885 opened this issue Jun 3, 2019 · 0 comments
Labels
OpenCL About the OpenCL backend optimization make stuff faster!

Comments

@marty1885
Copy link
Member

Now each OpenCLBackend owns their own OpenCL Context. But for efficient data transfer between OpenCL devices (i.e. #15 ), all devices mush share the same context. Context sharing is done by manually initializing a context and initialize backends using said context. An automatic way should be implemented.

@marty1885 marty1885 added OpenCL About the OpenCL backend optimization make stuff faster! labels Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OpenCL About the OpenCL backend optimization make stuff faster!
Projects
None yet
Development

No branches or pull requests

1 participant