Commit 1f46055f authored by Tat Dat Duong's avatar Tat Dat Duong
Browse files

chore: rename target, add steps

parent 8335667c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ void execRun(const std::string &dataName, Code &&code, int attempts,

template <typename Device, typename Type, typename Code>
void execute(const std::string name, Code &&code, int from = 10, int to = 17,
             int attempts = 1) {
             int attempts = 10) {

  std::map<std::string, std::stringstream> result;
  std::set<std::string> keys;
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ int main(int argc, char **argv) {
  const size_t Order = 15;

  Benchmark::execute<Benchmark::Device::Cuda, KeyType>(
      "btree_cuda", [](auto &timer, std::vector<KeyType> input) {
      "tnl::cuda", [](auto &timer, std::vector<KeyType> input) {
        using KeyArray = Containers::Array<ValueType, TNL::Devices::Cuda>;
        using ValueArray = Containers::Array<ValueType, TNL::Devices::Cuda>;
        using Tree = BTreeContainer<KeyType, ValueType, Order, KeyInf,
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ int main(int argc, char **argv) {
  const size_t Order = 15;

  Benchmark::execute<Benchmark::Device::Host, KeyType>(
      "btree_host", [](auto &timer, std::vector<KeyType> input) {
      "tnl::host", [](auto &timer, std::vector<KeyType> input) {
        using KeyArray = Containers::Array<ValueType, TNL::Devices::Host>;
        using ValueArray = Containers::Array<ValueType, TNL::Devices::Host>;
        using Tree = BTreeContainer<KeyType, ValueType, Order, KeyInf,