A joint learning approach for genomic prediction in polyploid grasses