We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c95d29b commit 7edd190Copy full SHA for 7edd190
cuda_python_test_helpers/__init__.py
@@ -1,12 +1,12 @@
1
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
# SPDX-License-Identifier: Apache-2.0
3
4
+import functools
5
import os
6
from contextlib import suppress
7
from typing import Union
8
9
import pytest
-import functools
10
11
12
def _detect_wsl() -> bool:
@@ -20,6 +20,7 @@ def _detect_wsl() -> bool:
20
21
IS_WSL: bool = _detect_wsl()
22
23
+
24
@functools.cache
25
def supports_ipc_mempool(device_id: Union[int, object]) -> bool:
26
"""Return True if the driver accepts creating an IPC-enabled mempool.
0 commit comments