Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


From 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).


It seems that at least JPEG can be decoded on the GPU [1] [2]

[1] https://docs.nvidia.com/cuda/nvjpeg/index.html

[2] https://github.com/CESNET/GPUJPEG


The 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.


The note was added after I posted the question. It really didn't make any sense to me




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: