PERF: improvements to CUDA JIT when memory is linear
PERF: improvements to OpenCL JIT when memory is linear
EXAMPLE: Monte Carlo estimation of PI