21 lines
254 B
Plaintext
21 lines
254 B
Plaintext
|
#include "integral.h"
|
||
|
|
||
|
|
||
|
static double f(double x) {
|
||
|
return 4.0 / (1 + x * x);
|
||
|
}
|
||
|
|
||
|
void integral_gpu_initialize(size_t num_intervals) {
|
||
|
|
||
|
}
|
||
|
|
||
|
double integral_gpu(size_t num_intervals) {
|
||
|
double sum = 0;
|
||
|
return sum;
|
||
|
}
|
||
|
|
||
|
|
||
|
void integral_gpu_finalize() {
|
||
|
|
||
|
}
|