Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion kernel_tuner/backends/cupy.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# and run tests without cupy installed
try:
import cupy as cp
from cupyx import get_runtime_info
except ImportError:
cp = None

Expand Down Expand Up @@ -68,7 +69,7 @@ def __init__(self, device=0, iterations=7, compiler_options=None, observers=None

# collect environment information
env = dict()
cupy_info = str(cp._cupyx.get_runtime_info()).split("\n")[:-1]
cupy_info = str(get_runtime_info()).split("\n")[:-1]
info_dict = {
s.split(":")[0].strip(): s.split(":")[1].strip() for s in cupy_info
}
Expand Down
Loading