Is it possible to stop a parallel process in CUDA

Viewed 32

I am learning C++ CUDA, and I need to use GPUs to search for something in a very big array in Device memory. Is it possible to stop the process once a kernel finds what we are looking for?

Any help will be appreciated.

0 Answers
Related