Cache

cvcuda.cache_size(scope: cvcuda.ThreadScope = <ThreadScope.GLOBAL: 0>) int

Returns the quantity of items in the NVCV Python cache

Parameters:

scope (nvcv.ThreadScope) – Thread scope that must be either nvcv.ThreadScope.GLOBAL or nvcv.ThreadScope.LOCAL.

cvcuda.clear_cache(scope: cvcuda.ThreadScope = <ThreadScope.GLOBAL: 0>) None

Clears the NVCV Python cache

Parameters:

scope (nvcv.ThreadScope) – Thread scope that must be either nvcv.ThreadScope.GLOBAL or nvcv.ThreadScope.LOCAL.

cvcuda.current_cache_size_inbytes() int

Returns the current cache size [in bytes]

cvcuda.get_cache_limit_inbytes() int

Returns the current cache limit [in bytes]

cvcuda.set_cache_limit_inbytes(arg0: int) None

Sets the current cache limit [in bytes]