l2norm generated CUDA code