run it on CPU hostcode