{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4775","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4775/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4775/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4775/events","html_url":"https://github.com/tensorflow/tensorflow/issues/4775","id":181133138,"number":4775,"title":"Compile tensorflow with compile option \"-xMIC-AVX512\" does not work","user":{"login":"sjlee7748","id":20793298,"avatar_url":"https://avatars.githubusercontent.com/u/20793298?v=3","gravatar_id":"","url":"https://api.github.com/users/sjlee7748","html_url":"https://github.com/sjlee7748","followers_url":"https://api.github.com/users/sjlee7748/followers","following_url":"https://api.github.com/users/sjlee7748/following{/other_user}","gists_url":"https://api.github.com/users/sjlee7748/gists{/gist_id}","starred_url":"https://api.github.com/users/sjlee7748/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjlee7748/subscriptions","organizations_url":"https://api.github.com/users/sjlee7748/orgs","repos_url":"https://api.github.com/users/sjlee7748/repos","events_url":"https://api.github.com/users/sjlee7748/events{/privacy}","received_events_url":"https://api.github.com/users/sjlee7748/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-05T11:56:30Z","updated_at":"2016-10-05T18:25:09Z","closed_at":null,"body":"Hi, All\r\n\r\n\r\nI want to use AVX512 with tensorflow because vectorization can increase performance.\r\nIn addition, building any program with icpc(Intel compiler) and compile option \"-xMIC-AVX512\" can vectorize automatically in state-of-art Intel machine.\r\nSo, I use the command as below:\r\n\r\n`CC=icpc bazel build -c opt --copt=-xMIC-AVX512 //tensorflow/tools/pip_package:build_pip_package`\r\n\r\nBut when I type the command, build does not work.\r\n\r\n### What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?\r\n- Nothing exist related my issue in GitHub or StackOverflow\r\n\r\n### Environment info\r\n- Operating System: Centos 7.2.1511 \r\n- Tensorflow version: r0.10.0 source code version\r\n- Only use CPU\r\n\r\n### What other attempted solutions have you tried?\r\nAs far as I know, linear algebra library for Tensorflow is \"Eigen library\" and SIMD vectorizations(like SSE, AVX, etc.) are applied to the Eigen library.\r\nSo, I changed Eigen source code to apply the AVX512 and gcc compile option \"-mavx512f\" referring two links([eigen bug report](http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1306), [Benoit Steiner's Bitbucket](https://bitbucket.org/benoitsteiner/eigen-avx512)), but I didn't apply AVX512 because there was little information about that.\r\n\r\nIf someone know the method about applying AVX512 or the date to release Eigen version with AVX512,  please tell me about that.\r\n\r\nThank you very much."},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/251757671","html_url":"https://github.com/tensorflow/tensorflow/issues/4775#issuecomment-251757671","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4775","id":251757671,"user":{"login":"yaroslavvb","id":23068,"avatar_url":"https://avatars.githubusercontent.com/u/23068?v=3","gravatar_id":"","url":"https://api.github.com/users/yaroslavvb","html_url":"https://github.com/yaroslavvb","followers_url":"https://api.github.com/users/yaroslavvb/followers","following_url":"https://api.github.com/users/yaroslavvb/following{/other_user}","gists_url":"https://api.github.com/users/yaroslavvb/gists{/gist_id}","starred_url":"https://api.github.com/users/yaroslavvb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaroslavvb/subscriptions","organizations_url":"https://api.github.com/users/yaroslavvb/orgs","repos_url":"https://api.github.com/users/yaroslavvb/repos","events_url":"https://api.github.com/users/yaroslavvb/events{/privacy}","received_events_url":"https://api.github.com/users/yaroslavvb/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T18:25:09Z","updated_at":"2016-10-05T18:25:09Z","body":"BTW, I ran all the tf tests under avx2 about 12 months ago, and there were several ops which gave incorrect answers or failed (alignment problems). At that point @benoitsteiner has fixed them in Eigen, but I'm not sure anyone tried testing advanced flags since then (it's not part of CI pipeline for sure), so there's a chance you get unexpected/incorrect results"}}
{"actor":{"display_login":"yaroslavvb"}}