Closed xubury closed 2 years ago
However, Windows build failed testing while Ubuntu works perfectly. I think it is related to https://github.com/dthuerck/mapmap_cpu/issues/22. It have segmentation fault while executing _mm256_setzero_ps
. I am not familiar with libtbb. But I do a simple tested on _mm256_setzero_ps
and didn't got the segfault.
#include <tbb/tbb.h>
#include <iostream>
int main() {
__m256 yfsSum = _mm256_setzero_ps();
std::cout << "hello" << std::endl;
}
In windows
unsigned long
is32bit
which is illegal for a pointer to cast to. So changeunsigned long
touintptr_t
fix the compile errors.