Memory Measurements

45 views
Skip to first unread message

Joyos

unread,
Apr 13, 2023, 7:34:46 AM4/13/23
to Dawn Graphics
Hi all,
I would like to measure the VRAM usage in my WebGPU application. How do I go about doing this, if at all possible?

Thank you in advance!

Corentin Wallez

unread,
Apr 13, 2023, 7:37:03 AM4/13/23
to Joyos, Dawn Graphics
Hey Joyos,

There isn't a way to measure the VRAM usage with the WebGPU API, for a variety of reasons ranging from non-portability, to fingerprinting, to not having a clear way to do this on some underlying APIs. Depending on the OS you could do it manually in different ways (for example the Windows task manager has something) or estimate the memory usage based on the resources that you create.

Hope this helps,

Corentin

--
You received this message because you are subscribed to the Google Groups "Dawn Graphics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dawn-graphic...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dawn-graphics/dd31007c-9859-4da8-9921-609429ac4884n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages