/cl30

OpenCL 3.0 wrapper for Go

Primary LanguageGoMIT LicenseMIT

Go wrapper library for OpenCL 3.0

Go version of Go module GoDoc reference GoReportCard License OpenCL 3.0 Maintenance

This library provides a complete wrapper for the OpenCL 3.0 API. If you require a different API level, refer to the opencl-go project to see which versions are available.

This wrapper is not in a state to provide useful functionality and contains potential invalid memory access. The repository is archived and unmaintained. Please see Maintenance Notice for further details.

Usage

To build and work with this library, you need an OpenCL SDK installed on your system. Refer to the documentation on opencl-go on how to do this.

The API requires knowledge of the OpenCL API. While the wrapper hides some low-level C-API details, there is still heavy use of unsafe.Pointer and the potential for memory access-violations if used wrong.

License

This project is based on the MIT License. See LICENSE file.

The API documentation is, in part, based on the official asciidoctor source files from https://github.com/KhronosGroup/OpenCL-Docs, licensed under the Creative Commons Attribution 4.0 International License; see https://creativecommons.org/licenses/by/4.0/ .