TreatBoundaryGpu implemented