Vc
Vc copied to clipboard
Enable SimdArray<uint8_t, N>.
Vc version / revision: 1.4.1 Operating System: CentOS release 6.10 (Final) / Ubuntu 18.04 with up-to-date patches. Compiler & Version: gcc-5.3 / gcc-8.2 Compiler Flags: -O3 -march=native CPU: Intel i7-4790 / Intel i7-7700k.
Testcase
#include <Vc/Vc>
int main() {
Vc::SimdArray<uint8_t, 32> a;
}
Actual Results
The code fails to compile with the following error message:
Vc/common/simdarray.h:117:5: error: static assertion failed: SimdArray<T, N> may only be used with T = { double, float, int32_t, uint32_t, int16_t, uint16_t }
Expected Results
The code compiles.
From what I understood, uint8_t
isn't supported in the 1.4 branch, only the 2.0 branch supports it.
From what I understood,
uint8_t
isn't supported in the 1.4 branch, only the 2.0 branch supports it.
I don't find branch 2.0 in https://github.com/VcDevel/Vc/branches/all
@max0x7ba the master branch will become 2.0