is it possible to run calculations only on current thread? I tried setting env variable OMP_NUM_THREADS=1 and use 2+ threads to do some computation, but I am getting EXCEPTION_ACCESS_VIOLATION error. Each thread has its own network. Is there anything else I need to configure?
Nothing crazy, just trying to fit neural network (it crashes when calling output aswell). Simple code that crashes when OMP_NUM_THREADS=1 (it works with any other number) is here: gist:f7fa5aa0884a2cfeff96e9a1818e4dfa · GitHub.