MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / main

Function main

samples/object_cache/control.py:22–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21
22def main() -> None:
23 # Get the cache limit (in bytes)
24 current_cache_limit = cvcuda.get_cache_limit_inbytes() # noqa: F841
25
26 # Set the cache limit (in bytes)
27 my_new_cache_limit = 12345 # in bytes
28 cvcuda.set_cache_limit_inbytes(my_new_cache_limit)
29
30
31# docs-end: limit

Callers 1

control.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected