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

feat: use opencl3 based rust-gpu-tools #187

Merged
merged 2 commits into from
Jul 28, 2021
Merged

feat: use opencl3 based rust-gpu-tools #187

merged 2 commits into from
Jul 28, 2021

Conversation

vmx
Copy link

@vmx vmx commented May 18, 2021

Upgrade to a version of rust-gpu-tools that is using opencl3 instead
of ocl.

The local work size is now explicitly set and not longer automatically
determined by the OpenCL implementation.

@vmx vmx changed the base branch from master to ci-improve-clippy July 5, 2021 15:40
dignifiedquire
dignifiedquire previously approved these changes Jul 6, 2021
Base automatically changed from ci-improve-clippy to master July 6, 2021 15:48
@vmx
Copy link
Author

vmx commented Jul 7, 2021

@dignifiedquire I have no idea why your approval was removed. The only change since last review is that it now points to a merged commit instead of a branch, which I think is OK until a new proper version of rust-gpu-tools is out.

@vmx
Copy link
Author

vmx commented Jul 9, 2021

I've pushed another commit. This PR now works with rust-gpu-tools current HEAD.

Upgrade to a version of rust-gpu-tools that is using `opencl3` instead
of `ocl`.

The local work size is now explicitly set and not longer automatically
determined by the OpenCL implementation.

`rust-gpu-tools` hasn't been released yet, so temporarily use a
Git dependency, which points to a merged commit that works.
rust-gpu-tools had a few breaking changes, most notable:

When creating kernels, the way the global work size has changed.
it is no longer the total number of threads, but how many groups of
local work size sized threads there are.
@vmx vmx merged commit a0304fe into master Jul 28, 2021
@vmx vmx deleted the opencl3 branch July 28, 2021 12:50
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 this pull request may close these issues.

3 participants