OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CompilationResult Struct Reference

#include <QueryCompilationDescriptor.h>

+ Collaboration diagram for CompilationResult:

Public Member Functions

std::string toString () const
 

Public Attributes

std::shared_ptr
< CompilationContext
generated_code
 
std::unordered_map< int,
CgenState::LiteralValues
literal_values
 
bool output_columnar
 
std::string llvm_ir
 
GpuSharedMemoryContext gpu_smem_context
 

Detailed Description

Definition at line 33 of file QueryCompilationDescriptor.h.

Member Function Documentation

std::string CompilationResult::toString ( ) const
inline

Definition at line 41 of file QueryCompilationDescriptor.h.

References generated_code, gpu_smem_context, literal_values, llvm_ir, output_columnar, run_benchmark_import::result, and typeName().

41  {
42  auto result = ::typeName(this) + "{";
44  result += ", literal_values=" + ::toString(literal_values);
45  result += ", toString(output_columnar=" + ::toString(output_columnar);
46  result += ", llvm_ir='''\n" + ::toString(llvm_ir) + "\n'''";
48  result += "}";
49  return result;
50  };
GpuSharedMemoryContext gpu_smem_context
std::string toString() const
std::shared_ptr< CompilationContext > generated_code
std::unordered_map< int, CgenState::LiteralValues > literal_values
std::string typeName(const T *v)
Definition: toString.h:106

+ Here is the call graph for this function:

Member Data Documentation

std::shared_ptr<CompilationContext> CompilationResult::generated_code
GpuSharedMemoryContext CompilationResult::gpu_smem_context
std::unordered_map<int, CgenState::LiteralValues> CompilationResult::literal_values
std::string CompilationResult::llvm_ir

Definition at line 37 of file QueryCompilationDescriptor.h.

Referenced by QueryCompilationDescriptor::getIR(), and toString().

bool CompilationResult::output_columnar

Definition at line 36 of file QueryCompilationDescriptor.h.

Referenced by ExecutionKernel::runImpl(), and toString().


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