Browse Source

rename execute_move to execute_dml_memcpy and rename the file that contains this function to benchmark-dml-memcpy.hpp

master
Constantin Fürst 1 year ago
parent
commit
cbdf9b3dcf
  1. 0
      benchmarks/benchmark-dml-memcpy.hpp
  2. 10
      benchmarks/main.cpp

0
benchmarks/execute-move.hpp → benchmarks/benchmark-dml-memcpy.hpp

10
benchmarks/main.cpp

@ -5,7 +5,7 @@
#include <fstream>
#include "logging-helper.hpp"
#include "execute-move.hpp"
#include "benchmark-dml-mempcy.hpp"
int main(int argc, char **argv) {
if (argc < 3) {
@ -25,13 +25,13 @@ int main(int argc, char **argv) {
is.close();
if (path == "hw") {
execute_mem_move<dml::hardware>(args);
execute_dml_memcpy<dml::hardware>(args);
}
else if (path == "sw") {
execute_mem_move<dml::software>(args);
execute_dml_memcpy<dml::software>(args);
}
else if (path == "auto") {
execute_mem_move<dml::automatic>(args);
execute_dml_memcpy<dml::automatic>(args);
}
else {
std::cerr << "Path is neither hw/sw/auto." << std::endl;
@ -40,4 +40,4 @@ int main(int argc, char **argv) {
std::ofstream os(output);
WriteResultLog(args, path, os);
os.close();
}
}
Loading…
Cancel
Save