Harsh K
Harsh K
> Is it possible to run a calculation in the kernel and let a number (nonce) bump it up by 1 on every thread, for example. Thread 1 calculates something...
You can use just a 2D array with `.setOutput(100 or 1000 or whatever)` and then there will just be `this.thread.x`. You can `return` the hash. The output will have an...
For operators that are not supported, you might have to implement them yourself using other ones.
What is SHA256 and where is it defined?
NOTE: string outputs are not supported at all. Nor are strings supported inside kernels.
External JS functions cannot be used on the GPU :(
> Could you guys add me onto discord?! So we can create a group and figure this out together?! Appeljuice#0420 All of us can talk on gitter if you don't...
GPU.js transpiles javascript into GLSL(a much lower level language) under the hood. This compiled code is then run on the GPU. And it is a compiled language, in fact, it...
I don't think this is possible in the browser. The hardware part is mostly handled by the browser.
It's taking longer because you are defining the array in each call. If the array is a constant, the array is actually faster.