Skip to content

Commit

Permalink
update default Makefile arch
Browse files Browse the repository at this point in the history
  • Loading branch information
cjknight committed Nov 5, 2024
1 parent 9c42952 commit 8b77611
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gpu/mini-apps/math/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ AR = ar rcs
CPP=cpp -P -traditional
INSTALL=../

ARCH ?= polaris
ARCH ?= polaris-cpu-gnu
include $(BASE_LIBGPU)/arch/$(ARCH)

CXXFLAGS += -I$(BASE_LIBGPU)
Expand Down
2 changes: 1 addition & 1 deletion gpu/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ AR = ar rcs
CPP=cpp -P -traditional
INSTALL=../

ARCH ?= polaris
ARCH ?= polaris-cpu-gnu
include arch/$(ARCH)

# couple more flags to build shared library (allows arch files to be used for general app building)
Expand Down
2 changes: 1 addition & 1 deletion gpu/src/Makefile.nvcc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ INSTALL=../
CUDA_CXX = nvcc
CUDA_CXXFLAGS =

ARCH ?= polaris-gnu
ARCH ?= polaris-gnu-nvcc
include arch/$(ARCH)

# couple more flags to build shared library (allows arch files to be used for general app building)
Expand Down

0 comments on commit 8b77611

Please sign in to comment.