Are you able to reproduce the error by creating a random tensor in the shape of the accumulated generator output?
The initial error points to a wrong configuration, which might be triggered by a wrong kernel launch given the shape, but we would at least need to know the layer and the input shape for further debugging.