gpu.js
gpu.js copied to clipboard
GPU Accelerated JavaScript
Error output: ``` npm error code 1 npm error path /home/pablo/gits/inference-ts/node_modules/gl npm error command failed npm error command sh -c prebuild-install || node-gyp rebuild npm error prebuild-install info begin Prebuild-install...
There is an error in the definition of the return type of kernel.getPixels Return type should be Uint8ClampedArray instead of Uint8ClampedArray[] (which would be an array of Uint8ClampedArray).
## *What* is wrong? I'm attempting to update packages to the latest as install failes for newer versions of Node (v22.8.0). However when I update all dependencies and run `yarn...
Hi GPU.js Team, I've encountered an issue with the GPU constructor in recent versions when using Chrome or Edge, where **new GPU();** throws "TypeError: GPU is not a constructor". This...
fix: correct argument index usage in assignArgumentBitRatio Previously, assignArgumentBitRatio incorrectly used the caller's argument index (i) to update the callee function's argumentBitRatios array. This could cause incorrect bit ratio assignment...
On Windows 11, node.js v20.14.0 I have a memory leak in the case of dynamic output: ``` const {GPU} = require('gpu.js'); const gpu = new GPU(); const test = gpu.createKernel(function()...
Fixes "Uncaught TypeError: GPU is not a constructor" error in HTML examples.
Hi, API documentation at https://doxdox.org/gpujs/gpu.js returns "Internal Server Error" Regards, Diego
Hey, I keep trying to pass a frame of video out from my GPU kernel, but I have been running into the fact that the kernel variables are seperate from...