• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NVIDIA / MatX / 47382377541
94%

Build:
DEFAULT BRANCH: main
Ran 04 Dec 2026 07:18PM UTC
Jobs 1
Files 233
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Dec 2026 05:01PM UTC coverage: 93.774% (+0.06%) from 93.712%
47382377541

push

github

web-flow
Add batching to resample_poly, conv1d, and channelize_poly streams (#1315)

* Add batching to resample_poly, conv1d, and channelize_poly streams

The new overloads make_*_stream(filter, params, {B...}, exec) build
an object that turns [batch..., n] segments into [batch..., count] outputs
([batch..., blocks, num_channels] for the channelizer). All streams in
the batch share one filter, and each feed()/flush() runs a single
batched transform. Every batch extent must be positive. A segment or
output whose batch shape doesn't match throws matxInvalidSize before
any work is queued. Unbatched streams behave as before.

The batched streaming objects will typically be more efficient than looping
unbatched streaming objects for each input. For one example with 120 inputs,
the batched resampler is 2.4x faster than the unbatched resampler.

Signed-off-by: Thomas Benson <tbenson@nvidia.com>

* Split channelizer launches and count batch from leading extents

channelize_poly put the batch in grid.z, so more than 65535 batches
failed to launch and left the output unwritten without an error.
Every channelizer kernel now adds a batch offset to blockIdx.z, and
the launchers run in chunks of at most 65535 batches.
The limit checks in channelize_poly_impl and the stream constructor
are removed. This also resolves an issue where the limit checks
could throw an exception from the noexcept PreRun() call.

Add detail::BatchCount(op, inner_dims), the product of the leading
extents, and use it in those launchers, the channelizer's DFT unpack
and conv2d. BatchCount() returns index_t and it is possible for that
calculation to overflow the index_t width. However, it is more robust
than TotalSize(i) / i.Size(last) because it counts batches instead of
elements. Although we could widen the return type of BatchCount(),
many downstream uses assume that batch indices fit within the index_t
width, so we document this limit in the BatchCount() header instead.

New tests cover batch count... (continued)

234 of 239 new or added lines in 10 files covered. (97.91%)

14384 of 15339 relevant lines covered (93.77%)

16371718.23 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
97.99
-0.26% include/matx/transforms/channelize_poly.h
1
97.48
0.28% include/matx/streaming/resample_poly_stream.h
1
98.26
3.14% include/matx/streaming/stream_detail.h
Jobs
ID Job ID Ran Files Coverage
1 47382377541.1 04 Dec 2026 07:18PM UTC 233
93.77
GitHub Action Run
Source Files on build 47382377541
  • Tree
  • List 233
  • Changed 11
  • Source Changed 11
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #47382377541
  • 7b73c013 on github
  • Prev Build on main (#46987405149)
  • Next Build on main (#47444543393)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc