Searched refs:cu_context_internal (Results 1 – 2 of 2) sorted by relevance
155 CUcontext cu_context_internal; member
558 ret = CHECK_CU(dl_fn->cuda_dl->cuCtxCreate(&ctx->cu_context_internal, 0, cu_device)); in nvenc_check_device()562 ctx->cu_context = ctx->cu_context_internal; in nvenc_check_device()592 CHECK_CU(dl_fn->cuda_dl->cuCtxDestroy(ctx->cu_context_internal)); in nvenc_check_device()593 ctx->cu_context_internal = NULL; in nvenc_check_device()1612 if (ctx->cu_context_internal) in ff_nvenc_encode_close()1613 CHECK_CU(dl_fn->cuda_dl->cuCtxDestroy(ctx->cu_context_internal)); in ff_nvenc_encode_close()1614 ctx->cu_context = ctx->cu_context_internal = NULL; in ff_nvenc_encode_close()