Mulayam was among the first to reach the CM's official 5, Kalidas Marg residence here.
Governor Ram Naik, deputy chief ministers Keshav Maurya and Dinesh Sharma, a number of UP ministers and senior BJP leaders also attended the dinner.
However, SP president and former chief minister Akhilesh Yadav did not attend it.
"No, he (Akhilesh) will not be attending the dinner," SP spokesperson Rajendra Chaudhary told PTI when asked whether the party president would be at the table with Modi.
More From This Section
The BSP chief had yesterday said that her party is positive about the NDA nominating Ram Nath Kovind for the presidential election but wished that the ruling alliance had named a non-political Dalit candidate for the top post.
"Although Kovind has been associated with the RSS and the BJP from the beginning but as he is a Dalit, our party's stand towards him cannot be negative. It will be positive, provided Opposition parties do not field any Dalit for the post, who is more capable and popular than him," she had said.
Earlier in the day today, Mulayam, who is the SP patron, extended his support to the NDA presidential nominee Ram Nath Kovind, saying he is a deserving candidate.
Mulayam had earlier indicated that he would back the NDA candidate even before the announcement of Kovind's name for the top constitutional post.
Nominations for the Presidential elections, to be held on July 17, ends on June 28.
The BJP had yesterday stumped the opposition parties by announcing the name of Kovind, a Kori (Dalit) from Uttar Pradesh.
On the first day of his visit, he inaugurated the new building of Abdul Kalam Technical University (AKTU) and visited the Central Drug Research Institute (CDRI) here.
He will spend the night at Raj Bhawan.