5 ms·
Honest question, something I don't understand, if you use DirectStorage to move images directly to the GPU (I assume into the VRAM) where the decoding take plac
by yonisto 8mo ago
Honest question, something I don't understand, if you use DirectStorage to move images directly to the GPU (I assume into the VRAM) where the decoding take place? directly on the GPU? Can GPU decode PNG? it is very unfriendly format for GPU as far as I know
- PufPufPuf 8mo agoFrom the readme: > Note: DirectStorage isn't avaliable for images yet (as far as I know), but I've made sure to accomodate such a thing in the future with this format. So the whole DirectStorage thing is just a nothingburger. The author glosses over the fact that decoding images on GPU is not possible (or at least very impractical).
- zigzag312 8mo agoIt seems that at least JPEG can be decoded on the GPU [1] [2] [1] https://docs.nvidia.com/cuda/nvjpeg/index.html https://docs.nvidia.com/cuda/nvjpeg/index.html [2] https://github.com/CESNET/GPUJPEG https://github.com/CESNET/GPUJPEG
- fc417fc802 8mo agoThe entire thing makes no sense. How many images per second do you need to decode here? How big is the archive even? It would be one thing if you were designing a format to optimize feeding data to an ML model during training but that's not even remotely what this is supposed to be.
- yonisto 8mo agoThe note was added after I posted the question. It really didn't make any sense to me