~/talk

SIMD&MPS in Swift

Talkat Let'Swift 2018 · on Tuesday, 2018-11-06· [swift]
links:none on file
slides:none on file

A small Swift renderer multiplies 3x3 matrices for rotating and projecting many cubes and compares pure-Swift math to CPU SIMD types and Metal/Metal Performance Shader options. On a test of 300 cubes with three rotations and five matrix ops per cube, the pure-Swift path measures about 50 ms → 3.5 ms when switched to SIMD — roughly a tenfold speedup. Code uses custom matrix structs converted to simd type swap and falls back to Metal for GPU work.

AI-written summary · about

  1. 0:00Introduction and platform overview
  2. 5:17SIMD basics and hardware support
  3. 10:10Vector programming fundamentals
  4. 13:103D cube demo setup
  5. 18:41Performance comparison SIMD vs naive
  6. 25:39SIMD device compatibility and adoption
  7. 27:09Metal Performance Shaders overview
  8. 30:58Real-time ray tracing with MPS
  9. 33:37Summary and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.