Skip to main content

set_gpu_wait_timeout

Function set_gpu_wait_timeout 

Source
pub fn set_gpu_wait_timeout(timeout: Duration)
Expand description

Sets how long the platform interop helpers wait on GPU work before failing with a timeout.

Defaults to 30 seconds. A helper whose work did not finish in time leaks its GPU objects rather than freeing memory the device may still use.