GitHub PullRequestEvent at 2014-10-29 09:55:46
Repository: opencv
Actor: Chuanbo-Weng
Payload: {"action":"opened","number":3381,"pull_request":{"url":"https://api.github.com/repos/Itseez/opencv/pulls/3381","id":23518431,"html_url":"https://github.com/Itseez/opencv/pull/3381","diff_url":"https://github.com/Itseez/opencv/pull/3381.diff","patch_url":"https://github.com/Itseez/opencv/pull/3381.patch","issue_url":"https://api.github.com/repos/Itseez/opencv/issues/3381","number":3381,"state":"open","locked":false,"title":"OCL: Create cl buffer when UMat switch from OpenCL off to OpenCL on.","user":{"login":"Chuanbo-Weng","id":4166667,"avatar_url":"https://avatars.githubusercontent.com/u/4166667?v=2","gravatar_id":"","url":"https://api.github.com/users/Chuanbo-Weng","html_url":"https://github.com/Chuanbo-Weng","followers_url":"https://api.github.com/users/Chuanbo-Weng/followers","following_url":"https://api.github.com/users/Chuanbo-Weng/following{/other_user}","gists_url":"https://api.github.com/users/Chuanbo-Weng/gists{/gist_id}","starred_url":"https://api.github.com/users/Chuanbo-Weng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chuanbo-Weng/subscriptions","organizations_url":"https://api.github.com/users/Chuanbo-Weng/orgs","repos_url":"https://api.github.com/users/Chuanbo-Weng/repos","events_url":"https://api.github.com/users/Chuanbo-Weng/events{/privacy}","received_events_url":"https://api.github.com/users/Chuanbo-Weng/received_events","type":"User","site_admin":false},"body":"When UMat is created when OpenCL is off, the data buffer in UMatData\r\nis allocated from cpu side. However, if OpenCL is then on, cl buffer\r\nwill not be allocated for this UMat. As a result, if this UMat is used\r\nas a parameter of cl kernel, OpenCL path will fail and fall back to\r\ncpu path. With this patch, the sample tapi-example-hog will run\r\ncorrectly when switch between CPU and OpenCL mode.\r\n\r\nSigned-off-by: Chuanbo Weng <chuanbo.weng@intel.com>","created_at":"2014-10-29T09:55:45Z","updated_at":"2014-10-29T09:55:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Itseez/opencv/pulls/3381/commits","review_comments_url":"https://api.github.com/repos/Itseez/opencv/pulls/3381/comments","review_comment_url":"https://api.github.com/repos/Itseez/opencv/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Itseez/opencv/issues/3381/comments","statuses_url":"https://api.github.com/repos/Itseez/opencv/statuses/271dd3f35c5dcfaed16a3690dc3bbd4d1d8c80b1","head":{"label":"Chuanbo-Weng:master","ref":"master","sha":"271dd3f35c5dcfaed16a3690dc3bbd4d1d8c80b1","user":{"login":"Chuanbo-Weng","id":4166667,"avatar_url":"https://avatars.githubusercontent.com/u/4166667?v=2","gravatar_id":"","url":"https://api.github.com/users/Chuanbo-Weng","html_url":"https://github.com/Chuanbo-Weng","followers_url":"https://api.github.com/users/Chuanbo-Weng/followers","following_url":"https://api.github.com/users/Chuanbo-Weng/following{/other_user}","gists_url":"https://api.github.com/users/Chuanbo-Weng/gists{/gist_id}","starred_url":"https://api.github.com/users/Chuanbo-Weng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chuanbo-Weng/subscriptions","organizations_url":"https://api.github.com/users/Chuanbo-Weng/orgs","repos_url":"https://api.github.com/users/Chuanbo-Weng/repos","events_url":"https://api.github.com/users/Chuanbo-Weng/events{/privacy}","received_events_url":"https://api.github.com/users/Chuanbo-Weng/received_events","type":"User","site_admin":false},"repo":{"id":24093274,"name":"opencv","full_name":"Chuanbo-Weng/opencv","owner":{"login":"Chuanbo-Weng","id":4166667,"avatar_url":"https://avatars.githubusercontent.com/u/4166667?v=2","gravatar_id":"","url":"https://api.github.com/users/Chuanbo-Weng","html_url":"https://github.com/Chuanbo-Weng","followers_url":"https://api.github.com/users/Chuanbo-Weng/followers","following_url":"https://api.github.com/users/Chuanbo-Weng/following{/other_user}","gists_url":"https://api.github.com/users/Chuanbo-Weng/gists{/gist_id}","starred_url":"https://api.github.com/users/Chuanbo-Weng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chuanbo-Weng/subscriptions","organizations_url":"https://api.github.com/users/Chuanbo-Weng/orgs","repos_url":"https://api.github.com/users/Chuanbo-Weng/repos","events_url":"https://api.github.com/users/Chuanbo-Weng/events{/privacy}","received_events_url":"https://api.github.com/users/Chuanbo-Weng/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Chuanbo-Weng/opencv","description":"Open Source Computer Vision Library","fork":true,"url":"https://api.github.com/repos/Chuanbo-Weng/opencv","forks_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/forks","keys_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/teams","hooks_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/hooks","issue_events_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/issues/events{/number}","events_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/events","assignees_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/assignees{/user}","branches_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/branches{/branch}","tags_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/tags","blobs_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/git/refs{/sha}","trees_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/statuses/{sha}","languages_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/languages","stargazers_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/stargazers","contributors_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/contributors","subscribers_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/subscribers","subscription_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/subscription","commits_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/commits{/sha}","git_commits_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/git/commits{/sha}","comments_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/comments{/number}","issue_comment_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/issues/comments/{number}","contents_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/contents/{+path}","compare_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/merges","archive_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/downloads","issues_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/issues{/number}","pulls_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/pulls{/number}","milestones_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/milestones{/number}","notifications_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/labels{/name}","releases_url":"https://api.github.com/repos/Chuanbo-Weng/opencv/releases{/id}","created_at":"2014-09-16T09:23:38Z","updated_at":"2014-09-17T11:32:02Z","pushed_at":"2014-10-29T09:54:20Z","git_url":"git://github.com/Chuanbo-Weng/opencv.git","ssh_url":"git@github.com:Chuanbo-Weng/opencv.git","clone_url":"https://github.com/Chuanbo-Weng/opencv.git","svn_url":"https://github.com/Chuanbo-Weng/opencv","homepage":"opencv.org","size":426399,"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":"Itseez:master","ref":"master","sha":"4a9cfbf806721d5faa5b4e39927f3722a135bf12","user":{"login":"Itseez","id":1786446,"avatar_url":"https://avatars.githubusercontent.com/u/1786446?v=2","gravatar_id":"","url":"https://api.github.com/users/Itseez","html_url":"https://github.com/Itseez","followers_url":"https://api.github.com/users/Itseez/followers","following_url":"https://api.github.com/users/Itseez/following{/other_user}","gists_url":"https://api.github.com/users/Itseez/gists{/gist_id}","starred_url":"https://api.github.com/users/Itseez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Itseez/subscriptions","organizations_url":"https://api.github.com/users/Itseez/orgs","repos_url":"https://api.github.com/users/Itseez/repos","events_url":"https://api.github.com/users/Itseez/events{/privacy}","received_events_url":"https://api.github.com/users/Itseez/received_events","type":"Organization","site_admin":false},"repo":{"id":5108051,"name":"opencv","full_name":"Itseez/opencv","owner":{"login":"Itseez","id":1786446,"avatar_url":"https://avatars.githubusercontent.com/u/1786446?v=2","gravatar_id":"","url":"https://api.github.com/users/Itseez","html_url":"https://github.com/Itseez","followers_url":"https://api.github.com/users/Itseez/followers","following_url":"https://api.github.com/users/Itseez/following{/other_user}","gists_url":"https://api.github.com/users/Itseez/gists{/gist_id}","starred_url":"https://api.github.com/users/Itseez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Itseez/subscriptions","organizations_url":"https://api.github.com/users/Itseez/orgs","repos_url":"https://api.github.com/users/Itseez/repos","events_url":"https://api.github.com/users/Itseez/events{/privacy}","received_events_url":"https://api.github.com/users/Itseez/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Itseez/opencv","description":"Open Source Computer Vision Library","fork":false,"url":"https://api.github.com/repos/Itseez/opencv","forks_url":"https://api.github.com/repos/Itseez/opencv/forks","keys_url":"https://api.github.com/repos/Itseez/opencv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Itseez/opencv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Itseez/opencv/teams","hooks_url":"https://api.github.com/repos/Itseez/opencv/hooks","issue_events_url":"https://api.github.com/repos/Itseez/opencv/issues/events{/number}","events_url":"https://api.github.com/repos/Itseez/opencv/events","assignees_url":"https://api.github.com/repos/Itseez/opencv/assignees{/user}","branches_url":"https://api.github.com/repos/Itseez/opencv/branches{/branch}","tags_url":"https://api.github.com/repos/Itseez/opencv/tags","blobs_url":"https://api.github.com/repos/Itseez/opencv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Itseez/opencv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Itseez/opencv/git/refs{/sha}","trees_url":"https://api.github.com/repos/Itseez/opencv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Itseez/opencv/statuses/{sha}","languages_url":"https://api.github.com/repos/Itseez/opencv/languages","stargazers_url":"https://api.github.com/repos/Itseez/opencv/stargazers","contributors_url":"https://api.github.com/repos/Itseez/opencv/contributors","subscribers_url":"https://api.github.com/repos/Itseez/opencv/subscribers","subscription_url":"https://api.github.com/repos/Itseez/opencv/subscription","commits_url":"https://api.github.com/repos/Itseez/opencv/commits{/sha}","git_commits_url":"https://api.github.com/repos/Itseez/opencv/git/commits{/sha}","comments_url":"https://api.github.com/repos/Itseez/opencv/comments{/number}","issue_comment_url":"https://api.github.com/repos/Itseez/opencv/issues/comments/{number}","contents_url":"https://api.github.com/repos/Itseez/opencv/contents/{+path}","compare_url":"https://api.github.com/repos/Itseez/opencv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Itseez/opencv/merges","archive_url":"https://api.github.com/repos/Itseez/opencv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Itseez/opencv/downloads","issues_url":"https://api.github.com/repos/Itseez/opencv/issues{/number}","pulls_url":"https://api.github.com/repos/Itseez/opencv/pulls{/number}","milestones_url":"https://api.github.com/repos/Itseez/opencv/milestones{/number}","notifications_url":"https://api.github.com/repos/Itseez/opencv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Itseez/opencv/labels{/name}","releases_url":"https://api.github.com/repos/Itseez/opencv/releases{/id}","created_at":"2012-07-19T09:40:17Z","updated_at":"2014-10-29T05:11:23Z","pushed_at":"2014-10-28T17:20:12Z","git_url":"git://github.com/Itseez/opencv.git","ssh_url":"git@github.com:Itseez/opencv.git","clone_url":"https://github.com/Itseez/opencv.git","svn_url":"https://github.com/Itseez/opencv","homepage":"opencv.org","size":1088406,"stargazers_count":3629,"watchers_count":3629,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3386,"mirror_url":null,"open_issues_count":25,"forks":3386,"open_issues":25,"watchers":3629,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Itseez/opencv/pulls/3381"},"html":{"href":"https://github.com/Itseez/opencv/pull/3381"},"issue":{"href":"https://api.github.com/repos/Itseez/opencv/issues/3381"},"comments":{"href":"https://api.github.com/repos/Itseez/opencv/issues/3381/comments"},"review_comments":{"href":"https://api.github.com/repos/Itseez/opencv/pulls/3381/comments"},"review_comment":{"href":"https://api.github.com/repos/Itseez/opencv/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Itseez/opencv/pulls/3381/commits"},"statuses":{"href":"https://api.github.com/repos/Itseez/opencv/statuses/271dd3f35c5dcfaed16a3690dc3bbd4d1d8c80b1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":128,"deletions":0,"changed_files":5}}