Thanks to visit codestin.com
Credit goes to github.com

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
5 changes: 4 additions & 1 deletion cupy/cuda/jitify.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,11 @@ cpdef void _init_module() except*:
# start time, for enabling CCCL + CuPy developers?
global _jitify_cache_versions
if _jitify_cache_versions is None:
# jitify version could be "<unknown>" and the angular brakets are not
# valid characters on Windows, so we need to strip them
_jitify_version = re.sub(r'<([^>]*)>', r'\1', get_build_version())
_jitify_cache_versions = (
f"{get_build_version()}_{cub.get_build_version()}_"
f"{_jitify_version}_{cub.get_build_version()}_"
f"{get_cuda_version()}_{build_num}_{cupy_cache_key.decode()}")

_init_cupy_headers()
Expand Down