Giving Notice

Hello, I have just accepted an offer and will be giving notice to my current employer. Who should I give my notice to? I work at a small CPA firm - about 30 people. Should I give the notice to my direct supervisor or should I give it to the managing partner? I was planning on going to discuss with my direct supervisor and having a written formal resignation given to the managing partner. Is this normal? Or should I give written to both?