{"action":"created","comment":{"url":"https://api.github.com/repos/opesci/devito/pulls/comments/310996223","pull_request_review_id":271259619,"id":310996223,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMxMDk5NjIyMw==","diff_hunk":"@@ -0,0 +1,17 @@\n+from devito.parameters import configuration\n+\n+\n+__all__ = ['CompilerOPS']\n+\n+\n+class CompilerOPS(configuration['compiler'].__class__):\n+    def __init__(self, *args, **kwargs):\n+        super(CompilerOPS, self).__init__(*args, **kwargs)\n+\n+    def jit_compile(self, soname, code, hcode):\n+        super(CompilerOPS, self).jit_compile(soname, code)\n+        target = str(self.get_jit_dir().joinpath(soname))\n+        h_file = \"%s.h\" % (target)\n+        kernel_file = open(h_file, \"w\")\n+        for kernel in hcode:","path":"devito/ops/compiler.py","position":16,"original_position":16,"commit_id":"0471b4e0c68e435f7e58b24ac875b90d09553809","original_commit_id":"0471b4e0c68e435f7e58b24ac875b90d09553809","user":{"login":"vincepandolfo","id":5785542,"node_id":"MDQ6VXNlcjU3ODU1NDI=","avatar_url":"https://avatars1.githubusercontent.com/u/5785542?v=4","gravatar_id":"","url":"https://api.github.com/users/vincepandolfo","html_url":"https://github.com/vincepandolfo","followers_url":"https://api.github.com/users/vincepandolfo/followers","following_url":"https://api.github.com/users/vincepandolfo/following{/other_user}","gists_url":"https://api.github.com/users/vincepandolfo/gists{/gist_id}","starred_url":"https://api.github.com/users/vincepandolfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincepandolfo/subscriptions","organizations_url":"https://api.github.com/users/vincepandolfo/orgs","repos_url":"https://api.github.com/users/vincepandolfo/repos","events_url":"https://api.github.com/users/vincepandolfo/events{/privacy}","received_events_url":"https://api.github.com/users/vincepandolfo/received_events","type":"User","site_admin":false},"body":"why is this a loop?","created_at":"2019-08-06T10:40:14Z","updated_at":"2019-08-06T10:40:22Z","html_url":"https://github.com/opesci/devito/pull/886#discussion_r310996223","pull_request_url":"https://api.github.com/repos/opesci/devito/pulls/886","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/opesci/devito/pulls/comments/310996223"},"html":{"href":"https://github.com/opesci/devito/pull/886#discussion_r310996223"},"pull_request":{"href":"https://api.github.com/repos/opesci/devito/pulls/886"}}},"pull_request":{"url":"https://api.github.com/repos/opesci/devito/pulls/886","id":301324990,"node_id":"MDExOlB1bGxSZXF1ZXN0MzAxMzI0OTkw","html_url":"https://github.com/opesci/devito/pull/886","diff_url":"https://github.com/opesci/devito/pull/886.diff","patch_url":"https://github.com/opesci/devito/pull/886.patch","issue_url":"https://api.github.com/repos/opesci/devito/issues/886","number":886,"state":"open","locked":false,"title":"Created an specific compiler for ops","user":{"login":"Gabrielsvc","id":7093444,"node_id":"MDQ6VXNlcjcwOTM0NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/7093444?v=4","gravatar_id":"","url":"https://api.github.com/users/Gabrielsvc","html_url":"https://github.com/Gabrielsvc","followers_url":"https://api.github.com/users/Gabrielsvc/followers","following_url":"https://api.github.com/users/Gabrielsvc/following{/other_user}","gists_url":"https://api.github.com/users/Gabrielsvc/gists{/gist_id}","starred_url":"https://api.github.com/users/Gabrielsvc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gabrielsvc/subscriptions","organizations_url":"https://api.github.com/users/Gabrielsvc/orgs","repos_url":"https://api.github.com/users/Gabrielsvc/repos","events_url":"https://api.github.com/users/Gabrielsvc/events{/privacy}","received_events_url":"https://api.github.com/users/Gabrielsvc/received_events","type":"User","site_admin":false},"body":"Added the new compiler class, its initializing parameters, how the operator calls it and a test for it.","created_at":"2019-07-25T21:56:52Z","updated_at":"2019-08-06T10:40:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42a57acadfa8fbd9e13ce61ccf8270d4c3575636","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/opesci/devito/pulls/886/commits","review_comments_url":"https://api.github.com/repos/opesci/devito/pulls/886/comments","review_comment_url":"https://api.github.com/repos/opesci/devito/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opesci/devito/issues/886/comments","statuses_url":"https://api.github.com/repos/opesci/devito/statuses/0471b4e0c68e435f7e58b24ac875b90d09553809","head":{"label":"Gabrielsvc:features/compiler_ops","ref":"features/compiler_ops","sha":"0471b4e0c68e435f7e58b24ac875b90d09553809","user":{"login":"Gabrielsvc","id":7093444,"node_id":"MDQ6VXNlcjcwOTM0NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/7093444?v=4","gravatar_id":"","url":"https://api.github.com/users/Gabrielsvc","html_url":"https://github.com/Gabrielsvc","followers_url":"https://api.github.com/users/Gabrielsvc/followers","following_url":"https://api.github.com/users/Gabrielsvc/following{/other_user}","gists_url":"https://api.github.com/users/Gabrielsvc/gists{/gist_id}","starred_url":"https://api.github.com/users/Gabrielsvc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gabrielsvc/subscriptions","organizations_url":"https://api.github.com/users/Gabrielsvc/orgs","repos_url":"https://api.github.com/users/Gabrielsvc/repos","events_url":"https://api.github.com/users/Gabrielsvc/events{/privacy}","received_events_url":"https://api.github.com/users/Gabrielsvc/received_events","type":"User","site_admin":false},"repo":{"id":190457264,"node_id":"MDEwOlJlcG9zaXRvcnkxOTA0NTcyNjQ=","name":"devito","full_name":"Gabrielsvc/devito","private":false,"owner":{"login":"Gabrielsvc","id":7093444,"node_id":"MDQ6VXNlcjcwOTM0NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/7093444?v=4","gravatar_id":"","url":"https://api.github.com/users/Gabrielsvc","html_url":"https://github.com/Gabrielsvc","followers_url":"https://api.github.com/users/Gabrielsvc/followers","following_url":"https://api.github.com/users/Gabrielsvc/following{/other_user}","gists_url":"https://api.github.com/users/Gabrielsvc/gists{/gist_id}","starred_url":"https://api.github.com/users/Gabrielsvc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gabrielsvc/subscriptions","organizations_url":"https://api.github.com/users/Gabrielsvc/orgs","repos_url":"https://api.github.com/users/Gabrielsvc/repos","events_url":"https://api.github.com/users/Gabrielsvc/events{/privacy}","received_events_url":"https://api.github.com/users/Gabrielsvc/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Gabrielsvc/devito","description":"Code generation framework for automated finite difference computation","fork":true,"url":"https://api.github.com/repos/Gabrielsvc/devito","forks_url":"https://api.github.com/repos/Gabrielsvc/devito/forks","keys_url":"https://api.github.com/repos/Gabrielsvc/devito/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gabrielsvc/devito/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gabrielsvc/devito/teams","hooks_url":"https://api.github.com/repos/Gabrielsvc/devito/hooks","issue_events_url":"https://api.github.com/repos/Gabrielsvc/devito/issues/events{/number}","events_url":"https://api.github.com/repos/Gabrielsvc/devito/events","assignees_url":"https://api.github.com/repos/Gabrielsvc/devito/assignees{/user}","branches_url":"https://api.github.com/repos/Gabrielsvc/devito/branches{/branch}","tags_url":"https://api.github.com/repos/Gabrielsvc/devito/tags","blobs_url":"https://api.github.com/repos/Gabrielsvc/devito/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gabrielsvc/devito/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gabrielsvc/devito/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gabrielsvc/devito/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gabrielsvc/devito/statuses/{sha}","languages_url":"https://api.github.com/repos/Gabrielsvc/devito/languages","stargazers_url":"https://api.github.com/repos/Gabrielsvc/devito/stargazers","contributors_url":"https://api.github.com/repos/Gabrielsvc/devito/contributors","subscribers_url":"https://api.github.com/repos/Gabrielsvc/devito/subscribers","subscription_url":"https://api.github.com/repos/Gabrielsvc/devito/subscription","commits_url":"https://api.github.com/repos/Gabrielsvc/devito/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gabrielsvc/devito/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gabrielsvc/devito/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gabrielsvc/devito/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gabrielsvc/devito/contents/{+path}","compare_url":"https://api.github.com/repos/Gabrielsvc/devito/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gabrielsvc/devito/merges","archive_url":"https://api.github.com/repos/Gabrielsvc/devito/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gabrielsvc/devito/downloads","issues_url":"https://api.github.com/repos/Gabrielsvc/devito/issues{/number}","pulls_url":"https://api.github.com/repos/Gabrielsvc/devito/pulls{/number}","milestones_url":"https://api.github.com/repos/Gabrielsvc/devito/milestones{/number}","notifications_url":"https://api.github.com/repos/Gabrielsvc/devito/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gabrielsvc/devito/labels{/name}","releases_url":"https://api.github.com/repos/Gabrielsvc/devito/releases{/id}","deployments_url":"https://api.github.com/repos/Gabrielsvc/devito/deployments","created_at":"2019-06-05T19:38:14Z","updated_at":"2019-07-25T21:49:11Z","pushed_at":"2019-08-01T21:24:30Z","git_url":"git://github.com/Gabrielsvc/devito.git","ssh_url":"git@github.com:Gabrielsvc/devito.git","clone_url":"https://github.com/Gabrielsvc/devito.git","svn_url":"https://github.com/Gabrielsvc/devito","homepage":"http://www.devitoproject.org","size":108789,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"opesci:master","ref":"master","sha":"76c8cfa4d576061ada8f0e3a38907c6c24eef5c8","user":{"login":"opesci","id":10018551,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDE4NTUx","avatar_url":"https://avatars1.githubusercontent.com/u/10018551?v=4","gravatar_id":"","url":"https://api.github.com/users/opesci","html_url":"https://github.com/opesci","followers_url":"https://api.github.com/users/opesci/followers","following_url":"https://api.github.com/users/opesci/following{/other_user}","gists_url":"https://api.github.com/users/opesci/gists{/gist_id}","starred_url":"https://api.github.com/users/opesci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opesci/subscriptions","organizations_url":"https://api.github.com/users/opesci/orgs","repos_url":"https://api.github.com/users/opesci/repos","events_url":"https://api.github.com/users/opesci/events{/privacy}","received_events_url":"https://api.github.com/users/opesci/received_events","type":"Organization","site_admin":false},"repo":{"id":54585666,"node_id":"MDEwOlJlcG9zaXRvcnk1NDU4NTY2Ng==","name":"devito","full_name":"opesci/devito","private":false,"owner":{"login":"opesci","id":10018551,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDE4NTUx","avatar_url":"https://avatars1.githubusercontent.com/u/10018551?v=4","gravatar_id":"","url":"https://api.github.com/users/opesci","html_url":"https://github.com/opesci","followers_url":"https://api.github.com/users/opesci/followers","following_url":"https://api.github.com/users/opesci/following{/other_user}","gists_url":"https://api.github.com/users/opesci/gists{/gist_id}","starred_url":"https://api.github.com/users/opesci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opesci/subscriptions","organizations_url":"https://api.github.com/users/opesci/orgs","repos_url":"https://api.github.com/users/opesci/repos","events_url":"https://api.github.com/users/opesci/events{/privacy}","received_events_url":"https://api.github.com/users/opesci/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/opesci/devito","description":"Code generation framework for automated finite difference computation","fork":false,"url":"https://api.github.com/repos/opesci/devito","forks_url":"https://api.github.com/repos/opesci/devito/forks","keys_url":"https://api.github.com/repos/opesci/devito/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opesci/devito/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opesci/devito/teams","hooks_url":"https://api.github.com/repos/opesci/devito/hooks","issue_events_url":"https://api.github.com/repos/opesci/devito/issues/events{/number}","events_url":"https://api.github.com/repos/opesci/devito/events","assignees_url":"https://api.github.com/repos/opesci/devito/assignees{/user}","branches_url":"https://api.github.com/repos/opesci/devito/branches{/branch}","tags_url":"https://api.github.com/repos/opesci/devito/tags","blobs_url":"https://api.github.com/repos/opesci/devito/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opesci/devito/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opesci/devito/git/refs{/sha}","trees_url":"https://api.github.com/repos/opesci/devito/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opesci/devito/statuses/{sha}","languages_url":"https://api.github.com/repos/opesci/devito/languages","stargazers_url":"https://api.github.com/repos/opesci/devito/stargazers","contributors_url":"https://api.github.com/repos/opesci/devito/contributors","subscribers_url":"https://api.github.com/repos/opesci/devito/subscribers","subscription_url":"https://api.github.com/repos/opesci/devito/subscription","commits_url":"https://api.github.com/repos/opesci/devito/commits{/sha}","git_commits_url":"https://api.github.com/repos/opesci/devito/git/commits{/sha}","comments_url":"https://api.github.com/repos/opesci/devito/comments{/number}","issue_comment_url":"https://api.github.com/repos/opesci/devito/issues/comments{/number}","contents_url":"https://api.github.com/repos/opesci/devito/contents/{+path}","compare_url":"https://api.github.com/repos/opesci/devito/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opesci/devito/merges","archive_url":"https://api.github.com/repos/opesci/devito/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opesci/devito/downloads","issues_url":"https://api.github.com/repos/opesci/devito/issues{/number}","pulls_url":"https://api.github.com/repos/opesci/devito/pulls{/number}","milestones_url":"https://api.github.com/repos/opesci/devito/milestones{/number}","notifications_url":"https://api.github.com/repos/opesci/devito/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opesci/devito/labels{/name}","releases_url":"https://api.github.com/repos/opesci/devito/releases{/id}","deployments_url":"https://api.github.com/repos/opesci/devito/deployments","created_at":"2016-03-23T18:59:49Z","updated_at":"2019-08-06T09:46:02Z","pushed_at":"2019-08-06T10:33:23Z","git_url":"git://github.com/opesci/devito.git","ssh_url":"git@github.com:opesci/devito.git","clone_url":"https://github.com/opesci/devito.git","svn_url":"https://github.com/opesci/devito","homepage":"http://www.devitoproject.org","size":117026,"stargazers_count":153,"watchers_count":153,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":51,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":41,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":51,"open_issues":41,"watchers":153,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opesci/devito/pulls/886"},"html":{"href":"https://github.com/opesci/devito/pull/886"},"issue":{"href":"https://api.github.com/repos/opesci/devito/issues/886"},"comments":{"href":"https://api.github.com/repos/opesci/devito/issues/886/comments"},"review_comments":{"href":"https://api.github.com/repos/opesci/devito/pulls/886/comments"},"review_comment":{"href":"https://api.github.com/repos/opesci/devito/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opesci/devito/pulls/886/commits"},"statuses":{"href":"https://api.github.com/repos/opesci/devito/statuses/0471b4e0c68e435f7e58b24ac875b90d09553809"}},"author_association":"NONE"}}
{"actor":{"display_login":"vincepandolfo"}}