cavis/libnd4j/include/execution/impl
AbdelRauf 10b52e77b0 fix segfault: parallel_do tries to acquire numThreads-1 threads. And there are cases it wanted to get 0 threads. And it was falsely returning back valid ticket because of missing conditions. Here how it was happening in real run: There are functions where nested threading can happen. So in segfault case (example:gather op) outer threading acquired all threads. and as inner functions tried to acquire threads themselves. And as the inner function was using faulty parallel_do it seg faulted.
Signed-off-by: AbdelRauf <rauf@konduit.ai>
2021-03-01 13:38:43 +01:00
..
BlockingQueue.cpp Update c++ copyrights 2021-02-01 21:31:45 +09:00
CallableInterface.cpp Update c++ copyrights 2021-02-01 21:31:45 +09:00
CallableWithArguments.cpp Update c++ copyrights 2021-02-01 21:31:45 +09:00
ErrorReference.cpp Update c++ copyrights 2021-02-01 21:31:45 +09:00
ThreadPool.cpp fix segfault: parallel_do tries to acquire numThreads-1 threads. And there are cases it wanted to get 0 threads. And it was falsely returning back valid ticket because of missing conditions. Here how it was happening in real run: There are functions where nested threading can happen. So in segfault case (example:gather op) outer threading acquired all threads. and as inner functions tried to acquire threads themselves. And as the inner function was using faulty parallel_do it seg faulted. 2021-03-01 13:38:43 +01:00
Threads.cpp Update c++ copyrights 2021-02-01 21:31:45 +09:00
Ticket.cpp Update c++ copyrights 2021-02-01 21:31:45 +09:00