Skip to content

Commit

Permalink
fixed flake8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Nov 15, 2023
1 parent 03722a3 commit 3941cef
Show file tree
Hide file tree
Showing 3 changed files with 220 additions and 217 deletions.
2 changes: 2 additions & 0 deletions cupy_backends/cuda/_softlink.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import warnings
from libc.stdint cimport intptr_t
cimport cython


def get_hipfuncname(cudafuncname):
import hipify_torch
from hipify_torch import cuda_to_hip_mappings
Expand All @@ -13,6 +14,7 @@ def get_hipfuncname(cudafuncname):
return cuda_to_hip_map[cudafuncname][0]
return cudafuncname


cdef class SoftLink:
def __init__(self, object libname, str prefix, *, bint mandatory=False):
self.error = None
Expand Down
Loading

0 comments on commit 3941cef

Please sign in to comment.