~/talk

Java and GPU … are we nearly there yet?

Talkat JVM Language Summit 2023 · 2023-08-07..08-09· [java, web-performance]
links:none on file
slides:none on file

Argues that combining Code Reflection with the Panama FFM lets Java generate GPU kernels, pack C99-style layouts as Panama segments, and auto-infer task graphs so vendors can build NDRange-style runtimes on top. Demonstrates a hard-cascade face detector that processes ~2 million scaled windows, 130 million half-features and 271 million area ops; Java parallel stream runs at ~522 ms, sequential ~3.5 s, GPU back end runs the image in ~53 ms — a working, order-of-magnitude speedup.

AI-written summary · about

  1. 0:00Start
  2. 4:46Why? Performance!
  3. 11:10Java GPGPU Programming Models
  4. 27:55Consider multiple kernels with data dependencies
  5. 31:13Panama FFM API MemorySegments as GPGPU Parameters
  6. 38:43Demo: Viola Jones Detection Performance
~/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.