Skip to content

Commit

Permalink
Fix scalar indexing error on latest AMDGPU.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
jipolanco committed Nov 18, 2024
1 parent 00c8716 commit e934e90
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [v0.6.5](https://github.com/jipolanco/NonuniformFFTs.jl/releases/tag/v0.6.5) - 2024-11-18

### Fixed

- Fix scalar indexing error on latest AMDGPU.jl (v1.1.1).
Not sure exactly if it's a recent change in AMDGPU.jl, or maybe in GPUArrays.jl, which caused the error.

## [v0.6.4](https://github.com/jipolanco/NonuniformFFTs.jl/releases/tag/v0.6.4) - 2024-11-17

### Changed
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "NonuniformFFTs"
uuid = "cd96f58b-6017-4a02-bb9e-f4d81626177f"
authors = ["Juan Ignacio Polanco <[email protected]>"]
version = "0.6.4"
version = "0.6.5"

[deps]
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
Expand Down
2 changes: 1 addition & 1 deletion src/Kernels/Kernels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function init_fourier_coefficients!(g::AbstractKernelData, ks::AbstractVector)
resize!(gk, Nk)
@assert eachindex(gk) == eachindex(ks)
f = evaluate_fourier_func(g)
map!(f, gk, ks)
@. gk = f(ks)
gk
end

Expand Down

2 comments on commit e934e90

@jipolanco
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

Fixed

  • Fix scalar indexing error on latest AMDGPU.jl (v1.1.1). Not sure exactly if it's a recent change in AMDGPU.jl, or maybe in GPUArrays.jl, which caused the error.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/119691

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.6.5 -m "<description of version>" e934e90a09042557b5ea52957f457a89d1d91c78
git push origin v0.6.5

Please sign in to comment.