The pattern objects (`Map`, `Reduce`) offer two methods for selecting the GPU on which the pattern will be executed: - [`setGpu(Device)`](https://github.com/GMAP/GSParLib/blob/ec9c76208c8bbe5b5dcadc7bdce25cc8146b9fb1/src/GSPar_BaseParallelPattern.hpp#L565) - [`setGpuIndex(int)`](https://github.com/GMAP/GSParLib/blob/ec9c76208c8bbe5b5dcadc7bdce25cc8146b9fb1/src/GSPar_BaseParallelPattern.hpp#L497) This issue aims to add an example showing how to use these functions to select the GPU.