Skip to content
This repository has been archived by the owner on Jan 28, 2024. It is now read-only.

An OpenCL runtime with a built-in simulator for testing

License

Notifications You must be signed in to change notification settings

opencl-go/simulator-runtime

Repository files navigation

Simulator runtime

This is an OpenCL runtime implementation that adheres to the ICD loader specification as per cl_khr_icd.

The intention is to provide a simulator that can be used during testing of the wrapper libraries.

This is work in progress

The repository is archived and unmaintained. Please see Maintenance Notice for further details.

Build and install

You need to build the runtime library and register it as a potential vendor runtime.

Prerequisites

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

Linux

cd cmd/opencl-go-sim-rt
go build -buildmode c-shared .
mkdir --parents /etc/OpenCL/vendors
# as root:
echo "(path-to-so)/opencl-go-sim-rt" > /etc/OpenCL/vendors/opencl-go-simulator.icd

References

License

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

About

An OpenCL runtime with a built-in simulator for testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published