Commit a098e99
authored
Add sar_bp PixelZIsZero and PixelZIsFixed properties (#1196)
* Add sar_bp PixelZIsZero and PixelZIsFixed properties
The PixelZIsZero and PixelZIsFixed sar_bp properties assert that the image z
locations are either identically zero or all uniformally the same value,
respectively. These properties are asserted by the user and are not verified
at run-time by the operator. Adding these properties enables additional
optimizations in the sar_bp operator by eliding computations involving the
z location or hoisting such computations out of the inner loop.
The performance benefits vary by compute type. On RTX PRO 6000, TaylorFast
and FloatFloat benefit by 3% and 10%, respectively, with PixelZIsZero.
Signed-off-by: Thomas Benson <tbenson@nvidia.com>1 parent ae52583 commit a098e99
6 files changed
Lines changed: 613 additions & 73 deletions
File tree
- docs_input/api/signalimage/radar
- examples/sarbp
- include/matx
- kernels
- operators
- transforms
- test/00_transform
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
366 | 369 | | |
367 | 370 | | |
368 | 371 | | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
369 | 401 | | |
370 | 402 | | |
371 | 403 | | |
| |||
387 | 419 | | |
388 | 420 | | |
389 | 421 | | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| 230 | + | |
230 | 231 | | |
231 | 232 | | |
232 | 233 | | |
| |||
319 | 320 | | |
320 | 321 | | |
321 | 322 | | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
322 | 338 | | |
323 | | - | |
| 339 | + | |
324 | 340 | | |
325 | | - | |
| 341 | + | |
326 | 342 | | |
327 | 343 | | |
328 | 344 | | |
| |||
684 | 700 | | |
685 | 701 | | |
686 | 702 | | |
| 703 | + | |
687 | 704 | | |
688 | 705 | | |
689 | 706 | | |
| |||
701 | 718 | | |
702 | 719 | | |
703 | 720 | | |
| 721 | + | |
| 722 | + | |
704 | 723 | | |
705 | 724 | | |
706 | 725 | | |
| |||
742 | 761 | | |
743 | 762 | | |
744 | 763 | | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
745 | 767 | | |
746 | 768 | | |
747 | 769 | | |
| |||
782 | 804 | | |
783 | 805 | | |
784 | 806 | | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
785 | 820 | | |
786 | 821 | | |
787 | 822 | | |
| |||
1110 | 1145 | | |
1111 | 1146 | | |
1112 | 1147 | | |
| 1148 | + | |
1113 | 1149 | | |
1114 | 1150 | | |
1115 | 1151 | | |
| |||
0 commit comments