CPPuddle
Loading...
Searching...
No Matches
work_aggregation_cpu_triad.cpp File Reference
#include <hpx/futures/future.hpp>
#include "cppuddle/common/config.hpp"
#include "cppuddle/memory_recycling/std_recycling_allocators.hpp"
#include "cppuddle/kernel_aggregation/kernel_aggregation_interface.hpp"
#include <boost/program_options.hpp>
Include dependency graph for work_aggregation_cpu_triad.cpp:

Classes

struct  Dummy_Executor
 Dummy CPU executor (providing correct interface but running everything immediately Intended for testing the aggregation on the CPU, not for production use! More...
struct  CPPUDDLE_HPX_EXECUTOR_SPECIALIZATION_NS::is_one_way_executor< Dummy_Executor >
struct  CPPUDDLE_HPX_EXECUTOR_SPECIALIZATION_NS::is_two_way_executor< Dummy_Executor >

Namespaces

namespace  CPPUDDLE_HPX_EXECUTOR_SPECIALIZATION_NS

Functions

template<typename float_t>
void triad_kernel (float_t *A, const float_t *B, const float_t *C, const float_t scalar, const size_t start_id, const size_t kernel_size, const size_t problem_size)
int hpx_main (int argc, char *argv[])
int main (int argc, char *argv[])

Variables

std::atomic< size_t > launch_counter = 0

Function Documentation

◆ hpx_main()

int hpx_main ( int argc,
char * argv[] )

◆ main()

int main ( int argc,
char * argv[] )

◆ triad_kernel()

template<typename float_t>
void triad_kernel ( float_t * A,
const float_t * B,
const float_t * C,
const float_t scalar,
const size_t start_id,
const size_t kernel_size,
const size_t problem_size )

Variable Documentation

◆ launch_counter

std::atomic<size_t> launch_counter = 0