cudaSafeCall 73 modules/core/include/opencv2/core/cuda/common.hpp #ifndef cudaSafeCall cudaSafeCall 102 modules/core/include/opencv2/core/cuda/common.hpp cudaSafeCall( cudaBindTexture2D(0, tex, img.ptr(), &desc, img.cols, img.rows, img.step) ); cudaSafeCall 322 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp cudaSafeCall( cudaGetLastError() ); cudaSafeCall 325 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 337 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp cudaSafeCall( cudaGetLastError() ); cudaSafeCall 340 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 363 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp cudaSafeCall( cudaGetLastError() ); cudaSafeCall 366 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 388 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp cudaSafeCall( cudaGetLastError() ); cudaSafeCall 391 modules/core/include/opencv2/core/cuda/detail/transform_detail.hpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 95 modules/core/src/cuda_host_mem.cpp cudaSafeCall( cudaHostAlloc(&ptr, total, flags_) ); cudaSafeCall 228 modules/core/src/cuda_host_mem.cpp case PAGE_LOCKED: cudaSafeCall( cudaHostAlloc(&ptr, datasize, cudaHostAllocDefault) ); break; cudaSafeCall 229 modules/core/src/cuda_host_mem.cpp case SHARED: cudaSafeCall( cudaHostAlloc(&ptr, datasize, cudaHostAllocMapped) ); break; cudaSafeCall 230 modules/core/src/cuda_host_mem.cpp case WRITE_COMBINED: cudaSafeCall( cudaHostAlloc(&ptr, datasize, cudaHostAllocWriteCombined) ); break; cudaSafeCall 310 modules/core/src/cuda_host_mem.cpp cudaSafeCall( cudaHostGetDevicePointer(&pdev, data, 0) ); cudaSafeCall 323 modules/core/src/cuda_host_mem.cpp cudaSafeCall( cudaHostRegister(m.data, m.step * m.rows, cudaHostRegisterPortable) ); cudaSafeCall 332 modules/core/src/cuda_host_mem.cpp cudaSafeCall( cudaHostUnregister(m.data) ); cudaSafeCall 62 modules/core/src/cuda_info.cpp cudaSafeCall( error ); cudaSafeCall 73 modules/core/src/cuda_info.cpp cudaSafeCall( cudaSetDevice(device) ); cudaSafeCall 84 modules/core/src/cuda_info.cpp cudaSafeCall( cudaGetDevice(&device) ); cudaSafeCall 94 modules/core/src/cuda_info.cpp cudaSafeCall( cudaDeviceReset() ); cudaSafeCall 327 modules/core/src/cuda_info.cpp cudaSafeCall( cudaGetDeviceProperties(&props_[devID], devID) ); cudaSafeCall 897 modules/core/src/cuda_info.cpp cudaSafeCall( cudaMemGetInfo(&_freeMemory, &_totalMemory) ); cudaSafeCall 970 modules/core/src/cuda_info.cpp cudaSafeCall( cudaDriverGetVersion(&driverVersion) ); cudaSafeCall 971 modules/core/src/cuda_info.cpp cudaSafeCall( cudaRuntimeGetVersion(&runtimeVersion) ); cudaSafeCall 985 modules/core/src/cuda_info.cpp cudaSafeCall( cudaGetDeviceProperties(&prop, dev) ); cudaSafeCall 1053 modules/core/src/cuda_info.cpp cudaSafeCall( cudaDriverGetVersion(&driverVersion) ); cudaSafeCall 1054 modules/core/src/cuda_info.cpp cudaSafeCall( cudaRuntimeGetVersion(&runtimeVersion) ); cudaSafeCall 1059 modules/core/src/cuda_info.cpp cudaSafeCall( cudaGetDeviceProperties(&prop, dev) ); cudaSafeCall 293 modules/core/src/cuda_stream.cpp cudaSafeCall( cudaStreamCreate(&stream) ); cudaSafeCall 426 modules/core/src/cuda_stream.cpp cudaSafeCall(err); cudaSafeCall 436 modules/core/src/cuda_stream.cpp cudaSafeCall( cudaStreamSynchronize(impl_->stream) ); cudaSafeCall 446 modules/core/src/cuda_stream.cpp cudaSafeCall( cudaStreamWaitEvent(impl_->stream, EventAccessor::getEvent(event), 0) ); cudaSafeCall 486 modules/core/src/cuda_stream.cpp cudaSafeCall( cudaStreamAddCallback(impl_->stream, cudaStreamCallback, data, 0) ); cudaSafeCall 703 modules/core/src/cuda_stream.cpp cudaSafeCall( cudaEventCreateWithFlags(&event, flags) ); cudaSafeCall 735 modules/core/src/cuda_stream.cpp cudaSafeCall( cudaEventRecord(impl_->event, StreamAccessor::getStream(stream)) ); cudaSafeCall 750 modules/core/src/cuda_stream.cpp cudaSafeCall(err); cudaSafeCall 760 modules/core/src/cuda_stream.cpp cudaSafeCall( cudaEventSynchronize(impl_->event) ); cudaSafeCall 773 modules/core/src/cuda_stream.cpp cudaSafeCall( cudaEventElapsedTime(&ms, start.impl_->event, end.impl_->event) ); cudaSafeCall 124 modules/core/src/opengl.cpp cudaSafeCall( cudaGLSetGLDevice(device) ); cudaSafeCall 175 modules/core/src/opengl.cpp cudaSafeCall( cudaGraphicsGLRegisterBuffer(&resource, buffer, cudaGraphicsMapFlagsNone) ); cudaSafeCall 208 modules/core/src/opengl.cpp cudaSafeCall( cudaGraphicsMapResources(1, resource_, stream_) ); cudaSafeCall 231 modules/core/src/opengl.cpp cudaSafeCall( cudaGraphicsResourceGetMappedPointer(&dst, &size, resource_) ); cudaSafeCall 236 modules/core/src/opengl.cpp cudaSafeCall( cudaMemcpy2D(dst, width, src, spitch, width, height, cudaMemcpyDeviceToDevice) ); cudaSafeCall 238 modules/core/src/opengl.cpp cudaSafeCall( cudaMemcpy2DAsync(dst, width, src, spitch, width, height, cudaMemcpyDeviceToDevice, stream) ); cudaSafeCall 250 modules/core/src/opengl.cpp cudaSafeCall( cudaGraphicsResourceGetMappedPointer(&src, &size, resource_) ); cudaSafeCall 255 modules/core/src/opengl.cpp cudaSafeCall( cudaMemcpy2D(dst, dpitch, src, width, width, height, cudaMemcpyDeviceToDevice) ); cudaSafeCall 257 modules/core/src/opengl.cpp cudaSafeCall( cudaMemcpy2DAsync(dst, dpitch, src, width, width, height, cudaMemcpyDeviceToDevice, stream) ); cudaSafeCall 268 modules/core/src/opengl.cpp cudaSafeCall( cudaGraphicsResourceGetMappedPointer(&ptr, &size, resource_) ); cudaSafeCall 104 modules/cudaarithm/src/core.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 362 modules/cudaarithm/src/element_operations.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 380 modules/cudaarithm/src/element_operations.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 479 modules/cudaarithm/src/element_operations.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 213 modules/cudaarithm/src/reductions.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 172 modules/cudafilters/src/cuda/column_filter.hpp cudaSafeCall( cudaGetLastError() ); cudaSafeCall 175 modules/cudafilters/src/cuda/column_filter.hpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 366 modules/cudafilters/src/cuda/column_filter.hpp cudaSafeCall( cudaMemcpyToSymbol(column_filter::c_kernel, kernel, ksize * sizeof(float), 0, cudaMemcpyDeviceToDevice) ); cudaSafeCall 368 modules/cudafilters/src/cuda/column_filter.hpp cudaSafeCall( cudaMemcpyToSymbolAsync(column_filter::c_kernel, kernel, ksize * sizeof(float), 0, cudaMemcpyDeviceToDevice, stream) ); cudaSafeCall 171 modules/cudafilters/src/cuda/row_filter.hpp cudaSafeCall( cudaGetLastError() ); cudaSafeCall 174 modules/cudafilters/src/cuda/row_filter.hpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 365 modules/cudafilters/src/cuda/row_filter.hpp cudaSafeCall( cudaMemcpyToSymbol(row_filter::c_kernel, kernel, ksize * sizeof(float), 0, cudaMemcpyDeviceToDevice) ); cudaSafeCall 367 modules/cudafilters/src/cuda/row_filter.hpp cudaSafeCall( cudaMemcpyToSymbolAsync(row_filter::c_kernel, kernel, ksize * sizeof(float), 0, cudaMemcpyDeviceToDevice, stream) ); cudaSafeCall 161 modules/cudafilters/src/filtering.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 614 modules/cudafilters/src/filtering.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 859 modules/cudafilters/src/filtering.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 928 modules/cudafilters/src/filtering.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 989 modules/cudafilters/src/filtering.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 1840 modules/cudaimgproc/src/color.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 2206 modules/cudaimgproc/src/color.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 2284 modules/cudaimgproc/src/color.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 346 modules/cudaimgproc/src/generalized_hough.cpp cudaSafeCall( cudaMemcpy(&oldPosBuf_[0], outBuf_.ptr(0), posCount_ * sizeof(float4), cudaMemcpyDeviceToHost) ); cudaSafeCall 347 modules/cudaimgproc/src/generalized_hough.cpp cudaSafeCall( cudaMemcpy(&oldVoteBuf_[0], outBuf_.ptr(1), posCount_ * sizeof(int3), cudaMemcpyDeviceToHost) ); cudaSafeCall 420 modules/cudaimgproc/src/generalized_hough.cpp cudaSafeCall( cudaMemcpy(outBuf_.ptr(0), &newPosBuf_[0], posCount_ * sizeof(float4), cudaMemcpyHostToDevice) ); cudaSafeCall 421 modules/cudaimgproc/src/generalized_hough.cpp cudaSafeCall( cudaMemcpy(outBuf_.ptr(1), &newVoteBuf_[0], posCount_ * sizeof(int3), cudaMemcpyHostToDevice) ); cudaSafeCall 739 modules/cudaimgproc/src/generalized_hough.cpp cudaSafeCall( cudaMemcpy(&h_buf_[0], templFeatures_.sizes.data, h_buf_.size() * sizeof(int), cudaMemcpyDeviceToHost) ); cudaSafeCall 849 modules/cudaimgproc/src/generalized_hough.cpp cudaSafeCall( cudaMemcpy(&h_buf_[0], hist_.data, h_buf_.size() * sizeof(int), cudaMemcpyDeviceToHost) ); cudaSafeCall 874 modules/cudaimgproc/src/generalized_hough.cpp cudaSafeCall( cudaMemcpy(&h_buf_[0], hist_.data, h_buf_.size() * sizeof(int), cudaMemcpyDeviceToHost) ); cudaSafeCall 307 modules/cudaimgproc/src/histogram.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 340 modules/cudaimgproc/src/histogram.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 410 modules/cudaimgproc/src/histogram.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 451 modules/cudaimgproc/src/histogram.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 484 modules/cudaimgproc/src/histogram.cpp cudaSafeCall( cudaMemsetAsync(hist.data, 0, histSize * sizeof(int), stream) ); cudaSafeCall 220 modules/cudaimgproc/src/hough_circles.cpp cudaSafeCall( cudaMemcpy(oldBuf, centers, centersCount * sizeof(ushort2), cudaMemcpyDeviceToHost) ); cudaSafeCall 292 modules/cudaimgproc/src/hough_circles.cpp cudaSafeCall( cudaMemcpy(centers, newBuf, newCount * sizeof(unsigned int), cudaMemcpyHostToDevice) ); cudaSafeCall 185 modules/cudalegacy/src/bm.cpp cudaSafeCall( cudaMemcpy(buf.data, &ss[0], ssCount * sizeof(short2), cudaMemcpyHostToDevice) ); cudaSafeCall 187 modules/cudalegacy/src/bm.cpp cudaSafeCall( cudaMemcpyAsync(buf.data, &ss[0], ssCount * sizeof(short2), cudaMemcpyHostToDevice, stream) ); cudaSafeCall 201 modules/cudalegacy/src/graphcuts.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 279 modules/cudalegacy/src/graphcuts.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 110 modules/cudalegacy/src/interpolate_frames.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 549 modules/cudaobjdetect/src/cascadeclassifier.cpp cudaSafeCall( cudaMemcpy(dclassified.ptr(), &classified, sizeof(int), cudaMemcpyHostToDevice) ); cudaSafeCall 593 modules/cudaobjdetect/src/cascadeclassifier.cpp cudaSafeCall( cudaMemcpy(&classified, dclassified.ptr(), sizeof(int), cudaMemcpyDeviceToHost) ); cudaSafeCall 596 modules/cudaobjdetect/src/cascadeclassifier.cpp cudaSafeCall( cudaMemcpy(&classified, dclassified.ptr(), sizeof(int), cudaMemcpyDeviceToHost) ); cudaSafeCall 597 modules/cudaobjdetect/src/cascadeclassifier.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 792 modules/cudaobjdetect/src/cascadeclassifier.cpp cudaSafeCall( cudaGetDeviceProperties(&prop, cv::cuda::getDevice()) ); cudaSafeCall 178 modules/cudawarping/src/warp.cpp cudaSafeCall( cudaDeviceSynchronize() ); cudaSafeCall 502 modules/cudawarping/src/warp.cpp cudaSafeCall( cudaDeviceSynchronize() );