123456789101112131415161718192021222324252627282930313233 |
- FIGURES=figures/intra-copy.pdf \
- figures/opencl-setup.pdf \
- figures/transf.pdf \
- figures/throughput.pdf \
- figures/latency.pdf \
- figures/latency-hist.pdf \
- figures/fpga-arch.pdf
- .PHONY: clean figures
- all: paper.pdf
- paper.pdf: paper.tex literature.bib $(FIGURES)
- @pdflatex $<
- @bibtex paper.aux
- figures/intra-copy.pdf:
- @cd data && python intra-copy.py ../figures/intra-copy.pdf
- figures/latency.pdf: data/latency/ipedirectgma.cpu.txt data/latency/ipedirectgma.gpu.txt data/latency/plot.py
- @cd data/latency && python plot.py && cp latency.pdf ../../figures
- figures/latency-hist.pdf: data/latency/ipedirectgma.1024.cpu.txt data/latency/ipedirectgma.1024.gpu.txt data/latency/latency-hist.py
- @cd data/latency && python latency-hist.py && cp latency-hist.pdf ../../figures
- figures/throughput.pdf: data/throughput.cpu data/throughput.gpu data/throughput.py
- @cd data && python throughput.py && cp throughput.pdf ../figures
- figures/%.pdf: figures/%.svg
- @inkscape --export-pdf=$@ $<
- clean:
- @rm -f paper.pdf *.aux *.log *.bbl *.blg *.toc $(FIGURES)
|