10 #ifdef KERNEL_INTEGRATE_TRAJECTORY 32 const float l_trajectory) {
37 atomic_add(slt, (uint)(l_trajectory+0.5f));
43 #ifdef KERNEL_INTEGRATE_TRAJECTORY 73 __global uint *slt, __global uint *slc,
74 const float l_trajectory) {
80 atomic_add(slt, (uint)(l_trajectory+0.5f));
static void atomic_write_sl_data(__global uint *slt, __global uint *slc, const float l_trajectory)
Add the current streamline length (l_trajectory) to the current pixel of the slt accumulation array...
static void check_atomic_write_sl_data(const uint idx, uint *prev_idx, const bool mask_flag, __global uint *slt, __global uint *slc, const float l_trajectory)
Extended version of atomic_write_sl_data() to include testing whether the current pixel is masked...