WebGPU applications have access to GPU memory and compute units. A WebGPU implementation may limit the available GPU memory to an application, in order to keep other applications responsive. For GPU processing time, a WebGPU implementation may set up “watchdog” timer that makes sure an application doesn’t cause GPU unresponsiveness for more than a few seconds. These measures are similar to those used in WebGL.
WebGPU应用程序可以访问显存和GPU计算单元。WebGPU实现可能会将可用GPU内存限制在应用程序上,以保持其他应用程序的响应性。对于GPU处理时间,WebGPU实现可能会设置”看门狗”计时器,以确保应用程序不会导致GPU不响应超过几秒钟。这些措施与WebGL中使用的措施类似。