OmniSciDB
a5dc49c757
|
#include <RenderInfo.h>
Public Member Functions | |
RenderInfo (const ::QueryRenderer::RenderSessionKey &in_render_session_key, const RenderQueryOptions &in_render_query_opts, const heavyai::InSituFlags in_insitu_flags=heavyai::InSituFlags::kInSitu) | |
const Catalog_Namespace::SessionInfo & | getSessionInfo () const |
std::shared_ptr < Catalog_Namespace::SessionInfo const > | getSessionInfoPtr () const |
void | forceNonInSitu () |
void | setNonInSitu () |
bool | useCudaBuffers () const |
void | disableCudaBuffers () |
std::shared_ptr < QueryRenderer::QueryDataLayout > | getQueryVboLayout () const |
void | setQueryVboLayout (const std::shared_ptr< QueryRenderer::QueryDataLayout > &vbo_layout) |
std::shared_ptr < QueryRenderer::QueryDataLayout > | getQuerySsboLayout () const |
void | setQuerySsboLayout (const std::shared_ptr< QueryRenderer::QueryDataLayout > &ssbo_layout) |
const RenderQueryOptions & | getRenderQueryOptions () const |
void | reset (std::unique_ptr< RenderQueryOptions > in_query_opts, const heavyai::InSituFlags in_insitu_flags) |
Public Member Functions inherited from heavyai::InSituFlagsOwnerInterface | |
InSituFlagsOwnerInterface (const InSituFlags insitu_flags) | |
InSituFlags | getInSituFlags () const |
bool | isForcedNonInSitu () const |
bool | isInSitu () const |
bool | isNonInSitu () const |
bool | couldRunInSitu () const |
Public Attributes | |
std::unique_ptr < RenderAllocatorMap > | render_allocator_map_ptr |
const ::QueryRenderer::RenderSessionKey & | render_session_key |
std::vector< std::shared_ptr < Analyzer::TargetEntry > > | targets |
std::unordered_set < shared::FullyQualifiedTableName > | table_names |
Private Types | |
enum | InSituState { InSituState::UNSET, InSituState::IS_IN_SITU, InSituState::IS_NOT_IN_SITU } |
Private Attributes | |
bool | force_non_in_situ_data |
bool | cuda_using_buffers_ |
std::shared_ptr < QueryRenderer::QueryDataLayout > | query_vbo_layout |
std::shared_ptr < QueryRenderer::QueryDataLayout > | query_ssbo_layout |
RenderQueryOptions | render_query_opts_ |
Additional Inherited Members | |
Protected Attributes inherited from heavyai::InSituFlagsOwnerInterface | |
InSituFlags | insitu_flags_ |
Definition at line 31 of file RenderInfo.h.
|
strongprivate |
Enumerator | |
---|---|
UNSET | |
IS_IN_SITU | |
IS_NOT_IN_SITU |
Definition at line 69 of file RenderInfo.h.
RenderInfo::RenderInfo | ( | const ::QueryRenderer::RenderSessionKey & | in_render_session_key, |
const RenderQueryOptions & | in_render_query_opts, | ||
const heavyai::InSituFlags | in_insitu_flags = heavyai::InSituFlags::kInSitu |
||
) |
Definition at line 20 of file RenderInfo.cpp.
References CHECK.
void RenderInfo::disableCudaBuffers | ( | ) |
Definition at line 59 of file RenderInfo.cpp.
References CHECK.
void RenderInfo::forceNonInSitu | ( | ) |
Definition at line 46 of file RenderInfo.cpp.
References CHECK.
Referenced by RelAlgExecutor::executeRelAlgQuery(), RelAlgExecutor::executeRelAlgSeq(), RelAlgExecutor::executeRelAlgSubSeq(), and RelAlgExecutor::handleOutOfMemoryRetry().
std::shared_ptr< QueryRenderer::QueryDataLayout > RenderInfo::getQuerySsboLayout | ( | ) | const |
Definition at line 73 of file RenderInfo.cpp.
References CHECK.
std::shared_ptr< QueryRenderer::QueryDataLayout > RenderInfo::getQueryVboLayout | ( | ) | const |
Definition at line 63 of file RenderInfo.cpp.
References CHECK.
const RenderQueryOptions & RenderInfo::getRenderQueryOptions | ( | ) | const |
const Catalog_Namespace::SessionInfo & RenderInfo::getSessionInfo | ( | ) | const |
Definition at line 29 of file RenderInfo.cpp.
std::shared_ptr< Catalog_Namespace::SessionInfo const > RenderInfo::getSessionInfoPtr | ( | ) | const |
Definition at line 40 of file RenderInfo.cpp.
References UNREACHABLE.
void RenderInfo::reset | ( | std::unique_ptr< RenderQueryOptions > | in_query_opts, |
const heavyai::InSituFlags | in_insitu_flags | ||
) |
Definition at line 88 of file RenderInfo.cpp.
References CHECK.
void RenderInfo::setNonInSitu | ( | ) |
Definition at line 50 of file RenderInfo.cpp.
References CHECK.
void RenderInfo::setQuerySsboLayout | ( | const std::shared_ptr< QueryRenderer::QueryDataLayout > & | ssbo_layout | ) |
Definition at line 78 of file RenderInfo.cpp.
References CHECK.
void RenderInfo::setQueryVboLayout | ( | const std::shared_ptr< QueryRenderer::QueryDataLayout > & | vbo_layout | ) |
Definition at line 68 of file RenderInfo.cpp.
References CHECK.
bool RenderInfo::useCudaBuffers | ( | ) | const |
Definition at line 54 of file RenderInfo.cpp.
References CHECK.
Referenced by Executor::executePlanWithGroupBy(), Executor::executePlanWithoutGroupBy(), and QueryMemoryInitializer::QueryMemoryInitializer().
|
private |
Definition at line 71 of file RenderInfo.h.
|
private |
Definition at line 70 of file RenderInfo.h.
|
private |
Definition at line 74 of file RenderInfo.h.
|
private |
Definition at line 73 of file RenderInfo.h.
std::unique_ptr<RenderAllocatorMap> RenderInfo::render_allocator_map_ptr |
Definition at line 33 of file RenderInfo.h.
Referenced by Executor::executePlanWithGroupBy(), Executor::executePlanWithoutGroupBy(), and QueryExecutionContext::QueryExecutionContext().
|
private |
Definition at line 75 of file RenderInfo.h.
Referenced by getRenderQueryOptions().
const ::QueryRenderer::RenderSessionKey& RenderInfo::render_session_key |
Definition at line 34 of file RenderInfo.h.
std::unordered_set<shared::FullyQualifiedTableName> RenderInfo::table_names |
Definition at line 41 of file RenderInfo.h.
std::vector<std::shared_ptr<Analyzer::TargetEntry> > RenderInfo::targets |
Definition at line 38 of file RenderInfo.h.
Referenced by build_render_targets().