www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DCompute development

reply Nicholas Wilson <iamthewilsonator hotmail.com> writes:
Hi all,

Now that I've (finally) finished my honours thesis, I've got time 
to start working on dcompute again. I'd like to invite anyone 
interested in helping to develop and/or document (or just 
interested in general) the drivers for OpenCL/CUDA, the device 
standard library and other stuff. Please post here or on the MIR 
gitter (https://gitter.im/libmir/public) if you would like to 
contribute.

Misc stuff that needs doing:
* Derelict packages for recent OpenCL/CUDA.
derelict-cl currently supports up to 1.2 (latest is 2.1/2.2 
released May),
derelict-cuda currently supports 6.5 (latest is 8.0 released 
September 2016)

* LDC/LLVM releases that support SPIR-V. I've got OSX covered, 
Windows/Linux would be nice to have. Docker containers etc.

Exposing the OpenCL and CUDA instrinsics as part of the device 
standard library. Also any other common functionality not covered 
by the intrinsics.

The main work of dcompute will be developing the drivers for 
OpenCL and CUDA, automating the horrible APIs with the power of 
D's meta-programming. And of course building libraries of 
kernels, which is the fun part.

I will continue to develop the necessary LDC features required, 
if anyone would like to contribute to that effort I can give you 
some directions but the compiler suff is a fair bit more 
complicated.

 Mike Parker, what kind of things do you want me to write for the 
blog?

P.S: Thanks so much for Vibe, Sönke! Being able to use D made the 
writing if the server for my thesis so much less painful.
Jul 05 2017
next sibling parent reply =?UTF-8?B?THXDrXM=?= Marques <luis luismarques.eu> writes:
On Wednesday, 5 July 2017 at 09:41:40 UTC, Nicholas Wilson wrote:
 Now that I've (finally) finished my honours thesis, I've got 
 time to start working on dcompute again. I'd like to invite 
 anyone interested in helping to develop and/or document (or 
 just interested in general) the drivers for OpenCL/CUDA, the 
 device standard library and other stuff. Please post here or on 
 the MIR gitter (https://gitter.im/libmir/public) if you would 
 like to contribute.
I would like to contribute. Is it possible to provide some small chunked tasks to begin with? I have limited time and attention span right now, so that would help a lot.
Jul 05 2017
parent reply Nicholas Wilson <iamthewilsonator hotmail.com> writes:
On Wednesday, 5 July 2017 at 18:48:57 UTC, Luís Marques wrote:
 On Wednesday, 5 July 2017 at 09:41:40 UTC, Nicholas Wilson 
 wrote:
 Now that I've (finally) finished my honours thesis, I've got 
 time to start working on dcompute again. I'd like to invite 
 anyone interested in helping to develop and/or document (or 
 just interested in general) the drivers for OpenCL/CUDA, the 
 device standard library and other stuff. Please post here or 
 on the MIR gitter (https://gitter.im/libmir/public) if you 
 would like to contribute.
I would like to contribute. Is it possible to provide some small chunked tasks to begin with? I have limited time and attention span right now, so that would help a lot.
Thanks, I try and subdivide and further flesh out https://github.com/libmir/dcompute/projects
Jul 07 2017
parent reply kerdemdemir <kerdemdemir hotmail.com> writes:
Hi!

I would like to contribute if I can.

I am a C++ developer partially pay attention to D whenever I have 
extra time. I did some scientific open source programming with D 
"https://github.com/kerdemdemir/YINS-FFT-DLANG".
and join coding contests with D lang.

I am also very interested with CUDA and GPU since I believe in 
the future coding will not be done only in CPU. Even simple 
programs will be a hybrid of CPU and GPU. I wrote some basic 
stuff like calculating covariance in C++ with using CUBLAS and 
trust.

I am currently not very familiar neither with D nor with CUDA it 
been like 2 years I couldn't made anything since I had to finish 
my master thesis also.

I want to ask now if I can contribute somehow even I am not in a 
good shape neither with GPU nor D anymore.

Regards
Erdem
Jul 16 2017
parent Nicholas Wilson <iamthewilsonator hotmail.com> writes:
On Sunday, 16 July 2017 at 09:48:05 UTC, kerdemdemir wrote:
 Hi!

 I would like to contribute if I can.

 I am a C++ developer partially pay attention to D whenever I 
 have extra time. I did some scientific open source programming 
 with D "https://github.com/kerdemdemir/YINS-FFT-DLANG".
 and join coding contests with D lang.

 I am also very interested with CUDA and GPU since I believe in 
 the future coding will not be done only in CPU. Even simple 
 programs will be a hybrid of CPU and GPU. I wrote some basic 
 stuff like calculating covariance in C++ with using CUBLAS and 
 trust.

 I am currently not very familiar neither with D nor with CUDA 
 it been like 2 years I couldn't made anything since I had to 
 finish my master thesis also.

 I want to ask now if I can contribute somehow even I am not in 
 a good shape neither with GPU nor D anymore.

 Regards
 Erdem
Glad you're interested. If you want to take a look at https://github.com/libmir/dcompute/tree/master/source/dcompute/driver and the the OpenCL Driver and start working on something similar for CUDA that's be great. There will be an article on the D blog soon and I'm sure that a more concrete direction for the library will emerge from the discussion on the forums/Reddit/HN.
Jul 16 2017
prev sibling next sibling parent Johan Engelen <j j.nl> writes:
On Wednesday, 5 July 2017 at 09:41:40 UTC, Nicholas Wilson wrote:
 Hi all,

 Now that I've (finally) finished my honours thesis,
Grats!
 I've got time to start working on dcompute again.
Yay!
 * LDC/LLVM releases that support SPIR-V. I've got OSX covered, 
 Windows/Linux would be nice to have. Docker containers etc.
Keep pushing adding SPIR-V backend to LLVM mainline. It seemed to get some traction recently. Cheers, Johan PS. please update the SPIR-V CI build for OSX: https://github.com/ldc-developers/ldc/pull/2190
Jul 05 2017
prev sibling next sibling parent =?UTF-8?Q?S=c3=b6nke_Ludwig?= <sludwig outerproduct.org> writes:
Am 05.07.2017 um 11:41 schrieb Nicholas Wilson:
 Hi all,
 
 Now that I've (finally) finished my honours thesis, I've got time to 
 start working on dcompute again. I'd like to invite anyone interested in 
 helping to develop and/or document (or just interested in general) the 
 drivers for OpenCL/CUDA, the device standard library and other stuff. 
 Please post here or on the MIR gitter (https://gitter.im/libmir/public) 
 if you would like to contribute.
 
 (...)
 
 P.S: Thanks so much for Vibe, Sönke! Being able to use D made the 
 writing if the server for my thesis so much less painful.
You're welcome and congratulations on finishing your thesis! I'm sure I can say the same once I'll finally be ready to start using DCompute, I would have had to invest lots of work into an inferior system otherwise!
Jul 06 2017
prev sibling parent Mike Parker <aldacron gmail.com> writes:
On Wednesday, 5 July 2017 at 09:41:40 UTC, Nicholas Wilson wrote:

  Mike Parker, what kind of things do you want me to write for 
 the blog?
Anything you can expand on beyond your DConf talk. Add a link to the talk video & slides in the introductory paragraph, touch on one or two points you talked about, then expand on them. Or even branch off into info not in the talk. This helps keep the DConf talks in the public awareness (for the subset of the public we care about anyway), alerts people who haven't seen the video what it's about, and gives new information for those who already have. I'd like to get as many such posts as I can from DConf speakers between now and DConf 2018. Email me if you'd like to brainstorm.
Jul 06 2017