{"action":"created","comment":{"url":"https://api.github.com/repos/dmlc/tvm/pulls/comments/204616509","pull_request_review_id":139725879,"id":204616509,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNDYxNjUwOQ==","diff_hunk":"@@ -208,7 +208,11 @@ std::vector<cl_device_id> GetDeviceIDs(\n   cl_device_type dtype = CL_DEVICE_TYPE_ALL;\n   if (device_type == \"cpu\") dtype = CL_DEVICE_TYPE_CPU;\n   if (device_type == \"gpu\") dtype = CL_DEVICE_TYPE_GPU;\n+#ifndef AOCL_BOARD_NAME\n   if (device_type == \"accelerator\") dtype = CL_DEVICE_TYPE_ACCELERATOR;\n+#else\n+  if (device_type == \"accelerator\") dtype = CL_DEVICE_TYPE_DEFAULT;","path":"src/runtime/opencl/opencl_device_api.cc","position":7,"original_position":7,"commit_id":"5016f73da1ac34e230336bbafbf6d08ff5db9ece","original_commit_id":"5016f73da1ac34e230336bbafbf6d08ff5db9ece","user":{"login":"kazum","id":812126,"node_id":"MDQ6VXNlcjgxMjEyNg==","avatar_url":"https://avatars2.githubusercontent.com/u/812126?v=4","gravatar_id":"","url":"https://api.github.com/users/kazum","html_url":"https://github.com/kazum","followers_url":"https://api.github.com/users/kazum/followers","following_url":"https://api.github.com/users/kazum/following{/other_user}","gists_url":"https://api.github.com/users/kazum/gists{/gist_id}","starred_url":"https://api.github.com/users/kazum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazum/subscriptions","organizations_url":"https://api.github.com/users/kazum/orgs","repos_url":"https://api.github.com/users/kazum/repos","events_url":"https://api.github.com/users/kazum/events{/privacy}","received_events_url":"https://api.github.com/users/kazum/received_events","type":"User","site_admin":false},"body":"Why do you want to use CL_DEVICE_TYPE_DEFAULT here?","created_at":"2018-07-24T03:49:41Z","updated_at":"2018-07-24T03:56:10Z","html_url":"https://github.com/dmlc/tvm/pull/1474#discussion_r204616509","pull_request_url":"https://api.github.com/repos/dmlc/tvm/pulls/1474","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dmlc/tvm/pulls/comments/204616509"},"html":{"href":"https://github.com/dmlc/tvm/pull/1474#discussion_r204616509"},"pull_request":{"href":"https://api.github.com/repos/dmlc/tvm/pulls/1474"}}},"pull_request":{"url":"https://api.github.com/repos/dmlc/tvm/pulls/1474","id":203131531,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzMTMxNTMx","html_url":"https://github.com/dmlc/tvm/pull/1474","diff_url":"https://github.com/dmlc/tvm/pull/1474.diff","patch_url":"https://github.com/dmlc/tvm/pull/1474.patch","issue_url":"https://api.github.com/repos/dmlc/tvm/issues/1474","number":1474,"state":"open","locked":false,"title":"Add initial support for Intel FPGA SDK for OpenCL (AOCL)","user":{"login":"ktabata","id":2771164,"node_id":"MDQ6VXNlcjI3NzExNjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2771164?v=4","gravatar_id":"","url":"https://api.github.com/users/ktabata","html_url":"https://github.com/ktabata","followers_url":"https://api.github.com/users/ktabata/followers","following_url":"https://api.github.com/users/ktabata/following{/other_user}","gists_url":"https://api.github.com/users/ktabata/gists{/gist_id}","starred_url":"https://api.github.com/users/ktabata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktabata/subscriptions","organizations_url":"https://api.github.com/users/ktabata/orgs","repos_url":"https://api.github.com/users/ktabata/repos","events_url":"https://api.github.com/users/ktabata/events{/privacy}","received_events_url":"https://api.github.com/users/ktabata/received_events","type":"User","site_admin":false},"body":"This PR adds initial support for Intel FPGA SDK for OpenCL (AOCL).\r\nCurrently it only works in CPU emulation mode.\r\nTo try this patch, you can use AOCL 17.1 without paid license.","created_at":"2018-07-23T07:30:26Z","updated_at":"2018-07-24T03:56:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8fe4cdeef0829e53794b28693f9c3b63f4317f8a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":858780915,"node_id":"MDU6TGFiZWw4NTg3ODA5MTU=","url":"https://api.github.com/repos/dmlc/tvm/labels/status:%20need%20review","name":"status: need review","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/dmlc/tvm/pulls/1474/commits","review_comments_url":"https://api.github.com/repos/dmlc/tvm/pulls/1474/comments","review_comment_url":"https://api.github.com/repos/dmlc/tvm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dmlc/tvm/issues/1474/comments","statuses_url":"https://api.github.com/repos/dmlc/tvm/statuses/5016f73da1ac34e230336bbafbf6d08ff5db9ece","head":{"label":"ktabata:aocl","ref":"aocl","sha":"5016f73da1ac34e230336bbafbf6d08ff5db9ece","user":{"login":"ktabata","id":2771164,"node_id":"MDQ6VXNlcjI3NzExNjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2771164?v=4","gravatar_id":"","url":"https://api.github.com/users/ktabata","html_url":"https://github.com/ktabata","followers_url":"https://api.github.com/users/ktabata/followers","following_url":"https://api.github.com/users/ktabata/following{/other_user}","gists_url":"https://api.github.com/users/ktabata/gists{/gist_id}","starred_url":"https://api.github.com/users/ktabata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktabata/subscriptions","organizations_url":"https://api.github.com/users/ktabata/orgs","repos_url":"https://api.github.com/users/ktabata/repos","events_url":"https://api.github.com/users/ktabata/events{/privacy}","received_events_url":"https://api.github.com/users/ktabata/received_events","type":"User","site_admin":false},"repo":{"id":140802691,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA4MDI2OTE=","name":"tvm","full_name":"ktabata/tvm","owner":{"login":"ktabata","id":2771164,"node_id":"MDQ6VXNlcjI3NzExNjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2771164?v=4","gravatar_id":"","url":"https://api.github.com/users/ktabata","html_url":"https://github.com/ktabata","followers_url":"https://api.github.com/users/ktabata/followers","following_url":"https://api.github.com/users/ktabata/following{/other_user}","gists_url":"https://api.github.com/users/ktabata/gists{/gist_id}","starred_url":"https://api.github.com/users/ktabata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktabata/subscriptions","organizations_url":"https://api.github.com/users/ktabata/orgs","repos_url":"https://api.github.com/users/ktabata/repos","events_url":"https://api.github.com/users/ktabata/events{/privacy}","received_events_url":"https://api.github.com/users/ktabata/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ktabata/tvm","description":"Open deep learning compiler stack for cpu, gpu and specialized accelerators","fork":true,"url":"https://api.github.com/repos/ktabata/tvm","forks_url":"https://api.github.com/repos/ktabata/tvm/forks","keys_url":"https://api.github.com/repos/ktabata/tvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ktabata/tvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ktabata/tvm/teams","hooks_url":"https://api.github.com/repos/ktabata/tvm/hooks","issue_events_url":"https://api.github.com/repos/ktabata/tvm/issues/events{/number}","events_url":"https://api.github.com/repos/ktabata/tvm/events","assignees_url":"https://api.github.com/repos/ktabata/tvm/assignees{/user}","branches_url":"https://api.github.com/repos/ktabata/tvm/branches{/branch}","tags_url":"https://api.github.com/repos/ktabata/tvm/tags","blobs_url":"https://api.github.com/repos/ktabata/tvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ktabata/tvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ktabata/tvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/ktabata/tvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ktabata/tvm/statuses/{sha}","languages_url":"https://api.github.com/repos/ktabata/tvm/languages","stargazers_url":"https://api.github.com/repos/ktabata/tvm/stargazers","contributors_url":"https://api.github.com/repos/ktabata/tvm/contributors","subscribers_url":"https://api.github.com/repos/ktabata/tvm/subscribers","subscription_url":"https://api.github.com/repos/ktabata/tvm/subscription","commits_url":"https://api.github.com/repos/ktabata/tvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/ktabata/tvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/ktabata/tvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/ktabata/tvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/ktabata/tvm/contents/{+path}","compare_url":"https://api.github.com/repos/ktabata/tvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ktabata/tvm/merges","archive_url":"https://api.github.com/repos/ktabata/tvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ktabata/tvm/downloads","issues_url":"https://api.github.com/repos/ktabata/tvm/issues{/number}","pulls_url":"https://api.github.com/repos/ktabata/tvm/pulls{/number}","milestones_url":"https://api.github.com/repos/ktabata/tvm/milestones{/number}","notifications_url":"https://api.github.com/repos/ktabata/tvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ktabata/tvm/labels{/name}","releases_url":"https://api.github.com/repos/ktabata/tvm/releases{/id}","deployments_url":"https://api.github.com/repos/ktabata/tvm/deployments","created_at":"2018-07-13T05:48:42Z","updated_at":"2018-07-13T05:48:47Z","pushed_at":"2018-07-23T08:07:31Z","git_url":"git://github.com/ktabata/tvm.git","ssh_url":"git@github.com:ktabata/tvm.git","clone_url":"https://github.com/ktabata/tvm.git","svn_url":"https://github.com/ktabata/tvm","homepage":"https://tvm.ai","size":6223,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dmlc:master","ref":"master","sha":"2d36f61b40c310bdbf39c0c1a3963e1379b8b782","user":{"login":"dmlc","id":11508361,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTA4MzYx","avatar_url":"https://avatars2.githubusercontent.com/u/11508361?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlc","html_url":"https://github.com/dmlc","followers_url":"https://api.github.com/users/dmlc/followers","following_url":"https://api.github.com/users/dmlc/following{/other_user}","gists_url":"https://api.github.com/users/dmlc/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlc/subscriptions","organizations_url":"https://api.github.com/users/dmlc/orgs","repos_url":"https://api.github.com/users/dmlc/repos","events_url":"https://api.github.com/users/dmlc/events{/privacy}","received_events_url":"https://api.github.com/users/dmlc/received_events","type":"Organization","site_admin":false},"repo":{"id":70746484,"node_id":"MDEwOlJlcG9zaXRvcnk3MDc0NjQ4NA==","name":"tvm","full_name":"dmlc/tvm","owner":{"login":"dmlc","id":11508361,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTA4MzYx","avatar_url":"https://avatars2.githubusercontent.com/u/11508361?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlc","html_url":"https://github.com/dmlc","followers_url":"https://api.github.com/users/dmlc/followers","following_url":"https://api.github.com/users/dmlc/following{/other_user}","gists_url":"https://api.github.com/users/dmlc/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlc/subscriptions","organizations_url":"https://api.github.com/users/dmlc/orgs","repos_url":"https://api.github.com/users/dmlc/repos","events_url":"https://api.github.com/users/dmlc/events{/privacy}","received_events_url":"https://api.github.com/users/dmlc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dmlc/tvm","description":"Open deep learning compiler stack for cpu, gpu and specialized accelerators","fork":false,"url":"https://api.github.com/repos/dmlc/tvm","forks_url":"https://api.github.com/repos/dmlc/tvm/forks","keys_url":"https://api.github.com/repos/dmlc/tvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmlc/tvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmlc/tvm/teams","hooks_url":"https://api.github.com/repos/dmlc/tvm/hooks","issue_events_url":"https://api.github.com/repos/dmlc/tvm/issues/events{/number}","events_url":"https://api.github.com/repos/dmlc/tvm/events","assignees_url":"https://api.github.com/repos/dmlc/tvm/assignees{/user}","branches_url":"https://api.github.com/repos/dmlc/tvm/branches{/branch}","tags_url":"https://api.github.com/repos/dmlc/tvm/tags","blobs_url":"https://api.github.com/repos/dmlc/tvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmlc/tvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmlc/tvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmlc/tvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmlc/tvm/statuses/{sha}","languages_url":"https://api.github.com/repos/dmlc/tvm/languages","stargazers_url":"https://api.github.com/repos/dmlc/tvm/stargazers","contributors_url":"https://api.github.com/repos/dmlc/tvm/contributors","subscribers_url":"https://api.github.com/repos/dmlc/tvm/subscribers","subscription_url":"https://api.github.com/repos/dmlc/tvm/subscription","commits_url":"https://api.github.com/repos/dmlc/tvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmlc/tvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmlc/tvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmlc/tvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmlc/tvm/contents/{+path}","compare_url":"https://api.github.com/repos/dmlc/tvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmlc/tvm/merges","archive_url":"https://api.github.com/repos/dmlc/tvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmlc/tvm/downloads","issues_url":"https://api.github.com/repos/dmlc/tvm/issues{/number}","pulls_url":"https://api.github.com/repos/dmlc/tvm/pulls{/number}","milestones_url":"https://api.github.com/repos/dmlc/tvm/milestones{/number}","notifications_url":"https://api.github.com/repos/dmlc/tvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmlc/tvm/labels{/name}","releases_url":"https://api.github.com/repos/dmlc/tvm/releases{/id}","deployments_url":"https://api.github.com/repos/dmlc/tvm/deployments","created_at":"2016-10-12T22:20:28Z","updated_at":"2018-07-23T20:32:34Z","pushed_at":"2018-07-24T01:17:04Z","git_url":"git://github.com/dmlc/tvm.git","ssh_url":"git@github.com:dmlc/tvm.git","clone_url":"https://github.com/dmlc/tvm.git","svn_url":"https://github.com/dmlc/tvm","homepage":"https://tvm.ai","size":6212,"stargazers_count":1736,"watchers_count":1736,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":386,"mirror_url":null,"archived":false,"open_issues_count":38,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":386,"open_issues":38,"watchers":1736,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dmlc/tvm/pulls/1474"},"html":{"href":"https://github.com/dmlc/tvm/pull/1474"},"issue":{"href":"https://api.github.com/repos/dmlc/tvm/issues/1474"},"comments":{"href":"https://api.github.com/repos/dmlc/tvm/issues/1474/comments"},"review_comments":{"href":"https://api.github.com/repos/dmlc/tvm/pulls/1474/comments"},"review_comment":{"href":"https://api.github.com/repos/dmlc/tvm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dmlc/tvm/pulls/1474/commits"},"statuses":{"href":"https://api.github.com/repos/dmlc/tvm/statuses/5016f73da1ac34e230336bbafbf6d08ff5db9ece"}},"author_association":"NONE"}}
{"actor":{"display_login":"kazum"}}