Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mem_tg: fix support for more than 8 memory channels
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: #3137 Fixes: 7bf96dc ("mem_tg test multichannel") Signed-off-by: Peter Colberg <[email protected]>
- Loading branch information