And which major focuses more on nanoelectronics, electrical engineering or computer engineering?
It really doesn’t matter. Look at the job listings for engineers working on GPUs at the big GPU companies, like NVIDIA and AMD. Their job listings almost always say “electrical or computer engineering” or even just “engineering”, and/or “computer science.”