10 lines
226 B
C
10 lines
226 B
C
|
#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();
|