{"action":"created","issue":{"url":"https://api.github.com/repos/torch/torch7/issues/916","repository_url":"https://api.github.com/repos/torch/torch7","labels_url":"https://api.github.com/repos/torch/torch7/issues/916/labels{/name}","comments_url":"https://api.github.com/repos/torch/torch7/issues/916/comments","events_url":"https://api.github.com/repos/torch/torch7/issues/916/events","html_url":"https://github.com/torch/torch7/issues/916","id":201769615,"number":916,"title":"Unable to detect AVX2 in simd.h","user":{"login":"Jokeren","id":2306281,"avatar_url":"https://avatars.githubusercontent.com/u/2306281?v=3","gravatar_id":"","url":"https://api.github.com/users/Jokeren","html_url":"https://github.com/Jokeren","followers_url":"https://api.github.com/users/Jokeren/followers","following_url":"https://api.github.com/users/Jokeren/following{/other_user}","gists_url":"https://api.github.com/users/Jokeren/gists{/gist_id}","starred_url":"https://api.github.com/users/Jokeren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jokeren/subscriptions","organizations_url":"https://api.github.com/users/Jokeren/orgs","repos_url":"https://api.github.com/users/Jokeren/repos","events_url":"https://api.github.com/users/Jokeren/events{/privacy}","received_events_url":"https://api.github.com/users/Jokeren/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-19T05:42:53Z","updated_at":"2017-02-02T13:38:04Z","closed_at":null,"body":"Hi, @rguthrie3 @soumith \r\n\r\nI and @pavanky found that it cannot detect AVX2 support, and I figure out two mistakes:\r\n\r\n1. `CPUID_AVX2_BIT` should be **0x20** instead of **0x10**. (The 5th bit start from **0**). \r\n\r\n2. After setting c=0x0,  the `asm volatile ( \"cpuid\\n\\t\"  : \"+a\"(a), \"=b\"(b), \"+c\"(c), \"=d\"(d) );` statement works.\r\n\r\nHowever, `__get_cpuid()` is still unable to show the support of `AVX2` with g++ 4.8.4."},"comment":{"url":"https://api.github.com/repos/torch/torch7/issues/comments/276958945","html_url":"https://github.com/torch/torch7/issues/916#issuecomment-276958945","issue_url":"https://api.github.com/repos/torch/torch7/issues/916","id":276958945,"user":{"login":"Jokeren","id":2306281,"avatar_url":"https://avatars.githubusercontent.com/u/2306281?v=3","gravatar_id":"","url":"https://api.github.com/users/Jokeren","html_url":"https://github.com/Jokeren","followers_url":"https://api.github.com/users/Jokeren/followers","following_url":"https://api.github.com/users/Jokeren/following{/other_user}","gists_url":"https://api.github.com/users/Jokeren/gists{/gist_id}","starred_url":"https://api.github.com/users/Jokeren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jokeren/subscriptions","organizations_url":"https://api.github.com/users/Jokeren/orgs","repos_url":"https://api.github.com/users/Jokeren/repos","events_url":"https://api.github.com/users/Jokeren/events{/privacy}","received_events_url":"https://api.github.com/users/Jokeren/received_events","type":"User","site_admin":false},"created_at":"2017-02-02T13:38:04Z","updated_at":"2017-02-02T13:38:04Z","body":"Bug fix, https://github.com/torch/torch7/pull/924"}}
{"actor":{"display_login":"Jokeren"}}