Change GPUExecutionState class to inner class