Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
Halide::Internal::ExecuteGeneratorArgs Struct Reference

ExecuteGeneratorArgs is the set of arguments to execute_generator(). More...

#include <Generator.h>

Public Types

enum  BuildMode { Default , Gradient }
 
using CreateGeneratorFn = std::function<AbstractGeneratorPtr(const std::string &name, const GeneratorContext &context)>
 

Public Attributes

std::string output_dir
 
std::set< OutputFileTypeoutput_types
 
std::vector< Targettargets
 
std::vector< std::string > suffixes
 
std::string generator_name
 
std::string function_name
 
std::string file_base_name
 
std::string runtime_name
 
enum Halide::Internal::ExecuteGeneratorArgs::BuildMode build_mode = Default
 
CreateGeneratorFn create_generator = nullptr
 
GeneratorParamsMap generator_params
 
CompilerLoggerFactory compiler_logger_factory = nullptr
 
bool log_outputs = false
 

Detailed Description

ExecuteGeneratorArgs is the set of arguments to execute_generator().

Definition at line 3892 of file Generator.h.

Member Typedef Documentation

◆ CreateGeneratorFn

using Halide::Internal::ExecuteGeneratorArgs::CreateGeneratorFn = std::function<AbstractGeneratorPtr(const std::string &name, const GeneratorContext &context)>

Definition at line 3942 of file Generator.h.

Member Enumeration Documentation

◆ BuildMode

Enumerator
Default 
Gradient 

Definition at line 3929 of file Generator.h.

Member Data Documentation

◆ output_dir

std::string Halide::Internal::ExecuteGeneratorArgs::output_dir

Definition at line 3894 of file Generator.h.

◆ output_types

std::set<OutputFileType> Halide::Internal::ExecuteGeneratorArgs::output_types

Definition at line 3897 of file Generator.h.

◆ targets

std::vector<Target> Halide::Internal::ExecuteGeneratorArgs::targets

Definition at line 3901 of file Generator.h.

◆ suffixes

std::vector<std::string> Halide::Internal::ExecuteGeneratorArgs::suffixes

Definition at line 3907 of file Generator.h.

◆ generator_name

std::string Halide::Internal::ExecuteGeneratorArgs::generator_name

Definition at line 3911 of file Generator.h.

◆ function_name

std::string Halide::Internal::ExecuteGeneratorArgs::function_name

Definition at line 3915 of file Generator.h.

◆ file_base_name

std::string Halide::Internal::ExecuteGeneratorArgs::file_base_name

Definition at line 3919 of file Generator.h.

◆ runtime_name

std::string Halide::Internal::ExecuteGeneratorArgs::runtime_name

Definition at line 3926 of file Generator.h.

◆ build_mode

enum Halide::Internal::ExecuteGeneratorArgs::BuildMode Halide::Internal::ExecuteGeneratorArgs::build_mode = Default

◆ create_generator

CreateGeneratorFn Halide::Internal::ExecuteGeneratorArgs::create_generator = nullptr

Definition at line 3943 of file Generator.h.

◆ generator_params

GeneratorParamsMap Halide::Internal::ExecuteGeneratorArgs::generator_params

Definition at line 3950 of file Generator.h.

◆ compiler_logger_factory

CompilerLoggerFactory Halide::Internal::ExecuteGeneratorArgs::compiler_logger_factory = nullptr

Definition at line 3953 of file Generator.h.

◆ log_outputs

bool Halide::Internal::ExecuteGeneratorArgs::log_outputs = false

Definition at line 3956 of file Generator.h.


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