gzp icon indicating copy to clipboard operation
gzp copied to clipboard

GPU-Compression

Open deeprobin opened this issue 4 years ago • 2 comments
trafficstars

It might be useful when its larger than a specific size to compress the data on the graphics card if available.

deeprobin avatar Aug 15 '21 18:08 deeprobin

This would be cool! Are you aware of any existing crates for this? I haven't seen / know much about gpu based compression.

sstadick avatar Aug 15 '21 18:08 sstadick

@sstadick The advantage of compression on the GPU would be that it is probably easier to parallelize the compression here than on a CPU. It is important to pay attention to the GPU overhead and therefore it only makes sense to outsource the compression to the GPU from a certain input size. One possibility would be to exclude the standard library using #![no_std] and compile the code on the NVIDIA target. In my opinion, the optimal solution would be to use OpenCL (e.g. using ocl, opencl3 or others), for example.

See also:

deeprobin avatar Aug 17 '21 19:08 deeprobin