StreamAccessor Problem
Hi everyone! I've been trying to compile a code that uses StreamAccessor since i need to create my own kernel and of course,i have to use cudaStream_t.
The problem comes here:
void dotProductStream(...., cv::gpu::Stream &stream){
cv::gpu::StreamAccessor::getStream(stream);
...
}
That line is the problem. It should work but it doesnt. Im using Windows and Visual Studio. The error is LNK2001. It seems to be something related with the linker but ive been programming with the GPU module of OpenCV for some months wihtout problem, so...
By the way, i included < opencv/gpu/stream_accessor.hpp>, so thats not the problem
Any idea?
Thanks!