Whole means complete and is used with singular nouns.
All means every one of, or all of and is used with plural and uncountable nouns.
- Did you eat the whole cake I made for you?
- Did you eat all the cakes I made for you?
- I have put all my money into a bank.