From 91fcabc0cf8da40172d6bbea490e60740ee90c96 Mon Sep 17 00:00:00 2001 From: mrava87 Date: Mon, 7 Oct 2024 20:51:56 +0300 Subject: [PATCH] Remove parenthesis for cuda.jit --- pylops/signalprocessing/_fourierradon2d_cuda.py | 4 ++-- pylops/signalprocessing/_fourierradon3d_cuda.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pylops/signalprocessing/_fourierradon2d_cuda.py b/pylops/signalprocessing/_fourierradon2d_cuda.py index 56c14963..2a0d35ba 100755 --- a/pylops/signalprocessing/_fourierradon2d_cuda.py +++ b/pylops/signalprocessing/_fourierradon2d_cuda.py @@ -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 @@ -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 diff --git a/pylops/signalprocessing/_fourierradon3d_cuda.py b/pylops/signalprocessing/_fourierradon3d_cuda.py index ffa923db..16f94f7e 100755 --- a/pylops/signalprocessing/_fourierradon3d_cuda.py +++ b/pylops/signalprocessing/_fourierradon3d_cuda.py @@ -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 @@ -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