Skip to content

Commit

Permalink
Remove parenthesis for cuda.jit
Browse files Browse the repository at this point in the history
  • Loading branch information
mrava87 committed Oct 7, 2024
1 parent 402bd31 commit 91fcabc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pylops/signalprocessing/_fourierradon2d_cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from numba import cuda


@cuda.jit()
@cuda.jit
def _radon_inner_2d_kernel(x, y, f, px, h, flim0, flim1, npx, nh):
"""Cuda kernels for FourierRadon2D operator
Expand All @@ -19,7 +19,7 @@ def _radon_inner_2d_kernel(x, y, f, px, h, flim0, flim1, npx, nh):
y[ih, ifr] += x[ipx, ifr] * exp(-1j * 2 * pi * f[ifr] * px[ipx] * h[ih])


@cuda.jit()
@cuda.jit
def _aradon_inner_2d_kernel(x, y, f, px, h, flim0, flim1, npx, nh):
"""Cuda kernels for FourierRadon2D operator
Expand Down
4 changes: 2 additions & 2 deletions pylops/signalprocessing/_fourierradon3d_cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from numba import cuda


@cuda.jit()
@cuda.jit
def _radon_inner_3d_kernel(x, y, f, py, px, hy, hx, flim0, flim1, npy, npx, nhy, nhx):
"""Cuda kernels for FourierRadon3D operator
Expand All @@ -22,7 +22,7 @@ def _radon_inner_3d_kernel(x, y, f, py, px, hy, hx, flim0, flim1, npy, npx, nhy,
)


@cuda.jit()
@cuda.jit
def _aradon_inner_3d_kernel(x, y, f, py, px, hy, hx, flim0, flim1, npy, npx, nhy, nhx):
"""Cuda kernels for FourierRadon3D operator
Expand Down

0 comments on commit 91fcabc

Please sign in to comment.