Skip to content

Commit aa57256

Browse files
authored
update MAGMA for cuda 11.2 (#618)
1 parent 2ab781c commit aa57256

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

magma/Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,21 @@ DOCKER_RUN = set -eou pipefail; docker run --rm -i \
1616
magma/build_magma.sh
1717

1818
.PHONY: all
19+
all: magma-cuda112
1920
all: magma-cuda111
2021
all: magma-cuda110
2122
all: magma-cuda102
2223
all: magma-cuda101
2324
all: magma-cuda92
2425

26+
.PHONY: magma-cuda112
27+
magma-cuda112: DESIRED_CUDA := 11.2
28+
magma-cuda112: PACKAGE_NAME := magma-cuda112
29+
magma-cuda112: CUDA_POINTER_ATTR_PATCH := " - cudaPointerAttributes.patch"
30+
magma-cuda112: CUDA_ARCH_LIST += -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86
31+
magma-cuda112:
32+
$(DOCKER_RUN)
33+
2534
.PHONY: magma-cuda111
2635
magma-cuda111: DESIRED_CUDA := 11.1
2736
magma-cuda111: PACKAGE_NAME := magma-cuda111

0 commit comments

Comments
 (0)