Skip to content

Commit

Permalink
Add magma build for CUDA12.4 (#1722)
Browse files Browse the repository at this point in the history
* Add magma build for CUDA12.4

* Bug fix
  • Loading branch information
nWEIdia authored Mar 12, 2024
1 parent cd7a668 commit 04881ed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-magma-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: linux.2xlarge
strategy:
matrix:
cuda_version: ["121", "118"]
cuda_version: ["124", "121", "118"]
steps:
- name: Checkout PyTorch builder
uses: actions/checkout@v3
Expand Down
7 changes: 7 additions & 0 deletions magma/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ DOCKER_RUN = set -eou pipefail; docker run --rm -i \
magma/build_magma.sh

.PHONY: all
all: magma-cuda124
all: magma-cuda121
all: magma-cuda118

Expand All @@ -22,6 +23,12 @@ clean:
$(RM) -r magma-*
$(RM) -r output

.PHONY: magma-cuda124
magma-cuda124: DESIRED_CUDA := 12.4
magma-cuda124: PACKAGE_NAME := magma-cuda124
magma-cuda124:
$(DOCKER_RUN)

.PHONY: magma-cuda121
magma-cuda121: DESIRED_CUDA := 12.1
magma-cuda121: PACKAGE_NAME := magma-cuda121
Expand Down

0 comments on commit 04881ed

Please sign in to comment.