Added kernel argument deduction