Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/opencl-go/cl30

OpenCL 3.0 wrapper for Go
https://github.com/opencl-go/cl30

go golang opencl wrapper

Last synced: 2 months ago
JSON representation

OpenCL 3.0 wrapper for Go

Awesome Lists containing this project

README

        

# Go wrapper library for OpenCL 3.0

[![Go version of Go module](https://img.shields.io/github/go-mod/go-version/opencl-go/cl30.svg)](https://github.com/opencl-go/cl30)
[![GoDoc reference](https://img.shields.io/badge/godoc-reference-blue.svg)](https://pkg.go.dev/github.com/opencl-go/cl30)
[![GoReportCard](https://goreportcard.com/badge/github.com/opencl-go/cl30)](https://goreportcard.com/report/github.com/opencl-go/cl30)
[![License](https://img.shields.io/github/license/opencl-go/cl30.svg)](https://github.com/opencl-go/cl30/blob/main/LICENSE)
[![OpenCL 3.0](https://img.shields.io/badge/OpenCL-3.0-green.svg)][opencl-api]
![Maintenance](https://img.shields.io/maintenance/no/2024)

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][opencl-go] 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](https://github.com/opencl-go/opencl-go.github.io/discussions/25) 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][opencl-go] on how to do this.

The API requires knowledge of the [OpenCL API][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.

[opencl-api]: https://registry.khronos.org/OpenCL/sdk/3.0/docs/man/html/
[opencl-go]: https://opencl-go.github.com

## 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/ .