OmniSciDB  4201147b46
 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 32 of file QueryCompilationDescriptor.h.

Member Function Documentation

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

Definition at line 40 of file QueryCompilationDescriptor.h.

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

40  {
41  auto result = ::typeName(this) + "{";
43  result += ", literal_values=" + ::toString(literal_values);
44  result += ", toString(output_columnar=" + ::toString(output_columnar);
45  result += ", llvm_ir='''\n" + ::toString(llvm_ir) + "\n'''";
47  result += "}";
48  return result;
49  };
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:102

+ 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 36 of file QueryCompilationDescriptor.h.

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

bool CompilationResult::output_columnar

Definition at line 35 of file QueryCompilationDescriptor.h.

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


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