VL.Nvidia.CUDA

A package that makes it possible to run CUDA code on Nvidia cards in vvvv gamma. For now, only buffer sorting is implemented. It is part of the Gaussian splatting implementation for vvvv gamma:

The help patch is still my development test patch. If someone has an idea for a better one, please post a patch here. It would be super helpful…

Based on CUDA 12.8, so dont forget to update your GPU driver!

Let me know if the package runs as is (besides updating the drivers). I wasn’t sure what to include to make it portable without Nvidia installers.

8 Likes

That might come in handy when you need to sort particles with alpha by depth, thanks

1 Like

Data doesn’t seem to be sorted?
The index buffer isn’t changed. I’m running 572.70, is there a cuda download as well, or is it included?

I think you need to install CUDA sdk first.

1 Like

This should not be necessary, let me know what kind or error you see in the console. The 3GB CUDA toolkit install should only be needed by developers who write CUDA code and need to compile it.

I think I needed the cudart64_12.dll, but I have now changed it to statically link it and it should not have this dependency anymore, please try again with the new nuget >= 0.1.0-beta1.

1 Like

That works! Thanks, is there any way to work with fuse structured buffers? What is the TextureFXGraph node for?

Yes, you just need to make a float, int, or unsigned int buffer with the value you want to sort, aka the sort key.

Then use the ReorderBuffer node to reorder the original buffer, if you need that. Or use the former indices directly in the Fuse draw node.

@texone integrated that in the Gaussian Splatting patch. Have a look there for details.

Oh, that’s just a leftover from the package I used as template. Ignore.

1 Like

Hey, will the source be public at some point?

Didn’t realise he had updated the splatting patch, wonderful! I have quite a lot of splats to play with :)

1 Like