gpu: check reuse and access to consecutive elements within kernel