Gpu.js Versions Save

GPU Accelerated JavaScript

2.5.0

4 years ago
  • Upgrade loop variable declaration so we cast integers based off how a variable is used (like using ++) , and not where. Partial fix for #560
  • Handle ternary voids in webgl. Partial fix for #560
  • Document private functions
  • Remove warnVarUsage, and embrace the var
  • Documentation contributions

2.4.8

4 years ago
  • Fix #552
  • Better memory handling for texture.toArray() for framebuffers

2.4.7

4 years ago

2.4.6

4 years ago
  • Fix original kernel being lost internally, and the texture output for getting the right value.

2.4.5

4 years ago

Fix function() {} syntax for when using GPU.getMinifySafeName()

2.4.3

4 years ago

Fix #556 & tests and ensure OffscreenCanvas gets GPU.

2.4.2

4 years ago

2.4.1

4 years ago

2.4.0

4 years ago

You now have to manage memory from kernel outputs that use pipeline so it can be much more efficient. This is done with the following:

const result = kernel();

// when you no longer need the result...
result.delete();

2.3.1

4 years ago