tested spk detection, this code for comparing coltage traces on cpu and gpu