Text this: CUDA optimization strategies for compute- and memory-bound neuroimaging algorithms