Skip to content

Commit 3ccde3d

Browse files
committed
rewrite and reason checker
1 parent fd5ef19 commit 3ccde3d

3 files changed

Lines changed: 589 additions & 89 deletions

File tree

cuda_core/tests/conftest.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ def pytest_configure(config):
5656

5757
@pytest.hookimpl(wrapper=True)
5858
def pytest_runtest_makereport(item, call):
59-
# Captures machine state on the first CUDA OOM of a session; see issue
60-
# #2381 and helpers/oom_diagnostics.py for why this is latched.
59+
# Runs the OOM reason checker on the first CUDA OOM of a session; see
60+
# issue #2381 and helpers/oom_diagnostics.py for why this is latched and
61+
# what it checks (host VA exhaustion vs. physical device memory).
6162
report = yield
6263
from helpers import oom_diagnostics
6364

0 commit comments

Comments
 (0)