arma-thesis

git clone https://git.igankevich.com/arma-thesis.git
Log | Files | Refs | LICENSE

commit 1dfebc05e29a79c287383d582f1ecc8afd1e4e3c
parent adca89d912ea9a0291a33eaea518e6439bfd6a8a
Author: Ivan Gankevich <igankevich@ya.ru>
Date:   Wed, 16 Aug 2017 13:26:06 +0300

Fix size type.

Diffstat:
R/benchmarks.R | 6++++--
arma-thesis.org | 2+-
2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/R/benchmarks.R b/R/benchmarks.R @@ -192,7 +192,7 @@ arma.load_realtime_data <- function () { ".*\\s+([0-9]+)us.*" ) data[row,"framework"] <- framework - data[row,"size"] <- as.character(m) + data[row,"size"] <- as.integer(m) data[row,"t"] <- mean(all_data/1000/1000) data[row,"routine"] <- t row <- row + 1 @@ -220,7 +220,9 @@ arma.plot_realtime_data <- function (data, ...) { openmp_len <- length(openmp$t) opencl_len <- length(opencl$t) plot.new() - plot.window(xlim=range(openmp$size), ylim=range(openmp$t)) + plot.window( + xlim=range(c(openmp$size, opencl$size)), + ylim=range(c(openmp$t, opencl$t))) lines(openmp$size, openmp$t, lty="solid", type="b") lines(opencl$size, opencl$t, lty="dashed", type="b") axis(1, at=2^c(7:14)) diff --git a/arma-thesis.org b/arma-thesis.org @@ -3874,7 +3874,7 @@ arma.print_table_for_realtime_data(data, routine_names, column_names) #+end_src #+name: tab-arma-realtime -#+caption: Running time of real-time velocity potential solver subroutines. +#+caption: Running time of real-time velocity potential solver subroutines for wavy surface \(\text{size}=16384\). #+attr_latex: :booktabs t #+RESULTS: tab-arma-realtime | Subroutine | OpenMP time, s | OpenCL time, s |