slm: OpenCL code base  0.1
opencl Directory Reference

Files

file  channelheads.cl [code]
 Kernels to map provisional channel heads and the prune those not on thin channels.
 
file  computestep.cl [code]
 Compute single streamline integration step.
 
file  connect.cl [code]
 Kernels to connect discontinous and dangling channels.
 
 
file  essentials.cl [code]
 Essential functions for streamline trajectory integration.
 
file  info.h [code]
 Dummy example header that mimics the macro parameters passed to the CL compiler.
 
file  integration.cl [code]
 Streamline trajectory integration kernel and related tracing functions.
 
file  integrationfns.cl [code]
 Adaptive 1st or 2nd order Runge-Kutta single-stepping functions.
 
file  label.cl [code]
 Kernel to map channel confluences and identify their major & minor upstream pixels.
 
file  lengths.cl [code]
 Kernel to measure distances from midslope to thin channel pixels aka hillslope length.
 
file  rng.cl [code]
 Lehmer linear-congruential random number generator functions (uint and float2 vector)
 
file  segment.cl [code]
 Kernels to (sub)segment landscape into smallish patches from channels to ridges.
 
file  trajectory.cl [code]
 Streamline integration functions.
 
file  trajectoryfns.cl [code]
 Various functions to compute trajectories and record data along them.
 
file  writearray.cl [code]
 Functions to write to slc & slc grid arrays using atomic ops (mask-checked and not)