gpu.js icon indicating copy to clipboard operation
gpu.js copied to clipboard

nativeFunctions parameter on createKernel not respected

Open lasergyro opened this issue 6 years ago • 0 comments

picture a confused cat

What is wrong?

There is a parameter in createKernel that allows adding native functions. It fails to function.

Where does it happen?

https://observablehq.com/d/a8a46a5bcd80da51@259

How do we replicate the issue?

See above.

How important is this (1-5)?

2? It makes it so that kernels that depend on native functions need to have their logic split: the native functions must be place before any call to createKernel on the same gpu object.

Expected behavior (i.e. solution)

Either remove the option (from the github page too) or make it work.

lasergyro avatar Jan 10 '20 20:01 lasergyro