2023-02-09 01:28:51 +09:00
|
|
|
#include "integral.h"
|
|
|
|
|
2023-02-14 01:23:28 +09:00
|
|
|
static double f(double x) { return 4.0 / (1 + x * x); }
|
2023-02-09 01:28:51 +09:00
|
|
|
|
2023-02-14 01:23:28 +09:00
|
|
|
void integral_gpu_initialize(size_t num_intervals) {}
|
2023-02-09 01:28:51 +09:00
|
|
|
|
|
|
|
double integral_gpu(size_t num_intervals) {
|
|
|
|
double sum = 0;
|
|
|
|
return sum;
|
|
|
|
}
|
|
|
|
|
2023-02-14 01:23:28 +09:00
|
|
|
void integral_gpu_finalize() {}
|