Skip to content

Commit

Permalink
Fix type of arg
Browse files Browse the repository at this point in the history
  • Loading branch information
shwina committed Jan 13, 2022
1 parent abd3022 commit 84994cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/rmm/_cuda/gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


class CUDARuntimeError(RuntimeError):
def __init__(self, status: cuda.CUresult.CUDA_SUCCESS):
def __init__(self, status: cudart.cudaError_t):
self.status = status
_, name = cudart.cudaGetErrorName(status)
_, msg = cudart.cudaGetErrorString(status)
Expand Down

0 comments on commit 84994cb

Please sign in to comment.