bear with me.
Accessing GPU memory? By that I mean, creating a dump/image of whatever is going on in a GPU.
I understand that we can get RAM and its info from following sources(for linux):
1. /dev/crash
2. /proc/kcore
3. /dev/mem
4. /proc/iomem
I am just trying to find something similar for GPUs. Dedicated GPUs have their own memory, so there should be a device file or something to access them, right? Or at least, that's what I was thinking about.
probably depends on the card and or what driver you're using.. I think. I know at least with cuda, it specifically exposes an api to let you map and read memory. Dunno about outside of cuda though. Interesting question for sure.
Thanks! I couldn't think outside device files. WIll look into cuda api 🙂
Обсуждают сегодня