ocl
ocl copied to clipboard
OpenCL for Rust
There are a few minor issues in `cl_h.rs`, they are: - line 735 `clGetDeviceAndHostTimer`: `device_timestamp` and `host_timestamp` should be mutable pointers. - line 744 `clGetHostTimer`: `host_timestamp` should be a mutable...
guard against potential panic within user-provided `into()`. `ManuallyDrop` is a zero-cost wrapper, so hopefully there shouldn't be a performance overhead due to the fix. Fixes #194 Thank you for reviewing...
Hello :crab: , we (Rust group @sslab-gatech) found a memory-safety/soundness issue in this crate while scanning Rust code on crates.io for potential vulnerabilities. ## Issue Description We found 2 cases...
Khronos announced the release of the [finalized OpenCL 3.0 specifications](https://www.khronos.org/blog/opencl-3.0-specification-finalized-and-initial-khronos-open-source-opencl-sdk-released) in September 2020. The `cl-sys` FFI bindings support OpenCL 2.0 and 2.1 as features, but not OpenCL 2.2 and 3.0....
Currently PRs [cannot be built on Travis CI](https://travis-ci.org/cogciprocate/ocl/jobs/606107323) due to: ```console $ sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install intel-opencl ocl-icd-opencl-dev Reading package lists... Building dependency tree... Reading state...
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) ```rust // Clone the builder: let mut builder_clone = builder.clone(); ``` However, this code does...
I'm facing the issue that concurrent access of the available OpenCL devices fails. While one call gets the correct device, a parallel call gets shown no devices at all. If...
First of all, thank you for this exceptional crate! I have a usability nitpick though. The error type does not implement the error trait, and hence makes it harder to...
Currently SpatialDims::from(n: isize) would assert n > 0. This would disallow a 0 sized offset, and was only for isize, not for any other type. I changed this to call...
My code: https://gist.github.com/Mr-Andersen/497df5036a1fcc5b2e5de9a9c73a1dbb In line 59 of main.rs, if you replace `&event` with `event`, you don't get any compile errors, but in runtime program fails with CL_INVALID_EVENT_WAIT_LIST.