News for hackers. Stuff that matters.
Re:Chlorine: Dead Simple GPGPU by bainsfather on Sunday December 20, 2015 @04:23AM (#10766564)
"There is no API to pass a filename"

Use:

convertToString(filename, sourceStr);

and pass sourceStr.

You are right about how much boilerplate there is - though you can hide it a bit with helper fns and a few macros.

There are no comments on this comment yet.