Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

program cashing in "Gpu API call line 1415"

I am running a multithreaded application on GPU using pthreads. My error is not related to memory error (as far as I can see)

I create a separate thread for processing a video file. The code does not crash for 2 threads and performs the job. As soon as I start three threads, my code crashes for 3rd thread at the following line:

OpenCV Error: Gpu API call (unknown error) in unknown function, file C:\Users\Ab dullah\Downloads\opencv-2.4.6\modules\core\src\gpumat.cpp, line 1415 C:\Users\Abdullah\Downloads\opencv-2.4.6\modules\core\src\gpumat.cpp:1415: error : (-217) unknown error

void mallocPitch(void** devPtr, size_t* step, size_t width, size_t height) const
    {
        cudaSafeCall( cudaMallocPitch(devPtr, step, width, height) );
    }

Does anybody have any idea of this crashing behavior?

program cashing in "Gpu API call line (unknown error) at line 1415"

I am running a multithreaded application on GPU using pthreads. My error is not related to memory error (as far as I can see)

I create a separate thread for processing a video file. The code does not crash for 2 threads and performs the job. As soon as I start three threads, my code crashes for 3rd thread at the following line:

OpenCV Error: Gpu API call (unknown error) in unknown function, file C:\Users\Ab dullah\Downloads\opencv-2.4.6\modules\core\src\gpumat.cpp, line 1415 C:\Users\Abdullah\Downloads\opencv-2.4.6\modules\core\src\gpumat.cpp:1415: error : (-217) unknown error

void mallocPitch(void** devPtr, size_t* step, size_t width, size_t height) const
    {
        cudaSafeCall( cudaMallocPitch(devPtr, step, width, height) );
    }

Does anybody have any idea of this crashing behavior?

click to hide/show revision 3
retagged

updated 2014-05-30 11:35:44 -0500

berak gravatar image

program cashing in "Gpu API call line (unknown error) at line 1415"

I am running a multithreaded application on GPU using pthreads. My error is not related to memory error (as far as I can see)

I create a separate thread for processing a video file. The code does not crash for 2 threads and performs the job. As soon as I start three threads, my code crashes for 3rd thread at the following line:

OpenCV Error: Gpu API call (unknown error) in unknown function, file C:\Users\Ab dullah\Downloads\opencv-2.4.6\modules\core\src\gpumat.cpp, line 1415 C:\Users\Abdullah\Downloads\opencv-2.4.6\modules\core\src\gpumat.cpp:1415: error : (-217) unknown error

void mallocPitch(void** devPtr, size_t* step, size_t width, size_t height) const
    {
        cudaSafeCall( cudaMallocPitch(devPtr, step, width, height) );
    }

Does anybody have any idea of this crashing behavior?