Pass example test on GPU; Add zigzag input generator