Chlorine: Dead Simple GPGPU
github.com
Chlorine: Dead Simple GPGPU
1–10 of 13 posts
Re: Chlorine: Dead Simple GPGPU
#2Re: Chlorine: Dead Simple GPGPU
#3"Header only" but needs CMake?
Re: Chlorine: Dead Simple GPGPU
#4"Header only" but needs CMake?
Re: Chlorine: Dead Simple GPGPU
#5Holy crap. The "kernel" code is basically the same, but the native API setup code (which that tutorial even calls "boiler plate") is insane, starting with the fact that the source code for the CL on-device program has to be passed as a string. There is no API to pass a filename--only a string containing the entire program source!
Re: Chlorine: Dead Simple GPGPU
#6Re: Chlorine: Dead Simple GPGPU
#7I haven't used OpenCL before. This library seemed sort of reasonable but I had some questions about whether it was really that much better than the native OpenCL API. So I found an OpenCL "hello world" program here: http://developer.amd.com/tools-and-sdks/opencl-zone/opencl-r... Holy crap. The "kernel" code is basically the same, but the native API setup code (which that tutorial even calls "boiler plate") is insane,…
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.
Re: Chlorine: Dead Simple GPGPU
#8I haven't used OpenCL before. This library seemed sort of reasonable but I had some questions about whether it was really that much better than the native OpenCL API. So I found an OpenCL "hello world" program here: http://developer.amd.com/tools-and-sdks/opencl-zone/opencl-r... Holy crap. The "kernel" code is basically the same, but the native API setup code (which that tutorial even calls "boiler plate") is insane,…
Re: Chlorine: Dead Simple GPGPU
#9I haven't used OpenCL before. This library seemed sort of reasonable but I had some questions about whether it was really that much better than the native OpenCL API. So I found an OpenCL "hello world" program here: http://developer.amd.com/tools-and-sdks/opencl-zone/opencl-r... Holy crap. The "kernel" code is basically the same, but the native API setup code (which that tutorial even calls "boiler plate") is insane,…
OpenCL bootstrap sure is complex, but there are many possible configurations. I think this library is too simple right now. As soon as you need to optimize host code, you need to rewrite it with default API. On the other hand, I'd love to use this, if there were more options available.
>I'd love to use this, if there were more options available.
Did you have anything specific in mind? I'd be happy to add features.
Re: Chlorine: Dead Simple GPGPU
#10This looks really interesting and extremely useful for a program of mine. Has anyone tried this in OS X?