{"action":"created","comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments/84134881","pull_request_review_id":4931568,"id":84134881,"diff_hunk":"@@ -882,7 +882,13 @@ Status BaseGPUDeviceFactory::GetValidDeviceIds(\n   if (visible_device_list.empty()) {\n     visible_gpu_order.resize(gpu_manager->VisibleDeviceCount());\n     // By default, visible to virtual mapping is unchanged.\n+#if defined(PLATFORM_WINDOWS)","path":"tensorflow/core/common_runtime/gpu/gpu_device.cc","position":4,"original_position":4,"commit_id":"08d9a75cf77bd8b2d7b21f6c8578881998e78e1b","original_commit_id":"08d9a75cf77bd8b2d7b21f6c8578881998e78e1b","user":{"login":"vrv","id":463737,"avatar_url":"https://avatars.githubusercontent.com/u/463737?v=3","gravatar_id":"","url":"https://api.github.com/users/vrv","html_url":"https://github.com/vrv","followers_url":"https://api.github.com/users/vrv/followers","following_url":"https://api.github.com/users/vrv/following{/other_user}","gists_url":"https://api.github.com/users/vrv/gists{/gist_id}","starred_url":"https://api.github.com/users/vrv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrv/subscriptions","organizations_url":"https://api.github.com/users/vrv/orgs","repos_url":"https://api.github.com/users/vrv/repos","events_url":"https://api.github.com/users/vrv/events{/privacy}","received_events_url":"https://api.github.com/users/vrv/received_events","type":"User","site_admin":false},"body":"if std::iota isn't available on windows but std::generate works on all platforms, perhaps we just use the std::generate version and avoid the ifdef","created_at":"2016-10-19T18:22:14Z","updated_at":"2016-10-19T18:22:14Z","html_url":"https://github.com/tensorflow/tensorflow/pull/5071#discussion_r84134881","pull_request_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/5071","_links":{"self":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments/84134881"},"html":{"href":"https://github.com/tensorflow/tensorflow/pull/5071#discussion_r84134881"},"pull_request":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/5071"}}},"pull_request":{"url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/5071","id":90059842,"html_url":"https://github.com/tensorflow/tensorflow/pull/5071","diff_url":"https://github.com/tensorflow/tensorflow/pull/5071.diff","patch_url":"https://github.com/tensorflow/tensorflow/pull/5071.patch","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5071","number":5071,"state":"open","locked":false,"title":"support for gpu on windows","user":{"login":"guschmue","id":22941064,"avatar_url":"https://avatars.githubusercontent.com/u/22941064?v=3","gravatar_id":"","url":"https://api.github.com/users/guschmue","html_url":"https://github.com/guschmue","followers_url":"https://api.github.com/users/guschmue/followers","following_url":"https://api.github.com/users/guschmue/following{/other_user}","gists_url":"https://api.github.com/users/guschmue/gists{/gist_id}","starred_url":"https://api.github.com/users/guschmue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guschmue/subscriptions","organizations_url":"https://api.github.com/users/guschmue/orgs","repos_url":"https://api.github.com/users/guschmue/repos","events_url":"https://api.github.com/users/guschmue/events{/privacy}","received_events_url":"https://api.github.com/users/guschmue/received_events","type":"User","site_admin":false},"body":"code changes to enable gpu support for windows","created_at":"2016-10-19T17:57:33Z","updated_at":"2016-10-19T18:22:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f2b42a67cf5c7194923c78a45bc4ae0d03be7f3","assignee":{"login":"mrry","id":192142,"avatar_url":"https://avatars.githubusercontent.com/u/192142?v=3","gravatar_id":"","url":"https://api.github.com/users/mrry","html_url":"https://github.com/mrry","followers_url":"https://api.github.com/users/mrry/followers","following_url":"https://api.github.com/users/mrry/following{/other_user}","gists_url":"https://api.github.com/users/mrry/gists{/gist_id}","starred_url":"https://api.github.com/users/mrry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrry/subscriptions","organizations_url":"https://api.github.com/users/mrry/orgs","repos_url":"https://api.github.com/users/mrry/repos","events_url":"https://api.github.com/users/mrry/events{/privacy}","received_events_url":"https://api.github.com/users/mrry/received_events","type":"User","site_admin":false},"assignees":[{"login":"mrry","id":192142,"avatar_url":"https://avatars.githubusercontent.com/u/192142?v=3","gravatar_id":"","url":"https://api.github.com/users/mrry","html_url":"https://github.com/mrry","followers_url":"https://api.github.com/users/mrry/followers","following_url":"https://api.github.com/users/mrry/following{/other_user}","gists_url":"https://api.github.com/users/mrry/gists{/gist_id}","starred_url":"https://api.github.com/users/mrry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrry/subscriptions","organizations_url":"https://api.github.com/users/mrry/orgs","repos_url":"https://api.github.com/users/mrry/repos","events_url":"https://api.github.com/users/mrry/events{/privacy}","received_events_url":"https://api.github.com/users/mrry/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/5071/commits","review_comments_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/5071/comments","review_comment_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5071/comments","statuses_url":"https://api.github.com/repos/tensorflow/tensorflow/statuses/08d9a75cf77bd8b2d7b21f6c8578881998e78e1b","head":{"label":"guschmue:windows-gpu-0","ref":"windows-gpu-0","sha":"08d9a75cf77bd8b2d7b21f6c8578881998e78e1b","user":{"login":"guschmue","id":22941064,"avatar_url":"https://avatars.githubusercontent.com/u/22941064?v=3","gravatar_id":"","url":"https://api.github.com/users/guschmue","html_url":"https://github.com/guschmue","followers_url":"https://api.github.com/users/guschmue/followers","following_url":"https://api.github.com/users/guschmue/following{/other_user}","gists_url":"https://api.github.com/users/guschmue/gists{/gist_id}","starred_url":"https://api.github.com/users/guschmue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guschmue/subscriptions","organizations_url":"https://api.github.com/users/guschmue/orgs","repos_url":"https://api.github.com/users/guschmue/repos","events_url":"https://api.github.com/users/guschmue/events{/privacy}","received_events_url":"https://api.github.com/users/guschmue/received_events","type":"User","site_admin":false},"repo":{"id":71379298,"name":"tensorflow","full_name":"guschmue/tensorflow","owner":{"login":"guschmue","id":22941064,"avatar_url":"https://avatars.githubusercontent.com/u/22941064?v=3","gravatar_id":"","url":"https://api.github.com/users/guschmue","html_url":"https://github.com/guschmue","followers_url":"https://api.github.com/users/guschmue/followers","following_url":"https://api.github.com/users/guschmue/following{/other_user}","gists_url":"https://api.github.com/users/guschmue/gists{/gist_id}","starred_url":"https://api.github.com/users/guschmue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guschmue/subscriptions","organizations_url":"https://api.github.com/users/guschmue/orgs","repos_url":"https://api.github.com/users/guschmue/repos","events_url":"https://api.github.com/users/guschmue/events{/privacy}","received_events_url":"https://api.github.com/users/guschmue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/guschmue/tensorflow","description":"Computation using data flow graphs for scalable machine learning","fork":true,"url":"https://api.github.com/repos/guschmue/tensorflow","forks_url":"https://api.github.com/repos/guschmue/tensorflow/forks","keys_url":"https://api.github.com/repos/guschmue/tensorflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guschmue/tensorflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guschmue/tensorflow/teams","hooks_url":"https://api.github.com/repos/guschmue/tensorflow/hooks","issue_events_url":"https://api.github.com/repos/guschmue/tensorflow/issues/events{/number}","events_url":"https://api.github.com/repos/guschmue/tensorflow/events","assignees_url":"https://api.github.com/repos/guschmue/tensorflow/assignees{/user}","branches_url":"https://api.github.com/repos/guschmue/tensorflow/branches{/branch}","tags_url":"https://api.github.com/repos/guschmue/tensorflow/tags","blobs_url":"https://api.github.com/repos/guschmue/tensorflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guschmue/tensorflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guschmue/tensorflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/guschmue/tensorflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guschmue/tensorflow/statuses/{sha}","languages_url":"https://api.github.com/repos/guschmue/tensorflow/languages","stargazers_url":"https://api.github.com/repos/guschmue/tensorflow/stargazers","contributors_url":"https://api.github.com/repos/guschmue/tensorflow/contributors","subscribers_url":"https://api.github.com/repos/guschmue/tensorflow/subscribers","subscription_url":"https://api.github.com/repos/guschmue/tensorflow/subscription","commits_url":"https://api.github.com/repos/guschmue/tensorflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/guschmue/tensorflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/guschmue/tensorflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/guschmue/tensorflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/guschmue/tensorflow/contents/{+path}","compare_url":"https://api.github.com/repos/guschmue/tensorflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guschmue/tensorflow/merges","archive_url":"https://api.github.com/repos/guschmue/tensorflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guschmue/tensorflow/downloads","issues_url":"https://api.github.com/repos/guschmue/tensorflow/issues{/number}","pulls_url":"https://api.github.com/repos/guschmue/tensorflow/pulls{/number}","milestones_url":"https://api.github.com/repos/guschmue/tensorflow/milestones{/number}","notifications_url":"https://api.github.com/repos/guschmue/tensorflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guschmue/tensorflow/labels{/name}","releases_url":"https://api.github.com/repos/guschmue/tensorflow/releases{/id}","deployments_url":"https://api.github.com/repos/guschmue/tensorflow/deployments","created_at":"2016-10-19T16:54:12Z","updated_at":"2016-10-19T16:54:27Z","pushed_at":"2016-10-19T17:49:37Z","git_url":"git://github.com/guschmue/tensorflow.git","ssh_url":"git@github.com:guschmue/tensorflow.git","clone_url":"https://github.com/guschmue/tensorflow.git","svn_url":"https://github.com/guschmue/tensorflow","homepage":"http://tensorflow.org","size":64941,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tensorflow:master","ref":"master","sha":"e8822412929321899521669a1f5d0b901295b597","user":{"login":"tensorflow","id":15658638,"avatar_url":"https://avatars.githubusercontent.com/u/15658638?v=3","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"repo":{"id":45717250,"name":"tensorflow","full_name":"tensorflow/tensorflow","owner":{"login":"tensorflow","id":15658638,"avatar_url":"https://avatars.githubusercontent.com/u/15658638?v=3","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tensorflow/tensorflow","description":"Computation using data flow graphs for scalable machine learning","fork":false,"url":"https://api.github.com/repos/tensorflow/tensorflow","forks_url":"https://api.github.com/repos/tensorflow/tensorflow/forks","keys_url":"https://api.github.com/repos/tensorflow/tensorflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tensorflow/tensorflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tensorflow/tensorflow/teams","hooks_url":"https://api.github.com/repos/tensorflow/tensorflow/hooks","issue_events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/events{/number}","events_url":"https://api.github.com/repos/tensorflow/tensorflow/events","assignees_url":"https://api.github.com/repos/tensorflow/tensorflow/assignees{/user}","branches_url":"https://api.github.com/repos/tensorflow/tensorflow/branches{/branch}","tags_url":"https://api.github.com/repos/tensorflow/tensorflow/tags","blobs_url":"https://api.github.com/repos/tensorflow/tensorflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tensorflow/tensorflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tensorflow/tensorflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/tensorflow/tensorflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tensorflow/tensorflow/statuses/{sha}","languages_url":"https://api.github.com/repos/tensorflow/tensorflow/languages","stargazers_url":"https://api.github.com/repos/tensorflow/tensorflow/stargazers","contributors_url":"https://api.github.com/repos/tensorflow/tensorflow/contributors","subscribers_url":"https://api.github.com/repos/tensorflow/tensorflow/subscribers","subscription_url":"https://api.github.com/repos/tensorflow/tensorflow/subscription","commits_url":"https://api.github.com/repos/tensorflow/tensorflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/tensorflow/tensorflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/tensorflow/tensorflow/contents/{+path}","compare_url":"https://api.github.com/repos/tensorflow/tensorflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tensorflow/tensorflow/merges","archive_url":"https://api.github.com/repos/tensorflow/tensorflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tensorflow/tensorflow/downloads","issues_url":"https://api.github.com/repos/tensorflow/tensorflow/issues{/number}","pulls_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls{/number}","milestones_url":"https://api.github.com/repos/tensorflow/tensorflow/milestones{/number}","notifications_url":"https://api.github.com/repos/tensorflow/tensorflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/labels{/name}","releases_url":"https://api.github.com/repos/tensorflow/tensorflow/releases{/id}","deployments_url":"https://api.github.com/repos/tensorflow/tensorflow/deployments","created_at":"2015-11-07T01:19:20Z","updated_at":"2016-10-19T18:14:02Z","pushed_at":"2016-10-19T17:57:33Z","git_url":"git://github.com/tensorflow/tensorflow.git","ssh_url":"git@github.com:tensorflow/tensorflow.git","clone_url":"https://github.com/tensorflow/tensorflow.git","svn_url":"https://github.com/tensorflow/tensorflow","homepage":"http://tensorflow.org","size":236464,"stargazers_count":34721,"watchers_count":34721,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15352,"mirror_url":null,"open_issues_count":613,"forks":15352,"open_issues":613,"watchers":34721,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/5071"},"html":{"href":"https://github.com/tensorflow/tensorflow/pull/5071"},"issue":{"href":"https://api.github.com/repos/tensorflow/tensorflow/issues/5071"},"comments":{"href":"https://api.github.com/repos/tensorflow/tensorflow/issues/5071/comments"},"review_comments":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/5071/comments"},"review_comment":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/5071/commits"},"statuses":{"href":"https://api.github.com/repos/tensorflow/tensorflow/statuses/08d9a75cf77bd8b2d7b21f6c8578881998e78e1b"}}}}
{"actor":{"display_login":"vrv"}}