Tiramisu Compiler
tiramisu::cuda_ast::abstract_identifier Class Referenceabstract

#include <cuda_ast.h>

Inherits tiramisu::cuda_ast::statement.

Inherited by tiramisu::cuda_ast::buffer, and tiramisu::cuda_ast::scalar.

Public Member Functions

const std::string & get_name () const
memory_location get_location () const
virtual void print_declaration (std::stringstream &ss, const std::string &base)=0
virtual bool is_buffer () const
- Public Member Functions inherited from tiramisu::cuda_ast::statement
primitive_t get_type () const
std::string print ()
virtual void print_body (std::stringstream &ss, const std::string &base)
virtual void print (std::stringstream &ss, const std::string &base)=0
virtual std::pair< statement_ptr, statement_ptrextract_min_cap ()
virtual statement_ptr replace_iterators (std::unordered_map< std::string, gpu_iterator > &iterators)
virtual std::unordered_set< std::string > extract_scalars ()

Protected Member Functions

 abstract_identifier (primitive_t type, const std::string &name, memory_location location)
- Protected Member Functions inherited from tiramisu::cuda_ast::statement
 statement (primitive_t type)

Detailed Description

Definition at line 246 of file cuda_ast.h.

Constructor & Destructor Documentation

tiramisu::cuda_ast::abstract_identifier::abstract_identifier ( primitive_t  type,
const std::string &  name,
memory_location  location 

Member Function Documentation

memory_location tiramisu::cuda_ast::abstract_identifier::get_location ( ) const
const std::string& tiramisu::cuda_ast::abstract_identifier::get_name ( ) const
virtual bool tiramisu::cuda_ast::abstract_identifier::is_buffer ( ) const

Reimplemented in tiramisu::cuda_ast::buffer.

virtual void tiramisu::cuda_ast::abstract_identifier::print_declaration ( std::stringstream &  ss,
const std::string &  base 
pure virtual

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