Перейти к содержимому
Compvision.ru

tesmai4

Пользователи
  • Количество публикаций

    2
  • Зарегистрирован

  • Посещение

Репутация

0 Новичек

О tesmai4

  • Звание
    Новичок
  1. CUDA Stream in OpenCV for multi-threading

    Thanks Smorodov for your reply. I have video streams and want to process those on GPU. My focus is more on GPU module of OpenCV. I create a separate thread [using pthreads] for processing each file. I can process two files and there is no crash. My program crashes in OpenCV module of 3rd/4th thread when running more than two threads in the program. I provided error details here My focus is to run as many parallel threads as possible using pthreads or any other option. I mentioned CUDA streams as that was one of the option to run multiple kernels on GPU.
  2. CUDA Stream in OpenCV for multi-threading

    I am trying to run a multithreaded application using OpenCV with its GPU module. I run one thread for each image file being processed. The application is working fine on CPU. I keep the same logice and change the image processing part from CPU to GPU module of OpenCV. My applciation crashes for more than 2 threads in GPU module. Most forums relate it to "out of memory" error. This is not the case for my application as only 495MB out 1GB GPU RAM is being used. I have described my error in [this thread as well.](http://answers.opencv.org/question/34363/program-cashing-in-gpu-api-call-line-unknown-error/) Some forums suggest using CUDA streams in multi-threaded version of the applicaion for running multiple threads in the application. Can someone provide some example for it?
×