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

KernelBuilder is not cloneable #190

Open
michaelmattig opened this issue Sep 11, 2020 · 0 comments
Open

KernelBuilder is not cloneable #190

michaelmattig opened this issue Sep 11, 2020 · 0 comments

Comments

@michaelmattig
Copy link

The documentation says that it should be possible to clone a KernelBuilder like this: (https://docs.rs/ocl/0.19.3/ocl/builders/struct.KernelBuilder.html#examples)

// Clone the builder:
let mut builder_clone = builder.clone();

However, this code does not compile and

the trait std::clone::Clone is not implemented for ocl::builders::KernelBuilder<'_>

Also the release notes say that this functionality was added in version 0.19.1 https://github.com/cogciprocate/ocl/blob/master/RELEASES.md#version-0191-2018-09-28

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

No branches or pull requests

1 participant