2023-02-09 01:28:51 +09:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <cstdlib>
|
|
|
|
|
2023-02-14 01:23:28 +09:00
|
|
|
double reduction_cpu(double *A, size_t num_elements);
|
2023-02-09 01:28:51 +09:00
|
|
|
|
|
|
|
void reduction_gpu_initialize(size_t num_elements);
|
2023-02-14 01:23:28 +09:00
|
|
|
double reduction_gpu(double *A, size_t num_elements);
|
2023-02-09 01:28:51 +09:00
|
|
|
void reduction_gpu_finalize();
|