{"action":"created","issue":{"url":"https://api.github.com/repos/NervanaSystems/neon/issues/218","repository_url":"https://api.github.com/repos/NervanaSystems/neon","labels_url":"https://api.github.com/repos/NervanaSystems/neon/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/NervanaSystems/neon/issues/218/comments","events_url":"https://api.github.com/repos/NervanaSystems/neon/issues/218/events","html_url":"https://github.com/NervanaSystems/neon/issues/218","id":141606649,"number":218,"title":"Does neno CPU backend support native C code?","user":{"login":"jinhou","id":7037235,"avatar_url":"https://avatars.githubusercontent.com/u/7037235?v=3","gravatar_id":"","url":"https://api.github.com/users/jinhou","html_url":"https://github.com/jinhou","followers_url":"https://api.github.com/users/jinhou/followers","following_url":"https://api.github.com/users/jinhou/following{/other_user}","gists_url":"https://api.github.com/users/jinhou/gists{/gist_id}","starred_url":"https://api.github.com/users/jinhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinhou/subscriptions","organizations_url":"https://api.github.com/users/jinhou/orgs","repos_url":"https://api.github.com/users/jinhou/repos","events_url":"https://api.github.com/users/jinhou/events{/privacy}","received_events_url":"https://api.github.com/users/jinhou/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NervanaSystems/neon/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-17T14:55:04Z","updated_at":"2016-03-17T17:27:31Z","closed_at":null,"body":"Hi, I am wondered the CPU backend is implemented with python code or native C code? I am trying to run the example code with only CPU. It seemed that only one CPU core was utilized. \r\n\r\nThanks\r\nJinlong"},"comment":{"url":"https://api.github.com/repos/NervanaSystems/neon/issues/comments/197987333","html_url":"https://github.com/NervanaSystems/neon/issues/218#issuecomment-197987333","issue_url":"https://api.github.com/repos/NervanaSystems/neon/issues/218","id":197987333,"user":{"login":"hanlin-nervana","id":17010519,"avatar_url":"https://avatars.githubusercontent.com/u/17010519?v=3","gravatar_id":"","url":"https://api.github.com/users/hanlin-nervana","html_url":"https://github.com/hanlin-nervana","followers_url":"https://api.github.com/users/hanlin-nervana/followers","following_url":"https://api.github.com/users/hanlin-nervana/following{/other_user}","gists_url":"https://api.github.com/users/hanlin-nervana/gists{/gist_id}","starred_url":"https://api.github.com/users/hanlin-nervana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanlin-nervana/subscriptions","organizations_url":"https://api.github.com/users/hanlin-nervana/orgs","repos_url":"https://api.github.com/users/hanlin-nervana/repos","events_url":"https://api.github.com/users/hanlin-nervana/events{/privacy}","received_events_url":"https://api.github.com/users/hanlin-nervana/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T17:27:31Z","updated_at":"2016-03-17T17:27:31Z","body":"Hi Jinlong,\r\n\r\nSince the CPU backend wraps numpy, you can install OpenBLAS (see optional packages udner http://neon.nervanasys.com/docs/latest/installation.html) to enable multi-core CPU. You would have to do the following within the neon virtual environment:\r\n1. Install OpenBLAS (http://www.openblas.net/)\r\n2. Reinstall and configure numpy for OpenBLAS [edit numpy's site.cfg file and link to your openblas library] \r\n\r\nHere are sample instructions for ubuntu OS: https://hunseblog.wordpress.com/2014/09/15/installing-numpy-and-openblas/"}}