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
parent
4e18d71c
Please register or sign in to comment