-
Notifications
You must be signed in to change notification settings - Fork 218
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
FFT of strided array #430
Comments
Looking into this a bit more, it appears the problem is probably with |
|
You're right, of course. Here was my source of confusion.
Furthermore,
|
Yeah, that happens because we implement |
The following code works as expected for single dimension arrays. It returns a view into the complex
scratch
array where I'm indexing the underlying Float32 values. I can operate on that view like any other CuArray type.CuArray{Float32,1}
However, when I extend this idea to an N-D array, there is a bug where the returned type is the CPU object
SubArray.
This causes subsequent operations to be extremely slow or to produce an error.SubArray{Float32,2,CuArray{Float32,2},Tuple{UnitRange{Int64},UnitRange{Int64}},false}
Details on Julia:
Details on CUDA:
The text was updated successfully, but these errors were encountered: