chundoong-lab-ta/APWS23/sum-reduction/reduction.h

10 lines
226 B
C
Raw Normal View History

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();