trying out gpu pattern generation