What are the main factors which determines if a star becomes a black hole?

The mass of the host star.