NOTE: This project is currently under heavy development, we advise you to use the version 0.3.x onwards for your project dependencies. Thank you for your support!
Library that contains OpenCL FFI headers.
This library is intended to support future version of OpenCL while maintaining long term support for Rust.
By Long Term Support, we commit to fix bugs and to actively maintain proper functionality of this library over the years. We also plan to create several milestones for this project to have sustainable development over long period of time.
This library is intended to provide these features alongside of traditional ones.
- Compatible with latest OpenCL version (OpenCL 3.0)
- Lightweight Headers
- Periodic Bug Fix Management
- Optimizations for High Performance
- Ease of Use and Simplicity
- Types and Functions Safety
This library can be installed in two ways.
- Precompiled library files (for major platforms), you can download those from the release section of this repository.
- Build it yourself (needs cargo installed obviously), instructions are simple:
cargo build --releaseand to test the functions on your platform:
There are 3 types of release lifecycle associated with this project, described as below:
- Major releases
x.0.0supports the version jump from Khronos OpenCL. Before updating to these versions, be sure to review changelog first.
- Minor release
0.x.0integrates new library features or Khronos OpenCL Header updates. Generally these changes are safe and are non-disruptive to previous releases.
- LTS releases
0.0.xsupports critical bug fix and patches and are safe to update to these versions without second thought.
Project is Apache-2.0 licensed, please read
LICENSE file to know more about the license.
/* * Copyright 2020-2021 Naman Bishnoi * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */
CREDITS.md file for heartiest thanks and acknowledgement to other awesome developers out there.
The OpenCL and the OpenCL logo are the registered trademark of Apple Inc.