Both are cold Spanish soups, but there is a difference between the two.  Tomato, garlic and bread are the main ingredients in salmorejo.  Gazpacho is made from a combination of fruit, vegetables and herbs and is typically a thinner soup.