Skip to content

Commit

Permalink
adding SM70 to makefile
Browse files Browse the repository at this point in the history
Former-commit-id: 97bd1bc88fe912db893981db9522c97fae2766e4
  • Loading branch information
Duane Merrill committed May 4, 2017
1 parent b3a79dd commit 0afcc51
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ else
SM_ARCH = 200
endif

ifeq (700, $(findstring 700, $(SM_ARCH)))
SM_TARGETS += -gencode=arch=compute_70,code=\"sm_70,compute_70\"
SM_DEF += -DSM700
TEST_ARCH = 700
endif
ifeq (620, $(findstring 620, $(SM_ARCH)))
SM_TARGETS += -gencode=arch=compute_62,code=\"sm_62,compute_62\"
SM_DEF += -DSM620
Expand Down

0 comments on commit 0afcc51

Please sign in to comment.