control cube cache, wirting in GPU