Skip to content

Class simtix::RRWarpSched

ClassList > simtix > RRWarpSched

Inherits the following classes: simtix::WarpSched

Inherited by the following classes: simtix::Gto, simtix::Lrr

Public Functions

Type Name
virtual void NotifyIssue () override = 0
RRWarpSched (std::function< bool(int, std::optional< uint32_t >)> additional_check, const std::string & name, const std::vector< Warp * > & warp_list, const ArchParam & p=kDefaultArchParam)
virtual void Reset () override
virtual std::pair< Warp *, std::optional< uint32_t > > SelectWarp () override

Public Functions inherited from simtix::WarpSched

See simtix::WarpSched

Type Name
virtual void NotifyIssue () = 0
uint32_t NumWarps () const
virtual void Reset () = 0
void ResetStat ()
Reset the stats.
virtual std::pair< Warp *, std::optional< uint32_t > > SelectWarp () = 0
WarpSched (const std::string & name, const std::vector< Warp * > & warp_list, const ArchParam & p=kDefaultArchParam)
const std::shared_ptr< stat::Group > stat () const
virtual ~WarpSched () = default

Protected Attributes

Type Name
std::function< bool(int, std::optional< uint32_t >)> additional_check_
int prioritized_leader_wid_ = 0
std::vector< uint32_t > prioritized_sswid_list_
std::optional< uint32_t > selected_leader_ssw_ = std::nullopt
int selected_leader_wid_ = 0

Protected Attributes inherited from simtix::WarpSched

See simtix::WarpSched

Type Name
const std::vector< Warp * > & leader_warp_list_
const std::string name_
uint32_t num_warps_
uint32_t num_warps_per_warpgroup_
std::shared_ptr< Stat > stat_

Public Functions Documentation

function NotifyIssue

virtual void simtix::RRWarpSched::NotifyIssue () override = 0

Implements simtix::WarpSched::NotifyIssue


function RRWarpSched

inline explicit simtix::RRWarpSched::RRWarpSched (
    std::function< bool(int, std::optional< uint32_t >)> additional_check,
    const std::string & name,
    const std::vector< Warp * > & warp_list,
    const ArchParam & p=kDefaultArchParam
) 

function Reset

virtual void simtix::RRWarpSched::Reset () override

Implements simtix::WarpSched::Reset


function SelectWarp

virtual std::pair< Warp *, std::optional< uint32_t > > simtix::RRWarpSched::SelectWarp () override

Implements simtix::WarpSched::SelectWarp


Protected Attributes Documentation

variable additional_check_

std::function<bool(int, std::optional<uint32_t>)> simtix::RRWarpSched::additional_check_;

variable prioritized_leader_wid_

int simtix::RRWarpSched::prioritized_leader_wid_;

variable prioritized_sswid_list_

std::vector<uint32_t> simtix::RRWarpSched::prioritized_sswid_list_;

variable selected_leader_ssw_

std::optional<uint32_t> simtix::RRWarpSched::selected_leader_ssw_;

variable selected_leader_wid_

int simtix::RRWarpSched::selected_leader_wid_;


The documentation for this class was generated from the following file projects/simtix/src/simtix/sm/sched/rr_warp_sched.h