If they are really carpenter ants, and the poision doesn’t kill them off, I’d seek some pro advice - those things can cause structural damage to your house.
I am besieged with tiny, tiny ants all over the counter. I have cunningly set out ant traps and spent part of a hot endless day sullenly smooshing them with a tissue. Beats last year, when there was a leak in the kitchen ceiling that actually made a hole, and I saw dozens of HUGE black carpenter ants all over the place. Eating the insides of the walls. Ughhhhh!