Commit 80e97a0
[SYCL] Improve efficiency of stream output of h_item for FPGA.
This is done by creating a loop in writeHItem and ItemToStr,
rather than calling the same function multiple times.
Because everything is inlined in the FPGA flow, the latter results in many
copies of each function in hardware, which costs significant
FPGA area. In a loop, the function will be created once on the
FPGA, and invoked multiple times.
Signed-off-by: David Cashman <[email protected]>1 parent 1bef172 commit 80e97a0
1 file changed
+12
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
374 | 373 | | |
375 | 374 | | |
376 | 375 | | |
| |||
615 | 614 | | |
616 | 615 | | |
617 | 616 | | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
622 | 621 | | |
623 | 622 | | |
624 | 623 | | |
| |||
632 | 631 | | |
633 | 632 | | |
634 | 633 | | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
641 | 642 | | |
642 | 643 | | |
643 | 644 | | |
644 | 645 | | |
645 | 646 | | |
646 | 647 | | |
647 | 648 | | |
648 | | - | |
0 commit comments