GPGPU: use current 'Index' to find slot in parameter array
Before this change we used the array index, which would result in us accessing the parameter array out-of-bounds. This bug was visible for test cases where not all arrays in a scop are passed to a given kernel. llvm-svn: 276961
Loading
Please sign in to comment