North Korea's Kim Jong Un and Chinese President Xi Jinping came to an understanding on issues that were discussed at a summit between the two leaders, including denuclearization of the Korean peninsula, the North's state media said on Wednesday.

Kim and Xi assessed the historic meeting Kim had with U.S. President Donald Trump in Singapore last week and exchanged opinions on ways to resolve the issue of denuclearization, Korean Central News Agency (KCNA) said.

The North Korean leader also promised during a meeting with Xi in Beijing to cooperate with Chinese officials to secure "true peace" in the process of "opening a new future" on the Korean peninsula, it said.

Kim's two-day visit to Beijing will end later on Wednesday, according to state media from China and North Korea. It follows his Singapore summit, where Kim and Trump reaffirmed a commitment to work towards complete denuclearization of the Korean peninsula.

Trump surprised officials in South Korea and the United States after that meeting by saying he would end "provocative" joint U.S.-South Korean military exercises. The United States and South Korea said on Tuesday they had agreed to suspend a joint military exercise scheduled for August, although decisions regarding subsequent drills have not yet been made.