Halide
Halide::ExternSignature Struct Reference

#include <Pipeline.h>

Public Member Functions

 ExternSignature ()=default
 
 ExternSignature (const Type &ret_type, bool is_void_return, const std::vector< Type > &arg_types)
 
template<typename RT , typename... Args>
 ExternSignature (RT(*f)(Args... args))
 
const Typeret_type () const
 
bool is_void_return () const
 
const std::vector< Type > & arg_types () const
 

Detailed Description

Definition at line 411 of file Pipeline.h.

Constructor & Destructor Documentation

◆ ExternSignature() [1/3]

Halide::ExternSignature::ExternSignature ( )
default

◆ ExternSignature() [2/3]

Halide::ExternSignature::ExternSignature ( const Type ret_type,
bool  is_void_return,
const std::vector< Type > &  arg_types 
)
inline

Definition at line 420 of file Pipeline.h.

References internal_assert.

◆ ExternSignature() [3/3]

template<typename RT , typename... Args>
Halide::ExternSignature::ExternSignature ( RT(*)(Args... args)  f)
inline

Definition at line 428 of file Pipeline.h.

Member Function Documentation

◆ ret_type()

const Type& Halide::ExternSignature::ret_type ( ) const
inline

Definition at line 434 of file Pipeline.h.

References internal_assert.

◆ is_void_return()

bool Halide::ExternSignature::is_void_return ( ) const
inline

Definition at line 439 of file Pipeline.h.

◆ arg_types()

const std::vector<Type>& Halide::ExternSignature::arg_types ( ) const
inline

Definition at line 443 of file Pipeline.h.


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