www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - DCompute v0.1.0 supporting OpenCL 2.1+ and CUDA

reply Nicholas Wilson <iamthewilsonator hotmail.com> writes:
I am very pleased to announce the first proper release of 
DCompute, a framework for heterogeneous computing for D. It wraps 
the OpenCL and CUDA runtimes to run compute kernels for 
computationally intensive workloads.

https://github.com/libmir/dcompute/releases/tag/v0.1.0

Thanks to all who helped make this happen.

Mike, want me to do another blog post about this and the CUDA 
support?

P.S: can those who answer foundation dlang.org please tell me 
what you think of my plan to advance the development and exposure 
of DCompute?
Oct 14
next sibling parent reply Ilya Yaroshenko <ilyayaroshenko gmail.com> writes:
On Sunday, 15 October 2017 at 05:57:35 UTC, Nicholas Wilson wrote:
 I am very pleased to announce the first proper release of 
 DCompute, a framework for heterogeneous computing for D. It 
 wraps the OpenCL and CUDA runtimes to run compute kernels for 
 computationally intensive workloads.

 https://github.com/libmir/dcompute/releases/tag/v0.1.0

 Thanks to all who helped make this happen.

 Mike, want me to do another blog post about this and the CUDA 
 support?

 P.S: can those who answer foundation dlang.org please tell me 
 what you think of my plan to advance the development and 
 exposure of DCompute?
Nicholas, could you please create an example with mir.ndslice and mir.math.common? --Ilya
Oct 14
parent Nicholas Wilson <iamthewilsonator hotmail.com> writes:
On Sunday, 15 October 2017 at 06:58:19 UTC, Ilya Yaroshenko wrote:
 On Sunday, 15 October 2017 at 05:57:35 UTC, Nicholas Wilson 
 wrote:
 I am very pleased to announce the first proper release of 
 DCompute, a framework for heterogeneous computing for D. It 
 wraps the OpenCL and CUDA runtimes to run compute kernels for 
 computationally intensive workloads.

 https://github.com/libmir/dcompute/releases/tag/v0.1.0

 Thanks to all who helped make this happen.

 Mike, want me to do another blog post about this and the CUDA 
 support?

 P.S: can those who answer foundation dlang.org please tell me 
 what you think of my plan to advance the development and 
 exposure of DCompute?
Nicholas, could you please create an example with mir.ndslice and mir.math.common? --Ilya
using ndslice should be no problem, mir.math.common will not work for OpenCL as is because the SPIR-V backend does not use the LLVM intrinsics. Instead I have to do things like https://github.com/libmir/dcompute/blob/master/source/dcompute/std/opencl/index.d#L17 to get the functions correct. Hopefully that will be resolved when I get the backend merged into LLVM, but that won't happen until (hopefully shortly) after IWOCL in mid may. In the mean time I need to create a dispatcher similar to https://github.com/libmir/dcompute/blob/master/source/dcompute/std/index.d with `__dcompute_reflect` all over the place to get things to work.
Oct 15
prev sibling parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 10/14/2017 10:57 PM, Nicholas Wilson wrote:
 I am very pleased to announce the first proper release of DCompute, a
framework 
 for heterogeneous computing for D. It wraps the OpenCL and CUDA runtimes to
run 
 compute kernels for computationally intensive workloads.
 
 https://github.com/libmir/dcompute/releases/tag/v0.1.0
 
 Thanks to all who helped make this happen.
This is great work! Thank you!
 P.S: can those who answer foundation dlang.org please tell me what you think
of 
 my plan to advance the development and exposure of DCompute?
I don't seem to have received that. Can you send it to my regular email address, please?
Oct 18
parent Nicholas Wilson <iamthewilsonator hotmail.com> writes:
On Wednesday, 18 October 2017 at 09:21:29 UTC, Walter Bright 
wrote:
 On 10/14/2017 10:57 PM, Nicholas Wilson wrote:
 I am very pleased to announce the first proper release of 
 DCompute, a framework for heterogeneous computing for D. It 
 wraps the OpenCL and CUDA runtimes to run compute kernels for 
 computationally intensive workloads.
 
 https://github.com/libmir/dcompute/releases/tag/v0.1.0
 
 Thanks to all who helped make this happen.
This is great work! Thank you!
 P.S: can those who answer foundation dlang.org please tell me 
 what you think of my plan to advance the development and 
 exposure of DCompute?
I don't seem to have received that. Can you send it to my regular email address, please?
Its fine, Andrei replied. The plan is to present at IWOCL but I'm sure he'll fill you in on the details.
Oct 18