Skip to content

Commit

Permalink
add magma build for CUDA11.6 (#997)
Browse files Browse the repository at this point in the history
Co-authored-by: pbialecki <pbialecki@nvidia.com>
  • Loading branch information
ptrblck and pbialecki committed Mar 21, 2022
1 parent 6e1ea62 commit 29b3c18
Show file tree
Hide file tree
Showing 2 changed files with 9 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 @@ -28,7 +28,7 @@ jobs:
runs-on: linux.2xlarge
strategy:
matrix:
cuda_version: ["115"]
cuda_version: ["116", "115"]
steps:
- name: Checkout PyTorch builder
uses: actions/checkout@v2
Expand Down
8 changes: 8 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-cuda116
all: magma-cuda115
all: magma-cuda113
all: magma-cuda102
Expand All @@ -23,6 +24,13 @@ clean:
$(RM) -r magma-*
$(RM) -r output

.PHONY: magma-cuda116
magma-cuda116: DESIRED_CUDA := 11.6
magma-cuda116: PACKAGE_NAME := magma-cuda116
magma-cuda116: CUDA_ARCH_LIST += -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86
magma-cuda116:
$(DOCKER_RUN)

.PHONY: magma-cuda115
magma-cuda115: DESIRED_CUDA := 11.5
magma-cuda115: PACKAGE_NAME := magma-cuda115
Expand Down

0 comments on commit 29b3c18

Please sign in to comment.