1. now we are thinking about disabling ThreadPinning functionality at Windows. Do you use ThreadPinning?
We fix it, if it will be decided to keep ThreadPinning.
2. glktsn has destructor (glktsn::FreeArrays() in the same source). all allocated tables free in it.
Ok. Now I understand the usage case and see where problem is.
If you use open source DAAL, as quick workaround, I suggest to build libs with define DAAL_CPU_TOPO_DISABLED.
Yes, there are two problems:
1. Using macro _x86_64 instead of _M_X64 in service_topo.h (at least on with Windows with MSVC compiler)
2. Incorrect clean up after error.
I have corrected issue #1 and everithing is working (at least for less than 64 cores)
We will fix p1 in upcoming DAAL version.
But I prefer to use _WIN64 macro because it already used in DAAL to determine Windows 64bits.
PS: I have read about _M_X64/_M_AMD64/_WIN64 already :-)