OmniSciDB
a667adc9c8
|
Enumerations | |
enum | { ERROR_BUFFER, COL_BUFFERS, COL_SIZES, OUTPUT_BUFFERS, OUTPUT_ROW_COUNT, KERNEL_PARAM_COUNT } |
Functions | |
template<typename T > | |
const int8_t * | create_literal_buffer (T 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 | |
---|---|
ERROR_BUFFER | |
COL_BUFFERS | |
COL_SIZES | |
OUTPUT_BUFFERS | |
OUTPUT_ROW_COUNT | |
KERNEL_PARAM_COUNT |
Definition at line 313 of file TableFunctionExecutionContext.cpp.
const int8_t* anonymous_namespace{TableFunctionExecutionContext.cpp}::create_literal_buffer | ( | T | literal, |
const ExecutorDeviceType | device_type, | ||
std::vector< std::unique_ptr< char[]>> & | literals_owner, | ||
CudaAllocator * | gpu_allocator | ||
) |
Definition at line 28 of file TableFunctionExecutionContext.cpp.
References CudaAllocator::alloc(), CHECK, CHECK_LE, CudaAllocator::copyToDevice(), CPU, GPU, omnisci.dtypes::T, and UNREACHABLE.
Referenced by TableFunctionExecutionContext::execute().
size_t anonymous_namespace{TableFunctionExecutionContext.cpp}::get_output_row_count | ( | const TableFunctionExecutionUnit & | exe_unit, |
size_t | input_element_count | ||
) |
Definition at line 51 of file TableFunctionExecutionContext.cpp.
References table_functions::TableFunction::getOutputRowSizeType(), table_functions::kConstant, table_functions::kUserSpecifiedConstantParameter, table_functions::kUserSpecifiedRowMultiplier, TableFunctionExecutionUnit::output_buffer_size_param, TableFunctionExecutionUnit::table_func, and UNREACHABLE.
Referenced by TableFunctionExecutionContext::launchCpuCode(), and TableFunctionExecutionContext::launchGpuCode().