removed the templatization from the Fermi kernel, replaced it with dynamic shared memory assignment.