Skip to content

Commit

Permalink
Remove unnecessary else branch
Browse files Browse the repository at this point in the history
  • Loading branch information
egparedes committed Sep 25, 2024
1 parent 84cadac commit 4b618b5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/gt4py/storage/cartesian/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,3 @@ def _allocate_gpu_rocm(
return buffer, CUDAArrayInterfaceNDArray(ndarray)

allocate_gpu = _allocate_gpu_rocm

else:
assert CUPY_DEVICE == core_defs.DeviceType.CUDA

0 comments on commit 4b618b5

Please sign in to comment.