arrayfire / arrayfire-js

ArrayFire.js - ArrayFire for Node.js
BSD 3-Clause "New" or "Revised" License
119 stars 11 forks source link

Interoperability with OpenCL #11

Open UniqueFool opened 8 years ago

UniqueFool commented 8 years ago

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

unbornchikken commented 8 years ago

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.

UniqueFool commented 8 years ago

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