Skip to content

Commit

Permalink
Bump kokkos versions. (#578)
Browse files Browse the repository at this point in the history
* Bump kokkos versions.

* Auto update version

* trigger ci

* Exclude Kokkos-OPENMP on Windows.

* Use SERIAL kokkos backends on Windows.

* Update changelog [skip ci].

* Auto update version

* Trigger CI

---------

Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Lee James O'Riordan <mlxd@users.noreply.github.com>
Co-authored-by: Lee J. O'Riordan <loriordan@gmail.com>
  • Loading branch information
4 people authored Jan 3, 2024
1 parent 520b06a commit 706a599
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@

### Breaking changes

* Set the default version of Kokkos to 4.2.00 throughout the project (CMake, CI, etc.)
[(#578)] (https://github.com/PennyLaneAI/pennylane-lightning/pull/578)

* Overload `applyOperation` with a fifth `matrix` argument to all state vector classes to support arbitrary operations in `AdjointJacobianBase`.
[(#540)] (https://github.com/PennyLaneAI/pennylane-lightning/pull/540)

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_and_cache_Kokkos_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- name: Kokkos version
id: kokkos_version
run: echo "kokkos_version=[\"4.0.01\"]" >> $GITHUB_OUTPUT
run: echo "kokkos_version=[\"4.2.00\"]" >> $GITHUB_OUTPUT

outputs:
exec_model: ${{ steps.exec_model.outputs.exec_model }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/set_wheel_build_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:

- name: Kokkos version
id: kokkos_version
run: echo "kokkos_version=[\"4.0.01\"]" >> $GITHUB_OUTPUT
run: echo "kokkos_version=[\"4.2.00\"]" >> $GITHUB_OUTPUT

outputs:
python_version: ${{ steps.pyver.outputs.python_version }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests_gpu_kokkos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
CI_CUDA_ARCH: 86
COVERAGE_FLAGS: "--cov=pennylane_lightning --cov-report=term-missing --cov-report=xml:./coverage.xml --no-flaky-report -p no:warnings --tb=native"
GCC_VERSION: 11
KOKKOS_VERSION: e542e989af99cb87881ee2a0d06916541ee76006
KOKKOS_VERSION: 4.2.00
TF_VERSION: 2.10.0
TORCH_VERSION: 1.11.0+cpu

Expand All @@ -39,7 +39,7 @@ jobs:
matrix:
os: [ubuntu-22.04]
exec_model: ["CUDA"]
kokkos_version: ["4.1.00"]
kokkos_version: ["4.2.00"]

steps:
- name: Validate GPU version and installed compiler
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
os: [ubuntu-22.04]
pl_backend: ["lightning_kokkos"]
exec_model: ["CUDA"]
kokkos_version: ["4.1.00"]
kokkos_version: ["4.2.00"]

name: C++ tests (Kokkos)
runs-on:
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
os: [ubuntu-22.04]
pl_backend: ["lightning_kokkos", "all"]
exec_model: ["CUDA"]
kokkos_version: ["4.1.00"]
kokkos_version: ["4.2.00"]

name: Python tests with Kokkos
runs-on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:

- name: Kokkos version
id: kokkos_version
run: echo "kokkos_version=[\"4.0.01\"]" >> $GITHUB_OUTPUT
run: echo "kokkos_version=[\"4.2.00\"]" >> $GITHUB_OUTPUT

outputs:
exec_model: ${{ steps.exec_model.outputs.exec_model }}
Expand Down
2 changes: 1 addition & 1 deletion cmake/support_kokkos.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Include this file only once
include_guard()

set(KOKKOS_VERSION 4.0.01)
set(KOKKOS_VERSION 4.2.00)

# Macro to aid in finding Kokkos with 3 potential install options:
# 1. Fully integrated Kokkos packages and CMake module files
Expand Down

0 comments on commit 706a599

Please sign in to comment.