Re:Harlan, new Lispy language for GPU programming
by octo_t on Monday July 01, 2013 @01:08PM
(#5972001)
>> embedding C-as-a-string in more C
Um. OpenCL/Cuda look absolutely nothing like that.
Re:Harlan, new Lispy language for GPU programming
by _pmf_ on Tuesday July 02, 2013 @01:38AM
(#5976038)
>> embedding C-as-a-string in more C
>Um. OpenCL/Cuda look absolutely nothing like that.
Absolutely right. You can also include an external C file from C++ [1]; that makes it so much prettier.
[1] http://developer.amd.com/tools-and-sdks/heterogeneous-comput...
...though I am concerned that abstracting this stuff too much makes it less obvious how to optimize for the GPU. This may be a language for people that already have a solid grasp on GPU programming.