Skip to content

Commit

Permalink
Bump cudaq ref. (NVIDIA#10)
Browse files Browse the repository at this point in the history
With 0.9.0 finally merged to main, we can now follow CUDAQ's main
branch.

Signed-off-by: boschmitt <[email protected]>
  • Loading branch information
boschmitt authored Dec 2, 2024
1 parent 2cfdf1c commit d1c3a58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
6 changes: 1 addition & 5 deletions .cudaq_version
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"cudaq": {
"repository": "NVIDIA/cuda-quantum",
"ref": "d63dc8d93b4f9c95677aad2ddad2f9020cde45d0"
},
"cuquantum": {
"url": "https://developer.download.nvidia.com/compute/cuquantum/redist/cuquantum/linux-x86_64/",
"pattern": "cuquantum-linux-x86_64-24.11.0.21_cuda12-archive.tar.xz"
"ref": "c9d0e4c020ca83b119a0df8a5fdf41911078e12a"
}
}

2 changes: 0 additions & 2 deletions .github/actions/get-cudaq-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ runs:
bash .github/workflows/scripts/install_git_cli.sh
mkdir -p ${CUQUANTUM_INSTALL_PREFIX}
python3 .github/actions/get-cudaq-build/get_assets.py
cuquantum_archive=$(jq -r '.cuquantum.pattern' .cudaq_version)
tar xf "${cuquantum_archive}" --strip-components 1 -C "${CUQUANTUM_INSTALL_PREFIX}"
shell: bash --noprofile --norc -euo pipefail {0}

# ==========================================================================
Expand Down
3 changes: 2 additions & 1 deletion .github/actions/get-cudaq-build/build_cudaq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ CC=${3:-"gcc"}
CXX=${4:-"g++"}

LLVM_INSTALL_PREFIX=/usr/local/llvm
CUTENSOR_INSTALL_PREFIX=/opt/nvidia/cutensor
CUQUANTUM_INSTALL_PREFIX="$(pip show cuquantum-python-cu12 | grep "Location:" | cut -d " " -f 2)/cuquantum"
CUTENSOR_INSTALL_PREFIX="$(pip show cutensor-cu12 | grep "Location:" | cut -d " " -f 2)/cutensor"

cd cudaq

Expand Down

0 comments on commit d1c3a58

Please sign in to comment.