add run_1d method to kernel