parameters in P100

How many blocks can I allocate in Nivida GPU P100 card?