Mostly just code cleanups for CUDA handling, but should fix resource leaks for D3D12/Vulkan that use mipmappedArray. M92 era branch used to handle calling cuMipmappedArrayDestroy
Can't be sure if this alone fixes all the leaks I've seen, as I'm still using custom frame pooling, scheduling and vulkan changes on my branch, but have to start from somewhere.
Mostly just code cleanups for CUDA handling, but should fix resource leaks for D3D12/Vulkan that use mipmappedArray. M92 era branch used to handle calling cuMipmappedArrayDestroy
Can't be sure if this alone fixes all the leaks I've seen, as I'm still using custom frame pooling, scheduling and vulkan changes on my branch, but have to start from somewhere.