Tensor Comprehensions
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
tc::SchedulerOptionsView Class Reference

#include <mapping_options.h>

Inheritance diagram for tc::SchedulerOptionsView:

Public Types

using MergeCallback = std::function< isl_bool(isl_union_map *, isl_union_map *, int, int, int, void *)>
 isl scheduler callback types. More...
 
using ConstraintsCallback = std::function< isl_basic_set *(isl_basic_set *, int, int, isl_id_list *, int *, int *, void *)>
 

Public Member Functions

 SchedulerOptionsView (const SchedulerOptionsView &)=default
 Construct a view that refers to a protocol buffers message. More...
 
 SchedulerOptionsView (SchedulerOptionsProto &buf)
 
SchedulerOptionsViewoperator= (const SchedulerOptionsView &)
 Assign the values from another view. More...
 
bool operator== (const SchedulerOptionsView &view) const
 Compare the values with those from another view. More...
 
bool operator!= (const SchedulerOptionsView &view) const
 

Public Attributes

SchedulerOptionsProto & proto
 

Private Member Functions

 SchedulerOptionsView ()=default
 

Friends

std::ostream & operator<< (std::ostream &os, const SchedulerOptionsView &options)
 Output operators. More...
 

Detailed Description

View of a SchedulerOptionsProto.

Provides isl callbacks based on the options.

Member Typedef Documentation

using tc::SchedulerOptionsView::ConstraintsCallback = std::function<isl_basic_set*( isl_basic_set*, int, int, isl_id_list*, int*, int*, void*)>
using tc::SchedulerOptionsView::MergeCallback = std::function< isl_bool(isl_union_map*, isl_union_map*, int, int, int, void*)>

isl scheduler callback types.

Constructor & Destructor Documentation

tc::SchedulerOptionsView::SchedulerOptionsView ( )
privatedefault
tc::SchedulerOptionsView::SchedulerOptionsView ( const SchedulerOptionsView )
default

Construct a view that refers to a protocol buffers message.

tc::SchedulerOptionsView::SchedulerOptionsView ( SchedulerOptionsProto &  buf)
inline

Member Function Documentation

bool tc::SchedulerOptionsView::operator!= ( const SchedulerOptionsView view) const
inline
SchedulerOptionsView & tc::SchedulerOptionsView::operator= ( const SchedulerOptionsView view)
inline

Assign the values from another view.

bool tc::SchedulerOptionsView::operator== ( const SchedulerOptionsView view) const
inline

Compare the values with those from another view.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const SchedulerOptionsView options 
)
friend

Output operators.

Member Data Documentation

SchedulerOptionsProto& tc::SchedulerOptionsView::proto

The documentation for this class was generated from the following files: