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)?