OmniSciDB
f17484ade4
|
Enumerations | |
enum | { MANAGER, ERROR_BUFFER, COL_BUFFERS, COL_SIZES, INPUT_STR_DICT_PROXIES, OUTPUT_BUFFERS, OUTPUT_STR_DICT_PROXIES, OUTPUT_ROW_COUNT, KERNEL_PARAM_COUNT } |
Functions | |
template<typename T > | |
const int8_t * | create_literal_buffer (const T literal, const ExecutorDeviceType device_type, std::vector< std::unique_ptr< char[]>> &literals_owner, CudaAllocator *gpu_allocator) |
template<> | |
const int8_t * | create_literal_buffer (std::string *const literal, const ExecutorDeviceType device_type, std::vector< std::unique_ptr< char[]>> &literals_owner, CudaAllocator *gpu_allocator) |
size_t | get_output_row_count (const TableFunctionExecutionUnit &exe_unit, size_t input_element_count) |
anonymous enum |
Enumerator | |
---|---|
MANAGER | |
ERROR_BUFFER | |
COL_BUFFERS | |
COL_SIZES | |
INPUT_STR_DICT_PROXIES | |
OUTPUT_BUFFERS | |
OUTPUT_STR_DICT_PROXIES | |
OUTPUT_ROW_COUNT | |
KERNEL_PARAM_COUNT |
Definition at line 647 of file TableFunctionExecutionContext.cpp.
const int8_t* anonymous_namespace{TableFunctionExecutionContext.cpp}::create_literal_buffer | ( | const T | literal, |
const ExecutorDeviceType | device_type, | ||
std::vector< std::unique_ptr< char[]>> & | literals_owner, | ||
CudaAllocator * | gpu_allocator | ||
) |
Definition at line 32 of file TableFunctionExecutionContext.cpp.
References CudaAllocator::alloc(), CHECK, CHECK_LE, CudaAllocator::copyToDevice(), CPU, GPU, heavydb.dtypes::T, and UNREACHABLE.
Referenced by TableFunctionExecutionContext::execute().
const int8_t* anonymous_namespace{TableFunctionExecutionContext.cpp}::create_literal_buffer | ( | std::string *const | literal, |
const ExecutorDeviceType | device_type, | ||
std::vector< std::unique_ptr< char[]>> & | literals_owner, | ||
CudaAllocator * | gpu_allocator | ||
) |
Definition at line 59 of file TableFunctionExecutionContext.cpp.
References CudaAllocator::alloc(), CHECK, CudaAllocator::copyToDevice(), CPU, GPU, and UNREACHABLE.
size_t anonymous_namespace{TableFunctionExecutionContext.cpp}::get_output_row_count | ( | const TableFunctionExecutionUnit & | exe_unit, |
size_t | input_element_count | ||
) |
Definition at line 92 of file TableFunctionExecutionContext.cpp.
References table_functions::TableFunction::getOutputRowSizeType(), table_functions::kConstant, table_functions::kPreFlightParameter, table_functions::kTableFunctionSpecifiedParameter, table_functions::kUserSpecifiedConstantParameter, table_functions::kUserSpecifiedRowMultiplier, TableFunctionExecutionUnit::output_buffer_size_param, TableFunctionExecutionUnit::table_func, and UNREACHABLE.
Referenced by TableFunctionExecutionContext::launchCpuCode(), and TableFunctionExecutionContext::launchGpuCode().