Minor decoder optimizations, kernel fixes, cpu backend fixes
This commit is contained in:
@@ -68,7 +68,6 @@ class RingBuffer {
|
||||
ring_size_t offset_delta = write_offs - read_offs;
|
||||
ring_size_t wrap_read_count = (cap - read_offs) + write_offs;
|
||||
|
||||
ring_size_t comparison_value = read_offs <= write_offs;
|
||||
|
||||
if (XE_LIKELY(read_offs <= write_offs)) {
|
||||
return offset_delta; // will be 0 if they are equal, semantically
|
||||
|
||||
Reference in New Issue
Block a user