In the tutorial here 6 you use dispatch to initialize template cuda kernels that has one template type.
Can you make an example how to use such dispatch mechanism when the kernel has multiple template types?