OK, I see.
BTW, for dims=2, these localSizes: 256w x 1h / 64w x 4h can be optimal (maxWorkGroupSize = 256).