Context Switch

Is a context switch between D3D11 Computer Shaders and the D3D11 graphics pipeline cheaper than a context switch between CUDA and D3D11/OpenGL graphics pipeline?