support device type `cpu` generate

#26

support device type cpu generate

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment