by boulos · 6y ago · 0 comments
The Vulkan Compute attitude towards device memory deeply confuses me. That is, for both OpenCL and Vulkan Compute, there is no way to say (AFAICT / at least a couple years ago): "I wish to allocate X amount of memory on this device, do not spill to the host; fail if you cannot satisfy". For most programs, it's probably a fine assumption, just like virtual memory for a regular program. But in a world where you're trying to push a system to the limit, you'd still like to say "No, I'm serious".
Raph: What's your take on the ergonomics of using Vulkan Compute? I'd hoped to see more on that given your opening of:
> Vulkan might be a viable platform, for a sufficiently persistent implementor.
I can't speak to your memory allocation question, as I'm personally quite happy with the default behavior.