parallelized kernel templates