Yes, eventually such codes will break (if they use the non-Ex D3D9 objects), on some future driver. The issue is not really with cudaGraphicsD3D9RegisterResource, but with the type of underlying objects, which must be migrated forward to equivalent IDirect3D9Ex types.
This question (and answer) may be of interest, by way of example: