itun
itun

Reputation: 3521

OpenCL libraries and bindings

Does anybody know any libraries of CL-procedures (it will be better if there is a good documentation)?

And Im also interested in D-languages binding.

Has somebody seen benchmarks that compares performance of native code applications with OpenCL and/or OpenGL and performance of Java Binding? I know that DLL calls cause of performance decline. Does an application written on C/C++ will be anyway faster than the same on Java?

Upvotes: 2

Views: 256

Answers (2)

Trass3r
Trass3r

Reputation: 6287

As Jakob already said, my D wrapper is @ https://github.com/Trass3r/cl4d

With inlining, -version=NO_CL_EXCEPTIONS and proper dead code elimination the code should be nearly equivalent to a manually coded app using the C API directly.

So the wrapper introduces almost no overhead, performance depends on your kernels and clever memory transport.

Upvotes: 2

Peter Lawrey
Peter Lawrey

Reputation: 533790

How about JavaCL which works for me ?

As far as I have seen the cost of binding is fairly small compared to other overheads such as compiling the CL code and exchanging data with the GPU.

Upvotes: 1

Related Questions