See [test_helper_func.c:440](https://github.com/HSAFoundation/HSA-Runtime-Conformance/tree/master/src/core/api/test_helper_func.c#L440) The helper function does not cycle back to the first element after the last one is written. Pull request #12 fixes the issue.