I'm an Indian immigrant working in a large Bay Area Tech company and caste is definitely a thing. At another tech company I worked at the CTO and everyone under him i.e 4/6 VPs was Brahmin. An anecdote - I tried to get a position in the CTO organization and the first question his underling asked me was my full name. Now, corporate email already has your first and last name but he was fishing for my "caste" name. He also wanted to know were my parents were from. Now it's possible he wanted to find some common ground, but for people who are not from the upper castes and part of the inner circle. You don't know, if this question is going to be used to give you less preferential treatment.
I'm not saying the majority of upper caste folks discriminate, in fact I got my first job due to someone who was upper caste referring me. But there definitely are some bad apples. Based on my off the cuff discussion with other Indians, they've definitely noticed preferential treatment within Brahmins and certain upper castes especially when they make up the vast majority of the workforce (80%+)