makefile
来自「用于GPU通用计算的编程语言BrookGPU 0.4」· 代码 · 共 38 行
TXT
38 行
ROOTDIR = ../../..EXECUTABLE = timingFILES = main readwrite runkernel blas oneway_matmult_4x4 fourway_matmult_4x4 \ fft2d qfft reduction wfft fft sparseMatLIBRARIES = $(RUNTIME_LIBS)BRCCFLAGS = GRAPHDIR = graphsSLOP = graphsRUNTIME=nv30glRUNSIZE=350RUNTESTS=runk2dinclude $(ROOTDIR)/common.mk.PRECIOUS: $(OBJDIR)/%.pts$(GRAPHDIR)/graph-$(RUNTIME).pts: $(DEPS) $(BINDIR)/$(BINARY) $(ECHO) "Generating $@" @if test ! -d $(GRAPHDIR); then $(MKDIR) $(GRAPHDIR); fi env BRT_RUNTIME=$(RUNTIME) $(BINDIR)/$(BINARY) $(RUNSIZE) $(RUNTESTS) > $@ 2>&1$(GRAPHDIR)/graph-$(RUNTIME).pdf: makedirs $(GRAPHDIR)/graph-$(RUNTIME).pts $(ECHO) "Generating $@" jgraph -P -comments timing-$(RUNTIME).jgr | ps2pdf - $@cpu-graph: $(MAKE) RUNTIME=cpu $(GRAPHDIR)/graph-cpu.pdfnv30-graph: $(MAKE) RUNTIME=nv30gl $(GRAPHDIR)/graph-nv30gl.pdfdx9-graph: $(MAKE) RUNTIME=dx9 $(GRAPHDIR)/graph-dx9.pdfarb-graph: $(MAKE) RUNTIME=arb $(GRAPHDIR)/graph-arb.pdf
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?