(no title)
SeasonalEnnui | 1 month ago
There doesn't seem to be a communication mechanism that has minimal memcopy or no serialization/deserialization, the security boundary makes this difficult.
I have a backend array of 10M i16 points, I want to get this into the frontend (with scale & offset data provided via side channel to the compute shader).
As it stands, I currently process on the backend and send the frontend a bitmap or simplified SVG. I'm curious to know about the opposite approach.
olau|1 month ago
SeasonalEnnui|1 month ago
dapperdrake|1 month ago
rustystump|1 month ago
For this, compression/quantize numbers and then pass that directly to the gpu after it comes off the network. Have a compute shader on the gpu decompress before writing to a frame buffer. This is what high performance lidar streaming renderers do as lidar data is packed efficiently for transport.
shunia_huang|1 month ago
fulafel|1 month ago
But minimizing copying or avoiding format conversions doesn't necessarily get you best performance of course.
SeasonalEnnui|1 month ago
lmeyerov|1 month ago