Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/DerelictOrg/DerelictCL
Dynamic bindings to the OpenCL library for the D Programming Language.
https://github.com/DerelictOrg/DerelictCL
Last synced: 10 minutes ago
JSON representation
Dynamic bindings to the OpenCL library for the D Programming Language.
- Host: GitHub
- URL: https://github.com/DerelictOrg/DerelictCL
- Owner: DerelictOrg
- License: bsl-1.0
- Created: 2014-12-08T14:55:00.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-10-30T20:11:43.000Z (about 5 years ago)
- Last Synced: 2024-08-04T01:06:02.201Z (4 months ago)
- Language: D
- Size: 146 KB
- Stars: 7
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE_1_0.txt
Awesome Lists containing this project
- awesome-d - DerelictCL - Dynamic bindings to the OpenCL library for the D Programming Language. (Parallel computing / XML)
README
DerelictOpenCL
==============A dynamic binding to [OpenCL](http://www.khronos.org/opencl/) for the D Programming Language.
Please see the pages [Building and Linking Derelict](http://derelictorg.github.io/compiling.html) and [Using Derelict](http://derelictorg.github.io/using.html), or information on how to build DerelictCL and load the OpenCL library at run time. In the meantime, here's some sample code.
```D
import derelict.opencl.cl;void main() {
// Load the OpenCL library.
DerelictCL.load();// Query platforms and devices
...// Reload the OpenCL library.
DerelictCL.reload();// Load OpenCL official extensions.
DerelictCL.loadEXT();// Now OpenCL functions can be called.
...
}
```