CUDA D3D11 interop: register typeless resources

Hi,

I need to register a D3D11 texture resoure to CUDA to write into it.
In case the resource is of a typless data format, I’m getting an error.

Is there any way to get CUDA interop working together with typless resoures? If not, what is the fastest way get something working? I thought about just copying the resource to someting with a strongly typed data format…

Thanks a lot!
Sebastian

I have the exact same problem at the moment. I want to write to a Unity RenderTexture object, but it is created typeless, so I can’t perform cudaGraphicsD3D11RegisterResource with it. Any help would be appreciated!