Full set of template parameters in spmv and residual specifications for subdomain_deflation