Add cuCtxGetDevice
authorSteve Lhomme <robux4@ycbcr.xyz>
Thu, 12 Sep 2019 13:19:04 +0000 (15:19 +0200)
committerTimo Rothenpieler <timo@rothenpieler.org>
Fri, 13 Sep 2019 09:42:56 +0000 (11:42 +0200)
commit4094cc6615e49aa63a1affca1be30c1063c78fc0
treebb48baef7ddb81cb49fe35df0ac21ee4e873bcd5
parent96a6db017b096ad48612890083464a7214902afa
Add cuCtxGetDevice

It can be useful to determine if the decoder context is the same as the display
context.

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
include/ffnvcodec/dynlink_cuda.h
include/ffnvcodec/dynlink_loader.h