Sampling MSAA from DirectX 11

Hello,

How I can sample from MSAA Texture in DirectX 11 or Directx 12 ?

2x, 4x, 8x

I am trying to move some kernels from directx hlsl to cuda to debug them more closely and also to use the tools for profiling.

I could not find any examples for this.

Regards