Skip to content

Commit 9af40d2

Browse files
Fix the bus width value used for bandwidth calculations (#69)
Fix for issue #68
1 parent 9f3311c commit 9af40d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hwcpipe/include/hwcpipe/sampler.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ class sampler : private detail::expression::context {
582582
}
583583

584584
HWCP_NODISCARD double get_mali_config_ext_bus_byte_size() const override {
585-
return static_cast<double>(constants_.axi_bus_width) / static_cast<double>(sizeof(char));
585+
return static_cast<double>(constants_.axi_bus_width) / 8.0;
586586
}
587587

588588
HWCP_NODISCARD double get_mali_config_shader_core_count() const override {

0 commit comments

Comments
 (0)