[CVCUDA] Update CV-CUDA to v0.2.1, add vision processor C++ tutorial (#1678)

* update cvcuda 0.2.0 -> 0.2.1

* add cpp tutorials demo

* fix reviewed problem
This commit is contained in:
guxukai
2023-03-24 16:57:35 +08:00
committed by GitHub
parent f0235a4c4e
commit 631f94d276
17 changed files with 170 additions and 19 deletions

View File

@@ -146,7 +146,7 @@ bool Resize::ImplByCvCuda(FDMat* mat) {
auto dst_tensor = CreateCvCudaTensorWrapData(*(mat->output_cache));
// CV-CUDA Interp value is compatible with OpenCV
cvcuda_resize_op_(mat->Stream(), src_tensor, dst_tensor,
cvcuda_resize_op_(mat->Stream(), *src_tensor, *dst_tensor,
CreateCvCudaInterp(interp_));
mat->SetTensor(mat->output_cache);