{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaGPU/CUDAnative.jl/issues/303","repository_url":"https://api.github.com/repos/JuliaGPU/CUDAnative.jl","labels_url":"https://api.github.com/repos/JuliaGPU/CUDAnative.jl/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/JuliaGPU/CUDAnative.jl/issues/303/comments","events_url":"https://api.github.com/repos/JuliaGPU/CUDAnative.jl/issues/303/events","html_url":"https://github.com/JuliaGPU/CUDAnative.jl/pull/303","id":392180185,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5NTA3ODcy","number":303,"title":"Introduce a CUDAnative run-time library written in Julia","user":{"login":"maleadt","id":383068,"node_id":"MDQ6VXNlcjM4MzA2OA==","avatar_url":"https://avatars3.githubusercontent.com/u/383068?v=4","gravatar_id":"","url":"https://api.github.com/users/maleadt","html_url":"https://github.com/maleadt","followers_url":"https://api.github.com/users/maleadt/followers","following_url":"https://api.github.com/users/maleadt/following{/other_user}","gists_url":"https://api.github.com/users/maleadt/gists{/gist_id}","starred_url":"https://api.github.com/users/maleadt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maleadt/subscriptions","organizations_url":"https://api.github.com/users/maleadt/orgs","repos_url":"https://api.github.com/users/maleadt/repos","events_url":"https://api.github.com/users/maleadt/events{/privacy}","received_events_url":"https://api.github.com/users/maleadt/received_events","type":"User","site_admin":false},"labels":[{"id":443872155,"node_id":"MDU6TGFiZWw0NDM4NzIxNTU=","url":"https://api.github.com/repos/JuliaGPU/CUDAnative.jl/labels/codegen","name":"codegen","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-12-18T14:26:19Z","updated_at":"2018-12-22T17:58:46Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/JuliaGPU/CUDAnative.jl/pulls/303","html_url":"https://github.com/JuliaGPU/CUDAnative.jl/pull/303","diff_url":"https://github.com/JuliaGPU/CUDAnative.jl/pull/303.diff","patch_url":"https://github.com/JuliaGPU/CUDAnative.jl/pull/303.patch"},"body":"This PR makes it possible to generate a CUDAnative system image with GPU functions precompiled to LLVM IR. Initially, this makes it possible to more easily call back into Julia code from within the LLVM parts of CUDAnative, and eg. avoid code like https://github.com/JuliaGPU/CUDAnative.jl/blob/3f3ec236aa7cdfec4ba4186191691f5399f889d2/src/compiler/irgen.jl#L301-L320 (which required the ugly split from https://github.com/JuliaGPU/CUDAnative.jl/commit/1ec8d4378c63d35534e157127f0247def21ee9b9#diff-f5b4eae5039d79dd7ade646aae88e8fd). Instead, we can do regular LLVM-style calling like https://github.com/JuliaGPU/CUDAnative.jl/blob/7138bd73ace2c9bc4c832d94ba8bb19c0fab8944/src/compiler/irgen.jl#L308-L310 to regular functions like https://github.com/JuliaGPU/CUDAnative.jl/blob/7138bd73ace2c9bc4c832d94ba8bb19c0fab8944/src/device/runtime.jl#L47-L50 (with some magic to make it more usable)"},"comment":{"url":"https://api.github.com/repos/JuliaGPU/CUDAnative.jl/issues/comments/449587750","html_url":"https://github.com/JuliaGPU/CUDAnative.jl/pull/303#issuecomment-449587750","issue_url":"https://api.github.com/repos/JuliaGPU/CUDAnative.jl/issues/303","id":449587750,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTU4Nzc1MA==","user":{"login":"maleadt","id":383068,"node_id":"MDQ6VXNlcjM4MzA2OA==","avatar_url":"https://avatars3.githubusercontent.com/u/383068?v=4","gravatar_id":"","url":"https://api.github.com/users/maleadt","html_url":"https://github.com/maleadt","followers_url":"https://api.github.com/users/maleadt/followers","following_url":"https://api.github.com/users/maleadt/following{/other_user}","gists_url":"https://api.github.com/users/maleadt/gists{/gist_id}","starred_url":"https://api.github.com/users/maleadt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maleadt/subscriptions","organizations_url":"https://api.github.com/users/maleadt/orgs","repos_url":"https://api.github.com/users/maleadt/repos","events_url":"https://api.github.com/users/maleadt/events{/privacy}","received_events_url":"https://api.github.com/users/maleadt/received_events","type":"User","site_admin":false},"created_at":"2018-12-22T17:58:46Z","updated_at":"2018-12-22T17:58:46Z","author_association":"MEMBER","body":"bors try"}}
{"actor":{"display_login":"maleadt"}}