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>
double reduction_cpu(double* A, size_t num_elements);
void reduction_gpu_initialize(size_t num_elements);
double reduction_gpu(double* A, size_t num_elements);
void reduction_gpu_finalize();