Remix.run Logo
throwaway2027 10 hours ago

Didn't DirectX add an API for loading assets directly to GPU memory? Would that work?

someguy2026 10 hours ago | parent [-]

My impression is that that is limited to assets and really needs to fit into the DirectX framework. From what I can tell, the gpu-nvme-direct is mostly similar to https://github.com/enfiskutensykkel/ssd-gpu-dma and https://github.com/ZaidQureshi/bam

xaskasdf 6 hours ago | parent [-]

Actually this idea was fueled by those since I went to check if there was anything near to what I wanted to achieve, pretty useful tho

jonassm 20 minutes ago | parent [-]

nvmlib/ssd-gpu-dma and BaM (based on the same code base) are pretty cool as they allow you to initiate disk reads/writes directly from a CUDA kernel (so not only reading/writing directly to GPU memory but also allowing the GPU to initiate IO on its own). Sometimes called GPU-initiated I/O or accelerator-initiated I/O.