The Rockets are in advanced talks on a cap-clearing trade of forward Thomas Robinson, with a deal potentially “imminent,” a person with knowledge of their plans said on Tuesday.

The Cleveland Cavaliers and San Antonio Spurs have shown interest in Robinson, according to another individual with knowledge of the Rockets efforts to move Robinson’s $3.5 million salary next season. Though it would be difficult for the Spurs to make any sort of deal for Robinson directly with the Rockets and would likely have to add a third team in a larger deal.

The Rockets have also had talks with the Chicago Bulls, according to the person familiar with negotiations so far, but he said that unlike with the Spurs and Cavaliers, he did not know if the Bulls were interested in Robinson or could be part of a larger deal.

The Rockets would want to move Robinson without bringing back corresponding salary to clear enough cap room to offer a max contract in free agency next month. They would have to clear roughly the equivalent of Robinson’s contract next season to have enough cap room to offer Dwight Howard his maximum salary.

There are 16 teams with the cap room, trade exceptions or non-guaranteed contracts needed to make such a deal without sending the Rockets corresponding salaries.

The Cavaliers can make that kind of deal with some of their available cap room. In addition to their own pick, the Cavaliers have the 19th pick and two second-round picks before the Rockets’ selection with the 34th pick.

The Bulls are over the cap, but have a trade exception that is large enough to make a deal that will expire next month. The Bulls have the 20th pick in the draft.

The Spurs have only their own pick, the 28th pick overall, in Thursday’s first round and would not seem to have a way to make such a trade possible directly with the Rockets.