dawn.destroy
function destroy(): voidCleanup and destroy the GPU instance.
Should be called before process exit to clean up native resources. After calling destroy(), the GPU instance cannot be reused.
Examples
import { destroy } from '@torchjsorg/dawn';
// ... use GPU ...
destroy();