Tiramisu Compiler
tiramisu::cuda_ast::host_function Class Reference

#include <cuda_ast.h>

Inherits tiramisu::cuda_ast::statement.

Public Member Functions

 host_function (primitive_t type, std::string name, const std::vector< abstract_identifier_ptr > &arguments, statement_ptr body)
void print (std::stringstream &ss, const std::string &base) override
void set_pointer_return (bool val=true)
- 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 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 ()

Additional Inherited Members

- Protected Member Functions inherited from tiramisu::cuda_ast::statement
 statement (primitive_t type)

Detailed Description

Definition at line 555 of file cuda_ast.h.

Constructor & Destructor Documentation

tiramisu::cuda_ast::host_function::host_function ( primitive_t  type,
std::string  name,
const std::vector< abstract_identifier_ptr > &  arguments,
statement_ptr  body 

Member Function Documentation

void tiramisu::cuda_ast::host_function::print ( std::stringstream &  ss,
const std::string &  base 
void tiramisu::cuda_ast::host_function::set_pointer_return ( bool  val = true)

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