Assign or reset device variable once per kernel launch

Is it possible to have a single device variable that is reset to a given value only once per kernel launch without using CPU code?