OmniSciDB
a5dc49c757
|
Functions | |
template<typename T > | |
TEMPLATE_INLINE int32_t | mandelbrot_pixel (const T cx, const T cy, const int32_t max_iterations) |
DEVICE double | get_scale (const double domain_min, const double domain_max, const int32_t num_bins) |
template<typename T > | |
TEMPLATE_NOINLINE void | mandelbrot_impl (const int32_t x_pixels, const int32_t y_begin, const int32_t y_end, const T x_min, const T y_min, const T x_scale, const T y_scale, const int32_t max_iterations, Column< T > &output_x, Column< T > &output_y, Column< int32_t > &output_num_iterations) |
template<typename T > | |
TEMPLATE_NOINLINE int32_t | mandelbrot_cpu_template (TableFunctionManager &mgr, const int32_t x_pixels, const int32_t y_pixels, const T x_min, const T x_max, const T y_min, const T y_max, const int32_t max_iterations, Column< T > &output_x, Column< T > &output_y, Column< int32_t > &output_num_iterations) |
|
inline |
Definition at line 63 of file ExampleTableFunctions.cpp.
Referenced by mandelbrot_cpu_template().
TEMPLATE_NOINLINE int32_t Mandelbrot::mandelbrot_cpu_template | ( | TableFunctionManager & | mgr, |
const int32_t | x_pixels, | ||
const int32_t | y_pixels, | ||
const T | x_min, | ||
const T | x_max, | ||
const T | y_min, | ||
const T | y_max, | ||
const int32_t | max_iterations, | ||
Column< T > & | output_x, | ||
Column< T > & | output_y, | ||
Column< int32_t > & | output_num_iterations | ||
) |
Definition at line 116 of file ExampleTableFunctions.cpp.
References get_scale(), mandelbrot_impl(), threading_serial::parallel_for(), TableFunctionManager::set_output_row_size(), and heavydb.dtypes::T.
TEMPLATE_NOINLINE void Mandelbrot::mandelbrot_impl | ( | const int32_t | x_pixels, |
const int32_t | y_begin, | ||
const int32_t | y_end, | ||
const T | x_min, | ||
const T | y_min, | ||
const T | x_scale, | ||
const T | y_scale, | ||
const int32_t | max_iterations, | ||
Column< T > & | output_x, | ||
Column< T > & | output_y, | ||
Column< int32_t > & | output_num_iterations | ||
) |
Definition at line 77 of file ExampleTableFunctions.cpp.
References mandelbrot_pixel(), and heavydb.dtypes::T.
Referenced by mandelbrot_cpu_template().
TEMPLATE_INLINE int32_t Mandelbrot::mandelbrot_pixel | ( | const T | cx, |
const T | cy, | ||
const int32_t | max_iterations | ||
) |
Definition at line 33 of file ExampleTableFunctions.cpp.
References heavydb.dtypes::T.
Referenced by mandelbrot_impl().