The src1 and src2 arguments are stored in the schedule as references. The associated objects must persist for the lifetime of the constructed schedule.