Recreational marijuana was legalized in California a couple of years ago. I can’t comment on UCSD, but it’s not uncommon to catch whiffs of pot smoke around UCLA’s campus or in Westwood.
Personally, I’d find it hard to turn down UBC. Great academics with a solid CS program and the best Asian studies program of the bunch, a beautiful wooded campus, and an awesome city.