Hello Guest

Disable GPU timeout

  • 0 Replies
Disable GPU timeout
« on: January 31, 2023, 08:32:07 »
Hello everyone.

I have compute shaders for gpgpu-calculations that need seconds (in the future maybe minutes) to complete and I think they crash only because of a timeout problem.
I found a setting (D3D11_CREATE_DEVICE_DISABLE_GPU_TIMEOUT, see https://stackoverflow.com/questions/32632409/while-loop-in-compute-shader-is-crashing-my-video-card-driver) which should be set to allow shaders to run longer than a few seconds.
But I don't know how to set it with LWJGL, I cannot find the right import to use.
If someone already uses this, please tell me how.

Thanks in advance and best regards.