Compute influence function on GPU