Skip to content

File gto.h

File List > projects > simtix > src > simtix > sm > sched > gto.h

Go to the documentation of this file

#pragma once

#include <cstdint>
#include <vector>

#include "sm/sched/rr_warp_sched.h"
#include "sm/warp.h"

namespace simtix {
class Gto : public RRWarpSched {
 public:
  explicit Gto(
      std::function<bool(int, std::optional<uint32_t>)> additional_check,
      const std::vector<Warp *> &warp_list,
      const ArchParam &p = kDefaultArchParam)
      : RRWarpSched(std::move(additional_check), "Gto", warp_list, p) {}

  void NotifyIssue() override;
};

}  // namespace simtix