How to get a device pointer to the backbuffer of a DX 9 Surface

I’ve got a Cuda kernel that synthesizes an image. I want to copy that image into the backbuffer of a DirectX 9 Surface, more specifically an IDirect3DSurface9. All the examples I’ve been able to find relate to interacting with a Texture. Is there a way to get a device pointer to the byte array of the Surface’s backbuffer? I would then be able to use this pointer as the destination for my synthesized image.

Thanks for any advice you can provide.