multi buffer: determine runtime parallelism #175

Open
opened 2026-02-26 12:53:50 -06:00 by pobrn · 0 comments
pobrn commented 2026-02-26 12:53:50 -06:00 (Migrated from github.com)

It seems to me that the various ISAL_*_MAX_LANES macros specify a static upper bound for the number of parallel buffers. I am wondering if there is an easy way to query the actual runtime parallelism?

Submitting 1 byte buffers and seeing when the first one is returned seems to be working. I'm just wondering if that is indeed expected to yield the correct result in all cases, and if maybe there is a better way (e.g. a dedicated function)?

It seems to me that the various `ISAL_*_MAX_LANES` macros specify a static upper bound for the number of parallel buffers. I am wondering if there is an easy way to query the actual runtime parallelism? Submitting 1 byte buffers and seeing when the first one is returned seems to be working. I'm just wondering if that is indeed expected to yield the correct result in all cases, and if maybe there is a better way (e.g. a dedicated function)?
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-intel/isa-l_crypto#175
No description provided.