working on hmm-gpu