{"action":"created","comment":{"url":"https://api.github.com/repos/obi1kenobi/laika/pulls/comments/45248985","id":45248985,"diff_hunk":"@@ -0,0 +1,105 @@\n+#ifndef CHROMATIC_SCHEDULING_H_\n+#define CHROMATIC_SCHEDULING_H_\n+\n+#if D1_CHROM\n+\n+#include <algorithm>\n+#include \"./common.h\"\n+\n+struct scheddata_t {\n+  vid_t cntColors;\n+  vid_t * cntNodesPerColor;\n+  vid_t * nodesByColor;\n+};\n+typedef struct scheddata_t scheddata_t;\n+\n+struct sched_t {\n+  vid_t color;\n+};\n+typedef struct sched_t sched_t;\n+\n+#include \"./update_function.h\"\n+\n+static inline vid_t colorGraph(vertex_t * const nodes,","path":"src/graph_compute/chromatic_scheduling.h","position":23,"original_position":23,"commit_id":"92f94ed46c488c37321e13d5b1735e2c9e2f341e","original_commit_id":"92f94ed46c488c37321e13d5b1735e2c9e2f341e","user":{"login":"obi1kenobi","id":2348618,"avatar_url":"https://avatars.githubusercontent.com/u/2348618?v=3","gravatar_id":"","url":"https://api.github.com/users/obi1kenobi","html_url":"https://github.com/obi1kenobi","followers_url":"https://api.github.com/users/obi1kenobi/followers","following_url":"https://api.github.com/users/obi1kenobi/following{/other_user}","gists_url":"https://api.github.com/users/obi1kenobi/gists{/gist_id}","starred_url":"https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obi1kenobi/subscriptions","organizations_url":"https://api.github.com/users/obi1kenobi/orgs","repos_url":"https://api.github.com/users/obi1kenobi/repos","events_url":"https://api.github.com/users/obi1kenobi/events{/privacy}","received_events_url":"https://api.github.com/users/obi1kenobi/received_events","type":"User","site_admin":false},"body":"Would be nice to have some explanatory comments here. I think I understand what this is doing, but still.","created_at":"2015-11-18T19:40:03Z","updated_at":"2015-11-18T19:40:03Z","html_url":"https://github.com/obi1kenobi/laika/pull/6#discussion_r45248985","pull_request_url":"https://api.github.com/repos/obi1kenobi/laika/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/obi1kenobi/laika/pulls/comments/45248985"},"html":{"href":"https://github.com/obi1kenobi/laika/pull/6#discussion_r45248985"},"pull_request":{"href":"https://api.github.com/repos/obi1kenobi/laika/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/obi1kenobi/laika/pulls/6","id":51115812,"html_url":"https://github.com/obi1kenobi/laika/pull/6","diff_url":"https://github.com/obi1kenobi/laika/pull/6.diff","patch_url":"https://github.com/obi1kenobi/laika/pull/6.patch","issue_url":"https://api.github.com/repos/obi1kenobi/laika/issues/6","number":6,"state":"open","locked":false,"title":"Final scripts","user":{"login":"whasenpl","id":2775208,"avatar_url":"https://avatars.githubusercontent.com/u/2775208?v=3","gravatar_id":"","url":"https://api.github.com/users/whasenpl","html_url":"https://github.com/whasenpl","followers_url":"https://api.github.com/users/whasenpl/followers","following_url":"https://api.github.com/users/whasenpl/following{/other_user}","gists_url":"https://api.github.com/users/whasenpl/gists{/gist_id}","starred_url":"https://api.github.com/users/whasenpl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whasenpl/subscriptions","organizations_url":"https://api.github.com/users/whasenpl/orgs","repos_url":"https://api.github.com/users/whasenpl/repos","events_url":"https://api.github.com/users/whasenpl/events{/privacy}","received_events_url":"https://api.github.com/users/whasenpl/received_events","type":"User","site_admin":false},"body":"Fixed D1_NUMA bug.","created_at":"2015-11-18T17:34:03Z","updated_at":"2015-11-18T19:40:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7161ad9d4c81ad46efcf05e685f79242cf6a4d41","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/obi1kenobi/laika/pulls/6/commits","review_comments_url":"https://api.github.com/repos/obi1kenobi/laika/pulls/6/comments","review_comment_url":"https://api.github.com/repos/obi1kenobi/laika/pulls/comments{/number}","comments_url":"https://api.github.com/repos/obi1kenobi/laika/issues/6/comments","statuses_url":"https://api.github.com/repos/obi1kenobi/laika/statuses/92f94ed46c488c37321e13d5b1735e2c9e2f341e","head":{"label":"obi1kenobi:final-scripts","ref":"final-scripts","sha":"92f94ed46c488c37321e13d5b1735e2c9e2f341e","user":{"login":"obi1kenobi","id":2348618,"avatar_url":"https://avatars.githubusercontent.com/u/2348618?v=3","gravatar_id":"","url":"https://api.github.com/users/obi1kenobi","html_url":"https://github.com/obi1kenobi","followers_url":"https://api.github.com/users/obi1kenobi/followers","following_url":"https://api.github.com/users/obi1kenobi/following{/other_user}","gists_url":"https://api.github.com/users/obi1kenobi/gists{/gist_id}","starred_url":"https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obi1kenobi/subscriptions","organizations_url":"https://api.github.com/users/obi1kenobi/orgs","repos_url":"https://api.github.com/users/obi1kenobi/repos","events_url":"https://api.github.com/users/obi1kenobi/events{/privacy}","received_events_url":"https://api.github.com/users/obi1kenobi/received_events","type":"User","site_admin":false},"repo":{"id":43932719,"name":"laika","full_name":"obi1kenobi/laika","owner":{"login":"obi1kenobi","id":2348618,"avatar_url":"https://avatars.githubusercontent.com/u/2348618?v=3","gravatar_id":"","url":"https://api.github.com/users/obi1kenobi","html_url":"https://github.com/obi1kenobi","followers_url":"https://api.github.com/users/obi1kenobi/followers","following_url":"https://api.github.com/users/obi1kenobi/following{/other_user}","gists_url":"https://api.github.com/users/obi1kenobi/gists{/gist_id}","starred_url":"https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obi1kenobi/subscriptions","organizations_url":"https://api.github.com/users/obi1kenobi/orgs","repos_url":"https://api.github.com/users/obi1kenobi/repos","events_url":"https://api.github.com/users/obi1kenobi/events{/privacy}","received_events_url":"https://api.github.com/users/obi1kenobi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/obi1kenobi/laika","description":"","fork":false,"url":"https://api.github.com/repos/obi1kenobi/laika","forks_url":"https://api.github.com/repos/obi1kenobi/laika/forks","keys_url":"https://api.github.com/repos/obi1kenobi/laika/keys{/key_id}","collaborators_url":"https://api.github.com/repos/obi1kenobi/laika/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/obi1kenobi/laika/teams","hooks_url":"https://api.github.com/repos/obi1kenobi/laika/hooks","issue_events_url":"https://api.github.com/repos/obi1kenobi/laika/issues/events{/number}","events_url":"https://api.github.com/repos/obi1kenobi/laika/events","assignees_url":"https://api.github.com/repos/obi1kenobi/laika/assignees{/user}","branches_url":"https://api.github.com/repos/obi1kenobi/laika/branches{/branch}","tags_url":"https://api.github.com/repos/obi1kenobi/laika/tags","blobs_url":"https://api.github.com/repos/obi1kenobi/laika/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/obi1kenobi/laika/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/obi1kenobi/laika/git/refs{/sha}","trees_url":"https://api.github.com/repos/obi1kenobi/laika/git/trees{/sha}","statuses_url":"https://api.github.com/repos/obi1kenobi/laika/statuses/{sha}","languages_url":"https://api.github.com/repos/obi1kenobi/laika/languages","stargazers_url":"https://api.github.com/repos/obi1kenobi/laika/stargazers","contributors_url":"https://api.github.com/repos/obi1kenobi/laika/contributors","subscribers_url":"https://api.github.com/repos/obi1kenobi/laika/subscribers","subscription_url":"https://api.github.com/repos/obi1kenobi/laika/subscription","commits_url":"https://api.github.com/repos/obi1kenobi/laika/commits{/sha}","git_commits_url":"https://api.github.com/repos/obi1kenobi/laika/git/commits{/sha}","comments_url":"https://api.github.com/repos/obi1kenobi/laika/comments{/number}","issue_comment_url":"https://api.github.com/repos/obi1kenobi/laika/issues/comments{/number}","contents_url":"https://api.github.com/repos/obi1kenobi/laika/contents/{+path}","compare_url":"https://api.github.com/repos/obi1kenobi/laika/compare/{base}...{head}","merges_url":"https://api.github.com/repos/obi1kenobi/laika/merges","archive_url":"https://api.github.com/repos/obi1kenobi/laika/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/obi1kenobi/laika/downloads","issues_url":"https://api.github.com/repos/obi1kenobi/laika/issues{/number}","pulls_url":"https://api.github.com/repos/obi1kenobi/laika/pulls{/number}","milestones_url":"https://api.github.com/repos/obi1kenobi/laika/milestones{/number}","notifications_url":"https://api.github.com/repos/obi1kenobi/laika/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/obi1kenobi/laika/labels{/name}","releases_url":"https://api.github.com/repos/obi1kenobi/laika/releases{/id}","created_at":"2015-10-09T04:21:46Z","updated_at":"2015-10-09T04:26:28Z","pushed_at":"2015-11-18T17:37:25Z","git_url":"git://github.com/obi1kenobi/laika.git","ssh_url":"git@github.com:obi1kenobi/laika.git","clone_url":"https://github.com/obi1kenobi/laika.git","svn_url":"https://github.com/obi1kenobi/laika","homepage":null,"size":10712,"stargazers_count":0,"watchers_count":0,"language":"TeX","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"obi1kenobi:master","ref":"master","sha":"a6c784d3911bedd336567be20dbacc484fdbdb5b","user":{"login":"obi1kenobi","id":2348618,"avatar_url":"https://avatars.githubusercontent.com/u/2348618?v=3","gravatar_id":"","url":"https://api.github.com/users/obi1kenobi","html_url":"https://github.com/obi1kenobi","followers_url":"https://api.github.com/users/obi1kenobi/followers","following_url":"https://api.github.com/users/obi1kenobi/following{/other_user}","gists_url":"https://api.github.com/users/obi1kenobi/gists{/gist_id}","starred_url":"https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obi1kenobi/subscriptions","organizations_url":"https://api.github.com/users/obi1kenobi/orgs","repos_url":"https://api.github.com/users/obi1kenobi/repos","events_url":"https://api.github.com/users/obi1kenobi/events{/privacy}","received_events_url":"https://api.github.com/users/obi1kenobi/received_events","type":"User","site_admin":false},"repo":{"id":43932719,"name":"laika","full_name":"obi1kenobi/laika","owner":{"login":"obi1kenobi","id":2348618,"avatar_url":"https://avatars.githubusercontent.com/u/2348618?v=3","gravatar_id":"","url":"https://api.github.com/users/obi1kenobi","html_url":"https://github.com/obi1kenobi","followers_url":"https://api.github.com/users/obi1kenobi/followers","following_url":"https://api.github.com/users/obi1kenobi/following{/other_user}","gists_url":"https://api.github.com/users/obi1kenobi/gists{/gist_id}","starred_url":"https://api.github.com/users/obi1kenobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obi1kenobi/subscriptions","organizations_url":"https://api.github.com/users/obi1kenobi/orgs","repos_url":"https://api.github.com/users/obi1kenobi/repos","events_url":"https://api.github.com/users/obi1kenobi/events{/privacy}","received_events_url":"https://api.github.com/users/obi1kenobi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/obi1kenobi/laika","description":"","fork":false,"url":"https://api.github.com/repos/obi1kenobi/laika","forks_url":"https://api.github.com/repos/obi1kenobi/laika/forks","keys_url":"https://api.github.com/repos/obi1kenobi/laika/keys{/key_id}","collaborators_url":"https://api.github.com/repos/obi1kenobi/laika/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/obi1kenobi/laika/teams","hooks_url":"https://api.github.com/repos/obi1kenobi/laika/hooks","issue_events_url":"https://api.github.com/repos/obi1kenobi/laika/issues/events{/number}","events_url":"https://api.github.com/repos/obi1kenobi/laika/events","assignees_url":"https://api.github.com/repos/obi1kenobi/laika/assignees{/user}","branches_url":"https://api.github.com/repos/obi1kenobi/laika/branches{/branch}","tags_url":"https://api.github.com/repos/obi1kenobi/laika/tags","blobs_url":"https://api.github.com/repos/obi1kenobi/laika/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/obi1kenobi/laika/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/obi1kenobi/laika/git/refs{/sha}","trees_url":"https://api.github.com/repos/obi1kenobi/laika/git/trees{/sha}","statuses_url":"https://api.github.com/repos/obi1kenobi/laika/statuses/{sha}","languages_url":"https://api.github.com/repos/obi1kenobi/laika/languages","stargazers_url":"https://api.github.com/repos/obi1kenobi/laika/stargazers","contributors_url":"https://api.github.com/repos/obi1kenobi/laika/contributors","subscribers_url":"https://api.github.com/repos/obi1kenobi/laika/subscribers","subscription_url":"https://api.github.com/repos/obi1kenobi/laika/subscription","commits_url":"https://api.github.com/repos/obi1kenobi/laika/commits{/sha}","git_commits_url":"https://api.github.com/repos/obi1kenobi/laika/git/commits{/sha}","comments_url":"https://api.github.com/repos/obi1kenobi/laika/comments{/number}","issue_comment_url":"https://api.github.com/repos/obi1kenobi/laika/issues/comments{/number}","contents_url":"https://api.github.com/repos/obi1kenobi/laika/contents/{+path}","compare_url":"https://api.github.com/repos/obi1kenobi/laika/compare/{base}...{head}","merges_url":"https://api.github.com/repos/obi1kenobi/laika/merges","archive_url":"https://api.github.com/repos/obi1kenobi/laika/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/obi1kenobi/laika/downloads","issues_url":"https://api.github.com/repos/obi1kenobi/laika/issues{/number}","pulls_url":"https://api.github.com/repos/obi1kenobi/laika/pulls{/number}","milestones_url":"https://api.github.com/repos/obi1kenobi/laika/milestones{/number}","notifications_url":"https://api.github.com/repos/obi1kenobi/laika/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/obi1kenobi/laika/labels{/name}","releases_url":"https://api.github.com/repos/obi1kenobi/laika/releases{/id}","created_at":"2015-10-09T04:21:46Z","updated_at":"2015-10-09T04:26:28Z","pushed_at":"2015-11-18T17:37:25Z","git_url":"git://github.com/obi1kenobi/laika.git","ssh_url":"git@github.com:obi1kenobi/laika.git","clone_url":"https://github.com/obi1kenobi/laika.git","svn_url":"https://github.com/obi1kenobi/laika","homepage":null,"size":10712,"stargazers_count":0,"watchers_count":0,"language":"TeX","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/obi1kenobi/laika/pulls/6"},"html":{"href":"https://github.com/obi1kenobi/laika/pull/6"},"issue":{"href":"https://api.github.com/repos/obi1kenobi/laika/issues/6"},"comments":{"href":"https://api.github.com/repos/obi1kenobi/laika/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/obi1kenobi/laika/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/obi1kenobi/laika/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/obi1kenobi/laika/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/obi1kenobi/laika/statuses/92f94ed46c488c37321e13d5b1735e2c9e2f341e"}}}}