CUDA D3D11 interop: register typeless resources


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!