sof icon indicating copy to clipboard operation
sof copied to clipboard

[RFC] Explore the CPU cost benefits of using deinterleaved data along the internal path of the pipeline

Open cujomalainey opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. A lot of components are complex, duplicating logic, do math on de-interleaved data, then have to undo their work

Describe the solution you'd like Evaluate how much this is costing us in CPU time per component that has to de-interleave, consider possibly de-interleaving at host/dai endpoints to reduce the amount of back and forth work.

Describe alternatives you've considered N/A as this is still scoping

Additional context

cujomalainey avatar Jun 07 '24 17:06 cujomalainey

@cujomalainey good point, I guess the benefit is to de-interleave at host/dai copier only and have SIMD ready data for each processing module in the pipeline. This would also make dealing with odd number of channels more efficient too. @marcinszkudlinski fyi.

lgirdwood avatar Jun 11 '24 13:06 lgirdwood