Skip to content

Commit

Permalink
Update python/kvikio/kvikio/cufile_driver.py
Browse files Browse the repository at this point in the history
Co-authored-by: jakirkham <[email protected]>
  • Loading branch information
madsbk and jakirkham authored Dec 5, 2024
1 parent c231396 commit e4e9dfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/kvikio/kvikio/cufile_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def libcufile_version() -> Tuple[int, int]:
The version as a tuple (MAJOR, MINOR).
"""
v = cufile_driver.libcufile_version()
major = v // 1000
minor = (v % 1000) // 10
major, minor = divmod(v, 1000)
minor //= 10
return (major, minor)


Expand Down

0 comments on commit e4e9dfa

Please sign in to comment.