We are building a custom dll using the builder tool and calling it via P/Invoke from a .NET app.
When calling vmlGetMode() on an Athlon64 (running on 32-bit XP) we are getting a Access Violation exception. This error does not occur on Intel CPUs.
We have tried:
- setting OMP_NUM_THREADS to 1
- changing the calling convention to stdcall
- linking mkl_sequential instead of mkl_intel_thread
but none of these seemed to help.