chundoong-lab-ta/APWS23/ans/integral_gpu_ans.cu

21 lines
254 B
Plaintext
Raw Normal View History

2023-02-09 01:28:51 +09:00
#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() {
}