Update primesmp.c for new API
smptest API update