Native Heterogeneous Computing for D
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
This project is a set of libraries designed to work with a modified ldc to enable native execution of D on GPUs (and other more exotic target of OpenCL, hereafter just 'GPUs').
There are three main parts
- A standard library 'std' containing standard functionality for targetting GPUs.
- A driver library to handle all the compute API interactions and provide a friendly easy-to-use consistent interface. Of course you can always get down to a lower level of interaction if you need to.
- A set of standard kernels to cover a large number of use cases and serve as documentation on how (and how not) to use this library.
To build DCompute you will need a modified ldc available here. In addition you will need Khronos's SPIRV-LLVM (available here) (use the spirv-3.8 branch) as well as a dmd compatible d compiler and cmake for building ldc.
Please see the wiki.
Find out what khronos's clang mangles the OpenCL builtins' names to so that we can use the correct ones.
Get D versions of the OpenCL and CUDA APIs so that work can begin on a unified D driver API.
- Registered by Ilia Ki
- 0.0.0-alpha0 released 7 years ago
- Copyright © 2016, Nicholas Wilson
- derelict-cl, derelict-cuda
0.1.0 2017-Oct-15 0.0.0-alpha0 2016-Sep-20 ~master 2022-Mar-01 ~thewilsonator-patch-3 2018-Apr-09 ~thewilsonator-patch-2 2018-Feb-13
- Download Stats:
2 downloads today
4 downloads this week
7 downloads this month
305 downloads total
- Short URL: