cavis/libnd4j/include/execution
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
..
cpu Update c++ copyrights 2021-02-01 21:31:45 +09:00
cuda Update copyrights remove attic and relocate elsewhere 2021-02-09 13:16:31 +09:00
impl 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
AffinityManager.h Update c++ copyrights 2021-02-01 21:31:45 +09:00
BlockingQueue.h Update c++ copyrights 2021-02-01 21:31:45 +09:00
CallableInterface.h Update c++ copyrights 2021-02-01 21:31:45 +09:00
CallableWithArguments.h Update c++ copyrights 2021-02-01 21:31:45 +09:00
ContextBuffers.h Update c++ copyrights 2021-02-01 21:31:45 +09:00
Engine.h Update c++ copyrights 2021-02-01 21:31:45 +09:00
ErrorReference.h Update c++ copyrights 2021-02-01 21:31:45 +09:00
ExecutionMode.h Update copyrights remove attic and relocate elsewhere 2021-02-09 13:16:31 +09:00
Executor.h Update c++ copyrights 2021-02-01 21:31:45 +09:00
LaunchContext.h Update c++ copyrights 2021-02-01 21:31:45 +09:00
ThreadPool.h Update c++ copyrights 2021-02-01 21:31:45 +09:00
Threads.h Update copyrights remove attic and relocate elsewhere 2021-02-09 13:16:31 +09:00
Ticket.h Update c++ copyrights 2021-02-01 21:31:45 +09:00