The only way you can catch HIV from someone you shared a blunt with, is if you both have unprotected sex with each other and only then if one of you is HIV+.
I have had one or two swollen eyes and ice always works best for me. Heat will only make blood flow to the area causing more swelling.