Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. FIGURES=figures/intra-copy.pdf \
  2. figures/opencl-setup.pdf \
  3. figures/transf.pdf \
  4. figures/throughput.pdf \
  5. figures/latency.pdf \
  6. figures/latency-hist.pdf \
  7. figures/fpga-arch.pdf
  8. .PHONY: clean figures
  9. all: paper.pdf
  10. paper.pdf: paper.tex literature.bib $(FIGURES)
  11. @pdflatex $<
  12. @bibtex paper.aux
  13. figures/intra-copy.pdf:
  14. @cd data && python intra-copy.py ../figures/intra-copy.pdf
  15. figures/latency.pdf: data/latency/ipedirectgma.cpu.txt data/latency/ipedirectgma.gpu.txt data/latency/plot.py
  16. @cd data/latency && python plot.py && cp latency.pdf ../../figures
  17. figures/latency-hist.pdf: data/latency/ipedirectgma.1024.cpu.txt data/latency/ipedirectgma.1024.gpu.txt data/latency/latency-hist.py
  18. @cd data/latency && python latency-hist.py && cp latency-hist.pdf ../../figures
  19. figures/throughput.pdf: data/throughput.cpu data/throughput.gpu data/throughput.py
  20. @cd data && python throughput.py && cp throughput.pdf ../figures
  21. figures/%.pdf: figures/%.svg
  22. @inkscape --export-pdf=$@ $<
  23. clean:
  24. @rm -f paper.pdf *.aux *.log *.bbl *.blg *.toc $(FIGURES)