arrayfire-js icon indicating copy to clipboard operation
arrayfire-js copied to clipboard

Interoperability with OpenCL

Open UniqueFool opened this issue 8 years ago • 2 comments

Regarding arrayfire's OpenCL interoperability, is that currently exposed in any shape or form via the JavaScript bindings?

The real question being how to integrate/use an existing OpenCL kernel ?

Thank you

UniqueFool avatar May 31 '16 14:05 UniqueFool

Unfortunately it's not supported. I have plan to integrate AF.js with my NOOOCL module though, but that's just a plan right now.

unbornchikken avatar May 31 '16 14:05 unbornchikken

So, basically, what would be needed is a way to specify the name, signature and return type of the kernel, so that the corresponding host/device buffers can be allocated to exchange data with the OpenCL kernel, right ?

If so, what is missing in terms of APIs to expose this functionality to JavaScript ?

thank you

UniqueFool avatar May 31 '16 14:05 UniqueFool