From 13d190b3b2cd687a4134977058ec4d9f255530c5 Mon Sep 17 00:00:00 2001 From: "shin.han" Date: Mon, 15 Jul 2024 20:03:50 +0900 Subject: [PATCH] [#1381] Change cuMemFreeAsync to cuMemFree in vmaf_cuda_picture_free() --- libvmaf/src/cuda/picture_cuda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvmaf/src/cuda/picture_cuda.c b/libvmaf/src/cuda/picture_cuda.c index f615b9d80..1b4a41d2a 100644 --- a/libvmaf/src/cuda/picture_cuda.c +++ b/libvmaf/src/cuda/picture_cuda.c @@ -223,7 +223,7 @@ int vmaf_cuda_picture_free(VmafPicture *pic, void *cookie) for (int i = 0; i < 3; i++) { if (pic->data[i]) - CHECK_CUDA(cuMemFreeAsync(pic->data[i], priv->cuda.str)); + CHECK_CUDA(cuMemFree(pic->data[i])); } CHECK_CUDA(cuEventDestroy(priv->cuda.finished));