Skip to content

Repository files navigation

Experimenting General Purpose GPU.

Specifically, we find the min and the max amongst a (sub-)array of floats.

npm install
npm run sandbox

Example output:

GPU: { min: 0.020119018852710724, max: 999.996337890625 } computed in 11.805 ms
CPU: { min: 0.020119018852710724, max: 999.996337890625 } computed in 18.534 ms

About

Experimenting webgl2

Resources

Stars

Watchers

Forks

Contributors

Languages