-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CUDA_ERROR_ILLEGAL_ADDRESS with Genred #328
Comments
Hello @paquiteau ,
samples = samples.astype(np.float32)
image = image.flatten().view("(2,)float32")
# Calls Forward
coeff_cpu = forward_op(samples, locs, image, backend="CPU").view(np.complex64)
coeff_gpu = forward_op(samples, locs, image, backend="GPU").view(np.complex64) Now, there is another issue with accuracy. When testing, you will see that it runs, but the print(np.linalg.norm(coeff_gpu-coeff_cpu))
print(np.linalg.norm(coeff_gpu-coeff_cpu)/np.linalg.norm(coeff_cpu)) it will give something around |
Hello there,
I am trying to implement the Non Uniform Fourier Transform on GPU using PyKeops.
Here is a minimal (not) working example:
Whenever I ran this with the GPU backend, I get the following traceback:
My GPU has 16Gb of VRAM and given the small size I am using I am not expecting to get an overflow.
I am doing something wrong with the Genred ? Could complex array be the culprit ?
Thank in advance!
The text was updated successfully, but these errors were encountered: