Closed pcolberg closed 2 weeks ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
samples/mem_tg/tg_test.h | 0 | 23 | 0.0% | ||
<!-- | Total: | 0 | 23 | 0.0% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
samples/mem_tg/tg_test.h | 3 | 0.0% | ||
<!-- | Total: | 3 | --> |
Totals | |
---|---|
Change from base Build 10306205386: | 0.03% |
Covered Lines: | 15826 |
Relevant Lines: | 24634 |
The sizeof() operator returns the size of an object or type in bytes, not bits. Instead of calculating the number of bits using, e.g., CHAR_BIT * sizeof(), hard-code 64 since it is close to the declaration.
This is a prerequisite for HBM support with up to 32 channels.
Link: https://github.com/OFS/opae-sdk/issues/3137 Fixes: 7bf96dc98995 ("mem_tg test multichannel")