| 500 | typename Scalar = typename internal::traits<MatIn>::Scalar, |
| 501 | int InFlags = internal::traits<MatIn>::Flags, int OutFlags = internal::traits<MatOut>::Flags> |
| 502 | __global__ void InverseKernelWithDet(dim3 virtual_size, const MatIn expr, MatOut matOut, DetOut detOut) //TODO |
| 503 | { |
| 504 | typedef DeviceMatrix<Scalar, Dims, InFlags> Min; |
| 505 | typedef DeviceMatrix<Scalar, Dims, OutFlags> Mout; |
| 506 | CUMAT_KERNEL_1D_LOOP(index, virtual_size) |
| 507 | Min in = loadMat<Dims, MatIn, Scalar>(expr, index); |
| 508 | Scalar det; |
| 509 | Mout out = InverseFunctor<Scalar, Dims, Min, Mout >::run(in, det); |
| 510 | storeMat(matOut, out, index); |
| 511 | detOut.setRawCoeff(index, det); |
| 512 | CUMAT_KERNEL_1D_LOOP_END |
| 513 | } |
| 514 | } |
| 515 | } |
| 516 |
nothing calls this directly
no test coverage detected