Skip to content

Commit 23327ec

Browse files
committed
revert tiny changes
1 parent 3589b64 commit 23327ec

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src_cuda_rt/Raytracer.cu

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ namespace
3535
{
3636
cuda_safe_call(cudaMemcpy(cpu_data, gpu_data, length*sizeof(T), cudaMemcpyDeviceToHost));
3737
}
38-
38+
39+
3940
__global__
4041
void create_knull_grid(
4142
const Vector<int> grid_cells, const Float k_ext_null_min,
@@ -164,6 +165,7 @@ namespace
164165
}
165166
}
166167

168+
167169
__global__
168170
void count_to_flux_2d(
169171
const Vector<int> grid_cells, const Float photons_per_col, const Float toa_src,
@@ -294,7 +296,6 @@ void Raytracer::trace_rays(
294296
tau_aeros.ptr(), ssa_aeros.ptr(), asy_aeros.ptr(),
295297
k_ext.ptr(), scat_asy.ptr());
296298

297-
298299
// create k_null_grid
299300
const int block_kn_x = 8;
300301
const int block_kn_y = 8;

src_test/test_rt_lite.cu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ void solve_radiation(int argc, char** argv)
411411

412412
cudaEventRecord(start, 0);
413413
// do something.
414+
414415
raytracer.trace_rays(
415416
0,
416417
switch_independent_column,

0 commit comments

Comments
 (0)