Coverage for cuda / core / utils / __init__.py: 100.00%

4 statements  

« prev     ^ index     » next       coverage.py v7.14.0, created at 2026-05-22 01:37 +0000

1# SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. 

2# 

3# SPDX-License-Identifier: Apache-2.0 

4 

5from cuda.core._memory._managed_memory_ops import ( 

6 discard_batch, 

7 discard_prefetch_batch, 

8 prefetch_batch, 

9) 

10from cuda.core._memoryview import ( 

11 StridedMemoryView, 

12 args_viewable_as_strided_memory, 

13) 

14from cuda.core.utils._program_cache import ( 

15 FileStreamProgramCache, 

16 InMemoryProgramCache, 

17 ProgramCacheResource, 

18 make_program_cache_key, 

19) 

20 

21__all__ = [ 

22 "FileStreamProgramCache", 

23 "InMemoryProgramCache", 

24 "ProgramCacheResource", 

25 "StridedMemoryView", 

26 "args_viewable_as_strided_memory", 

27 "discard_batch", 

28 "discard_prefetch_batch", 

29 "make_program_cache_key", 

30 "prefetch_batch", 

31]