Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

Commit

Permalink
Don't assume system configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Jun 9, 2017
1 parent f8bee3b commit 624febd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/perf/launch_overhead/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ all: cuda

cuda: | cuda.ptx

CPPFLAGS += -isystem/opt/cuda/include/
CFLAGS += -Wall
LDLIBS += -lcuda

NVCC = nvcc
NVCCFLAGS = -arch=sm_35
NVCCFLAGS = -arch=sm_35 -ccbin=$(CXX)

%.ptx: %.cu
$(NVCC) $(NVCCFLAGS) -ptx -o $@ $<
Expand Down

0 comments on commit 624febd

Please sign in to comment.