How feasible to wrap Nvidia Toolkit for CUDA Programming

David d at dav1d.de
Thu Aug 16 15:45:48 PDT 2012


Am 17.08.2012 00:20, schrieb TJB:
> D Masters,
>
> I'm not a hardware guy at all, but I find myself needing to process a
> lot of data through some Monte Carlo statistical algorithms.  I am
> considering general purpose GPU computing for this task.  My question is
> how feasible will it be to wrap the Nvidia cuBLAS and cuRAND libraries
> for this purpose?  They are written in C, so is it pretty straight forward?
>
> I do not have in mind running D code directly on the GPU cores, but
> having D call out to C code to do so.  Is it possible? Feasible?  Are
> there already codes to do this somewhere?
>
> Thanks for your insights!
>
> TJB

There is a OpenCL Wrapper written in D: https://github.com/Trass3r/cl4d


More information about the Digitalmars-d mailing list