Vector<T> and AVX512 #85155
-
Currently @tannergooding can you please shed some light into this (even if it's too early to manifest it, but I'd like to see where the journey goes)? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There are two primary considerations at play here. First, a minor concern is that some developers may have written code which presumes no larger than 32-byte Second, implicit growth to 64-byte |
Beta Was this translation helpful? Give feedback.
Vector<T>
will likely not support implicit growth toVector512<T>
. We will look into and may provide some explicit mechanism through which to opt into the functionality.There are two primary considerations at play here.
First, a minor concern is that some developers may have written code which presumes no larger than 32-byte
Vector<T>
. Thus, growing the size ofVector<T>
may break their existing code. This is a bug in their code, but it is a concern we must factor in nonetheless.Second, implicit growth to 64-byte
Vector<T>
may negatively impact the performance of some code. This is particularly the case for inputs between1-63
bytes (or sometimes1-127
bytes, asCount * 2
is a common ch…