~/talk

GPU.JS - GPU Accelerated JavaScript

Talkat JSConf.Asia 2016 · 2016-11-25..11-26· [javascript, web-performance]
links:none on file
links:none on file
slides:none on file

Library claims to run JavaScript on the GPU in the browser by compiling a subset of JS into WebGL fragment shaders and packing arrays into textures. Built in a 24‑hour hackathon, it ends up using compiles JS to WebGL shaders, uses float textures and square textures and an SPMD kernel model. Benchmarks show 18× on GTX 1080 and 87× on iPhone 7 for large matrix and ray‑tracing workloads. Limitations include reduced floating‑point accuracy, branch divergence, a JS subset, watchdog timeouts, and hardware quirks.

AI-written summary · about

  1. 0:00Intro
  2. 0:33Fazli Sapuan
  3. 1:07Eugene Cheah Pico Creator
  4. 1:47The Story Behind GPU.JS
  5. 2:20And it was a Nintendo fun start
  6. 3:22Literally under 24 hours
  7. 4:10Lesson learnt?
  8. 7:05All in one convenient API package
  9. 8:07Technology Overview
  10. 10:22Compiling to GLSL
  11. 11:46Turning our inputs into textures
  12. 14:19Writing our output
  13. 15:43Running the Program
  14. 16:20The Magic in 3 Sentences
  15. 18:30Caveats (cont'd...)
  16. 18:51SPMD Computation Model
  17. 19:25Example: Matrix Multiplication
  18. 22:55Demo: Ray Tracer
  19. 23:28Real-Time Ray Tracing
  20. 24:56Summary
  21. 25:54Interested to find out more?
  22. 26:44Extra: Join Hack&Roll 2017 (students only)
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.