If you marry in a U.S. State that recognizes same sex marriage then you both can apply for a conditional permanent residency visa on the the basis of an EB-5 investment. However,if you marry in your home country that does not authorize same sex marriage then you may have issues for both of you applying for U.S.Residency.