Commit d6b6459e authored by Ryan Gutenkunst's avatar Ryan Gutenkunst
Browse files

Remove unused kernels from fscalc experiments

parent ec968f8e
......@@ -144,21 +144,3 @@ __global__ void compute_bc_nobc(double *dx, double *dfactor,
c[ii*M + jj] = -dfactor[ii]*ctemp;
}
}
__global__ void diff_iny_2D(double *in, double *out, int L, int M){
int ii = (blockIdx.x*blockDim.x + threadIdx.x) / (M-1);
int jj = (blockIdx.x*blockDim.x + threadIdx.x) % (M-1);
if(ii < L){
out[ii*(M-1) + jj] = in[ii*M+jj+1] - in[ii*M+jj];
}
}
__global__ void drop_last_col_2D(double *in, double *out, int L, int M){
int ii = (blockIdx.x*blockDim.x + threadIdx.x) / (M-1);
int jj = (blockIdx.x*blockDim.x + threadIdx.x) % (M-1);
if(ii < L){
out[ii*(M-1) + jj] = in[ii*M+jj];
}
}
\ No newline at end of file
......@@ -18,5 +18,3 @@ _cx0 = mod.get_function("cx0")
_compute_ab_nobc = mod.get_function("compute_ab_nobc")
_compute_bc_nobc = mod.get_function("compute_bc_nobc")
_include_bc = mod.get_function("include_bc")
\ No newline at end of file
diff_iny_2D = mod.get_function("diff_iny_2D")
drop_last_col_2D = mod.get_function("drop_last_col_2D")
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment