{"action":"created","comment":{"url":"https://api.github.com/repos/habanero-rice/hcpp/pulls/comments/48098536","id":48098536,"diff_hunk":"@@ -0,0 +1,16 @@\n+include $(HCPP_ROOT)/include/hcpp.mak\n+\n+TARGETS=allocate copy kernel\n+\n+FLAGS=-g -std=c++11","path":"test/cuda/Makefile","position":5,"original_position":5,"commit_id":"45c3386cbdf860cb416303bb936c229bf8189b32","original_commit_id":"45c3386cbdf860cb416303bb936c229bf8189b32","user":{"login":"vkaries","id":8053454,"avatar_url":"https://avatars.githubusercontent.com/u/8053454?v=3","gravatar_id":"","url":"https://api.github.com/users/vkaries","html_url":"https://github.com/vkaries","followers_url":"https://api.github.com/users/vkaries/followers","following_url":"https://api.github.com/users/vkaries/following{/other_user}","gists_url":"https://api.github.com/users/vkaries/gists{/gist_id}","starred_url":"https://api.github.com/users/vkaries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkaries/subscriptions","organizations_url":"https://api.github.com/users/vkaries/orgs","repos_url":"https://api.github.com/users/vkaries/repos","events_url":"https://api.github.com/users/vkaries/events{/privacy}","received_events_url":"https://api.github.com/users/vkaries/received_events","type":"User","site_admin":false},"body":"Can we make this FLAG as part of PROJECT_CFLAGS?","created_at":"2015-12-20T01:12:54Z","updated_at":"2015-12-20T01:12:54Z","html_url":"https://github.com/habanero-rice/hcpp/pull/3#discussion_r48098536","pull_request_url":"https://api.github.com/repos/habanero-rice/hcpp/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/habanero-rice/hcpp/pulls/comments/48098536"},"html":{"href":"https://github.com/habanero-rice/hcpp/pull/3#discussion_r48098536"},"pull_request":{"href":"https://api.github.com/repos/habanero-rice/hcpp/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/habanero-rice/hcpp/pulls/3","id":54188479,"html_url":"https://github.com/habanero-rice/hcpp/pull/3","diff_url":"https://github.com/habanero-rice/hcpp/pull/3.diff","patch_url":"https://github.com/habanero-rice/hcpp/pull/3.patch","issue_url":"https://api.github.com/repos/habanero-rice/hcpp/issues/3","number":3,"state":"open","locked":false,"title":"GPU Support v1","user":{"login":"agrippa","id":941469,"avatar_url":"https://avatars.githubusercontent.com/u/941469?v=3","gravatar_id":"","url":"https://api.github.com/users/agrippa","html_url":"https://github.com/agrippa","followers_url":"https://api.github.com/users/agrippa/followers","following_url":"https://api.github.com/users/agrippa/following{/other_user}","gists_url":"https://api.github.com/users/agrippa/gists{/gist_id}","starred_url":"https://api.github.com/users/agrippa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agrippa/subscriptions","organizations_url":"https://api.github.com/users/agrippa/orgs","repos_url":"https://api.github.com/users/agrippa/repos","events_url":"https://api.github.com/users/agrippa/events{/privacy}","received_events_url":"https://api.github.com/users/agrippa/received_events","type":"User","site_admin":false},"body":"1. Unification of the internal spawn API to simplify runtime code: There used to be several variants of spawn, each of them supporting a slightly different feature set (await vs. at vs. future vs. ...). I've put all of that functionality in a single shared function, with the existing spawn APIs sitting on top of it.\r\n2. Allow forasyncs to be created at a place, and for their execution to be dependent on a list of DDFs.\r\n3. Added an HC_CUDA preprocessor definition to indicate whether the project is being built with or without GPU support. CUDA support is added with the --enable-cuda configuration flag.\r\n4. A dedicated GPU thread, very similar to the communication worker.\r\n5. Memory allocation, release, clear, and copying routines for a HPT with separate address spaces. See allocate_at, free_at, memset_at, and async_copy.\r\n6. New tests under the test/cuda directory as well as an nbody example.\r\n7. Miscellaneous style cleanup.","created_at":"2015-12-19T22:59:29Z","updated_at":"2015-12-20T01:12:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b0ccafacea49df3baa18c7b6dd848ef2eb5d143","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/habanero-rice/hcpp/pulls/3/commits","review_comments_url":"https://api.github.com/repos/habanero-rice/hcpp/pulls/3/comments","review_comment_url":"https://api.github.com/repos/habanero-rice/hcpp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/habanero-rice/hcpp/issues/3/comments","statuses_url":"https://api.github.com/repos/habanero-rice/hcpp/statuses/45c3386cbdf860cb416303bb936c229bf8189b32","head":{"label":"habanero-rice:gpu","ref":"gpu","sha":"45c3386cbdf860cb416303bb936c229bf8189b32","user":{"login":"habanero-rice","id":5880237,"avatar_url":"https://avatars.githubusercontent.com/u/5880237?v=3","gravatar_id":"","url":"https://api.github.com/users/habanero-rice","html_url":"https://github.com/habanero-rice","followers_url":"https://api.github.com/users/habanero-rice/followers","following_url":"https://api.github.com/users/habanero-rice/following{/other_user}","gists_url":"https://api.github.com/users/habanero-rice/gists{/gist_id}","starred_url":"https://api.github.com/users/habanero-rice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/habanero-rice/subscriptions","organizations_url":"https://api.github.com/users/habanero-rice/orgs","repos_url":"https://api.github.com/users/habanero-rice/repos","events_url":"https://api.github.com/users/habanero-rice/events{/privacy}","received_events_url":"https://api.github.com/users/habanero-rice/received_events","type":"Organization","site_admin":false},"repo":{"id":22845657,"name":"hcpp","full_name":"habanero-rice/hcpp","owner":{"login":"habanero-rice","id":5880237,"avatar_url":"https://avatars.githubusercontent.com/u/5880237?v=3","gravatar_id":"","url":"https://api.github.com/users/habanero-rice","html_url":"https://github.com/habanero-rice","followers_url":"https://api.github.com/users/habanero-rice/followers","following_url":"https://api.github.com/users/habanero-rice/following{/other_user}","gists_url":"https://api.github.com/users/habanero-rice/gists{/gist_id}","starred_url":"https://api.github.com/users/habanero-rice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/habanero-rice/subscriptions","organizations_url":"https://api.github.com/users/habanero-rice/orgs","repos_url":"https://api.github.com/users/habanero-rice/repos","events_url":"https://api.github.com/users/habanero-rice/events{/privacy}","received_events_url":"https://api.github.com/users/habanero-rice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/habanero-rice/hcpp","description":"","fork":false,"url":"https://api.github.com/repos/habanero-rice/hcpp","forks_url":"https://api.github.com/repos/habanero-rice/hcpp/forks","keys_url":"https://api.github.com/repos/habanero-rice/hcpp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/habanero-rice/hcpp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/habanero-rice/hcpp/teams","hooks_url":"https://api.github.com/repos/habanero-rice/hcpp/hooks","issue_events_url":"https://api.github.com/repos/habanero-rice/hcpp/issues/events{/number}","events_url":"https://api.github.com/repos/habanero-rice/hcpp/events","assignees_url":"https://api.github.com/repos/habanero-rice/hcpp/assignees{/user}","branches_url":"https://api.github.com/repos/habanero-rice/hcpp/branches{/branch}","tags_url":"https://api.github.com/repos/habanero-rice/hcpp/tags","blobs_url":"https://api.github.com/repos/habanero-rice/hcpp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/habanero-rice/hcpp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/habanero-rice/hcpp/git/refs{/sha}","trees_url":"https://api.github.com/repos/habanero-rice/hcpp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/habanero-rice/hcpp/statuses/{sha}","languages_url":"https://api.github.com/repos/habanero-rice/hcpp/languages","stargazers_url":"https://api.github.com/repos/habanero-rice/hcpp/stargazers","contributors_url":"https://api.github.com/repos/habanero-rice/hcpp/contributors","subscribers_url":"https://api.github.com/repos/habanero-rice/hcpp/subscribers","subscription_url":"https://api.github.com/repos/habanero-rice/hcpp/subscription","commits_url":"https://api.github.com/repos/habanero-rice/hcpp/commits{/sha}","git_commits_url":"https://api.github.com/repos/habanero-rice/hcpp/git/commits{/sha}","comments_url":"https://api.github.com/repos/habanero-rice/hcpp/comments{/number}","issue_comment_url":"https://api.github.com/repos/habanero-rice/hcpp/issues/comments{/number}","contents_url":"https://api.github.com/repos/habanero-rice/hcpp/contents/{+path}","compare_url":"https://api.github.com/repos/habanero-rice/hcpp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/habanero-rice/hcpp/merges","archive_url":"https://api.github.com/repos/habanero-rice/hcpp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/habanero-rice/hcpp/downloads","issues_url":"https://api.github.com/repos/habanero-rice/hcpp/issues{/number}","pulls_url":"https://api.github.com/repos/habanero-rice/hcpp/pulls{/number}","milestones_url":"https://api.github.com/repos/habanero-rice/hcpp/milestones{/number}","notifications_url":"https://api.github.com/repos/habanero-rice/hcpp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/habanero-rice/hcpp/labels{/name}","releases_url":"https://api.github.com/repos/habanero-rice/hcpp/releases{/id}","created_at":"2014-08-11T16:15:45Z","updated_at":"2015-12-17T20:36:08Z","pushed_at":"2015-12-19T22:59:29Z","git_url":"git://github.com/habanero-rice/hcpp.git","ssh_url":"git@github.com:habanero-rice/hcpp.git","clone_url":"https://github.com/habanero-rice/hcpp.git","svn_url":"https://github.com/habanero-rice/hcpp","homepage":null,"size":2475,"stargazers_count":3,"watchers_count":3,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"habanero-rice:master","ref":"master","sha":"625d4bc520fc10b1c46bb8e1d8d36170af8c797f","user":{"login":"habanero-rice","id":5880237,"avatar_url":"https://avatars.githubusercontent.com/u/5880237?v=3","gravatar_id":"","url":"https://api.github.com/users/habanero-rice","html_url":"https://github.com/habanero-rice","followers_url":"https://api.github.com/users/habanero-rice/followers","following_url":"https://api.github.com/users/habanero-rice/following{/other_user}","gists_url":"https://api.github.com/users/habanero-rice/gists{/gist_id}","starred_url":"https://api.github.com/users/habanero-rice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/habanero-rice/subscriptions","organizations_url":"https://api.github.com/users/habanero-rice/orgs","repos_url":"https://api.github.com/users/habanero-rice/repos","events_url":"https://api.github.com/users/habanero-rice/events{/privacy}","received_events_url":"https://api.github.com/users/habanero-rice/received_events","type":"Organization","site_admin":false},"repo":{"id":22845657,"name":"hcpp","full_name":"habanero-rice/hcpp","owner":{"login":"habanero-rice","id":5880237,"avatar_url":"https://avatars.githubusercontent.com/u/5880237?v=3","gravatar_id":"","url":"https://api.github.com/users/habanero-rice","html_url":"https://github.com/habanero-rice","followers_url":"https://api.github.com/users/habanero-rice/followers","following_url":"https://api.github.com/users/habanero-rice/following{/other_user}","gists_url":"https://api.github.com/users/habanero-rice/gists{/gist_id}","starred_url":"https://api.github.com/users/habanero-rice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/habanero-rice/subscriptions","organizations_url":"https://api.github.com/users/habanero-rice/orgs","repos_url":"https://api.github.com/users/habanero-rice/repos","events_url":"https://api.github.com/users/habanero-rice/events{/privacy}","received_events_url":"https://api.github.com/users/habanero-rice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/habanero-rice/hcpp","description":"","fork":false,"url":"https://api.github.com/repos/habanero-rice/hcpp","forks_url":"https://api.github.com/repos/habanero-rice/hcpp/forks","keys_url":"https://api.github.com/repos/habanero-rice/hcpp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/habanero-rice/hcpp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/habanero-rice/hcpp/teams","hooks_url":"https://api.github.com/repos/habanero-rice/hcpp/hooks","issue_events_url":"https://api.github.com/repos/habanero-rice/hcpp/issues/events{/number}","events_url":"https://api.github.com/repos/habanero-rice/hcpp/events","assignees_url":"https://api.github.com/repos/habanero-rice/hcpp/assignees{/user}","branches_url":"https://api.github.com/repos/habanero-rice/hcpp/branches{/branch}","tags_url":"https://api.github.com/repos/habanero-rice/hcpp/tags","blobs_url":"https://api.github.com/repos/habanero-rice/hcpp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/habanero-rice/hcpp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/habanero-rice/hcpp/git/refs{/sha}","trees_url":"https://api.github.com/repos/habanero-rice/hcpp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/habanero-rice/hcpp/statuses/{sha}","languages_url":"https://api.github.com/repos/habanero-rice/hcpp/languages","stargazers_url":"https://api.github.com/repos/habanero-rice/hcpp/stargazers","contributors_url":"https://api.github.com/repos/habanero-rice/hcpp/contributors","subscribers_url":"https://api.github.com/repos/habanero-rice/hcpp/subscribers","subscription_url":"https://api.github.com/repos/habanero-rice/hcpp/subscription","commits_url":"https://api.github.com/repos/habanero-rice/hcpp/commits{/sha}","git_commits_url":"https://api.github.com/repos/habanero-rice/hcpp/git/commits{/sha}","comments_url":"https://api.github.com/repos/habanero-rice/hcpp/comments{/number}","issue_comment_url":"https://api.github.com/repos/habanero-rice/hcpp/issues/comments{/number}","contents_url":"https://api.github.com/repos/habanero-rice/hcpp/contents/{+path}","compare_url":"https://api.github.com/repos/habanero-rice/hcpp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/habanero-rice/hcpp/merges","archive_url":"https://api.github.com/repos/habanero-rice/hcpp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/habanero-rice/hcpp/downloads","issues_url":"https://api.github.com/repos/habanero-rice/hcpp/issues{/number}","pulls_url":"https://api.github.com/repos/habanero-rice/hcpp/pulls{/number}","milestones_url":"https://api.github.com/repos/habanero-rice/hcpp/milestones{/number}","notifications_url":"https://api.github.com/repos/habanero-rice/hcpp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/habanero-rice/hcpp/labels{/name}","releases_url":"https://api.github.com/repos/habanero-rice/hcpp/releases{/id}","created_at":"2014-08-11T16:15:45Z","updated_at":"2015-12-17T20:36:08Z","pushed_at":"2015-12-19T22:59:29Z","git_url":"git://github.com/habanero-rice/hcpp.git","ssh_url":"git@github.com:habanero-rice/hcpp.git","clone_url":"https://github.com/habanero-rice/hcpp.git","svn_url":"https://github.com/habanero-rice/hcpp","homepage":null,"size":2475,"stargazers_count":3,"watchers_count":3,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/habanero-rice/hcpp/pulls/3"},"html":{"href":"https://github.com/habanero-rice/hcpp/pull/3"},"issue":{"href":"https://api.github.com/repos/habanero-rice/hcpp/issues/3"},"comments":{"href":"https://api.github.com/repos/habanero-rice/hcpp/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/habanero-rice/hcpp/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/habanero-rice/hcpp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/habanero-rice/hcpp/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/habanero-rice/hcpp/statuses/45c3386cbdf860cb416303bb936c229bf8189b32"}}}}