derelict-cl ~master
A dynamic binding to the OpenCL library.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
DerelictOpenCL
A dynamic binding to OpenCL for the D Programming Language.
Please see the pages Building and Linking Derelict and Using Derelict, or information on how to build DerelictCL and load the OpenCL library at run time. In the meantime, here's some sample code.
import derelict.opencl.cl;
void main() {
// Load the OpenCL library.
DerelictCL.load();
// Query platforms and devices
...
// Reload the OpenCL library.
DerelictCL.reload(<chosen_version>);
// Load OpenCL official extensions.
DerelictCL.loadEXT(<chosen_platform>);
// Now OpenCL functions can be called.
...
}
- Registered by ponce
- ~master released 5 years ago
- DerelictOrg/DerelictCL
- github.com/DerelictOrg/DerelictCL
- Boost
- Authors:
- Dependencies:
- derelict-util
- Versions:
-
3.2.0 2017-Oct-09 3.1.0 2017-Jun-08 3.0.0 2017-Feb-24 2.0.0 2015-May-24 1.2.3 2015-May-24 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
1 downloads this month
-
1938 downloads total
-
- Score:
- 1.7
- Short URL:
- derelict-cl.dub.pm