CarelessCourage / TestGPU

Just a vanilla test enviroment for WebGPU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TODO:

  • Plane position
  • Plane UV
  • Plane Mutability
  • Cube
  • Multiple Planes
  • Other Shapes
  • DOM Sync
  • Proxy Objects
  • Vue Integration for Proxy Objects
  • TS Conversion
  • Scroll Hook
  • Mouse Hook
  • Image Plane
  • Video Plane
  • Bend Plane
  • Deform Gradient Plane
  • WGSL Bomber
  • Tension Shader
  • Post Processing
  • Compute Shaders
  • Frame Buffer Tools

Future Considerations:

  • Lights
  • VR
  • Models
  • Animations (gsap?)
  • Timeline (gsap?)
  • Groups
  • Many Models Performance (instanced)
  • Materials
  • Physics
  • Particles
  • Audio
  • HMR

Inspiration

Resources

Factoids

  • 24 cores is the current upper limit for CPU due to exponential heat mangagment and complexity: M2 Ultra, I9 Intel

  • RTX 4080 has 9700 cores

  • TPU (Tensor GPU) vs DPU (data CPU) vs QPU (bits vs cubits)

  • "Despite the core’s frequency, getting data from memory (or pixels from textures) still takes relatively long — Fabian says it takes a couple hundred clock cycles. These couple hundred cycles could be spent on computation instead. To make use of these otherwise idle cycles, each EU is heavily oversubscribed with work. Whenever an EU would end up idling (e.g. to wait for a value from memory), it instead switches to another work item and will only switch back once the new work item needs to wait for something. This is the key trick how GPUs optimize for throughput at the cost of latency: Individual work items will take longer as a switch to another work item might stop execution for longer than necessary, but the overall utilization is higher and results in a higher throughput. The GPU strives to always have work queued up to keep EUs busy at all times." - source

History

About

Just a vanilla test enviroment for WebGPU


Languages

Language:WGSL 40.5%Language:Vue 27.4%Language:TypeScript 26.0%Language:JavaScript 4.7%Language:CSS 1.2%Language:HTML 0.3%