Skip to content

Commit

Permalink
fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
ksimpson-work committed Jan 15, 2025
1 parent 5599afe commit f4b0f0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cuda_core/cuda/core/experimental/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from cuda.core.experimental._device import Device
from cuda.core.experimental._event import EventOptions
from cuda.core.experimental._launcher import LaunchConfig, launch
from cuda.core.experimental._program import Program, ProgramOptions
from cuda.core.experimental._linker import Linker, LinkerOptions
from cuda.core.experimental._program import Program, ProgramOptions
from cuda.core.experimental._stream import Stream, StreamOptions
from cuda.core.experimental._system import System

Expand Down
4 changes: 2 additions & 2 deletions cuda_core/cuda/core/experimental/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ def is_nested_sequence(obj):
Check if the given object is a nested sequence (list or tuple with atleast one list or tuple element).
"""
return is_sequence(obj) and any(is_sequence(elem) for elem in obj)


def get_binding_version():
try:
major_minor = importlib.metadata.version("cuda-bindings").split(".")[:2]
Expand Down

0 comments on commit f4b0f0a

Please sign in to comment.