We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The wgpu device sharing example shows a possible way to integrate a wgpu device with other programs.
However if R::client(&shared_device) is called there is a panic:
R::client(&shared_device)
unreachable!("Cannot select an adapter for an existing device.")
(from crates/cubecl-wgpu/src/runtime.rs request_adapter)
crates/cubecl-wgpu/src/runtime.rs
As such there isn't a nice way (or any way?) to get a compute client.
Locally I modified crates/cubecl-wgpu/src/runtime.rs in init_device to return the compute client it creates, but a proper fix would be nice.
init_device
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The wgpu device sharing example shows a possible way to integrate a wgpu device with other programs.
However if
R::client(&shared_device)
is called there is a panic:(from
crates/cubecl-wgpu/src/runtime.rs
request_adapter)As such there isn't a nice way (or any way?) to get a compute client.
Locally I modified
crates/cubecl-wgpu/src/runtime.rs
ininit_device
to return the compute client it creates, but a proper fix would be nice.The text was updated successfully, but these errors were encountered: