Skip to content

Commit

Permalink
[Netflix#1381] Change cuMemFreeAsync to cuMemFree in vmaf_cuda_pictur…
Browse files Browse the repository at this point in the history
…e_free()
  • Loading branch information
ha7sh17 committed Jul 15, 2024
1 parent e7258b3 commit 13d190b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvmaf/src/cuda/picture_cuda.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 13d190b

Please sign in to comment.