Skip to content

Implement `repmat()`

Ryan Curtin requested to merge rcurtin/bandicoot-code:repmat into unstable

I implemented repmat(), which operates the same way as Armadillo. This branch depends on !28 (merged), so the diff will not make sense until that is merged. I'll merge this a couple of days after !28 (merged) is merged unless there are any comments.

I needed to add a simple repmat kernel for both OpenCL and CUDA. I used TEMPLATE_TEST_CASE() for the tests like @zoq suggested, it's pretty nice---I'll have to adapt the other tests at some point.

Merge request reports