{"action":"closed","number":719,"pull_request":{"url":"https://api.github.com/repos/deeplearning4j/nd4j/pulls/719","id":63561102,"html_url":"https://github.com/deeplearning4j/nd4j/pull/719","diff_url":"https://github.com/deeplearning4j/nd4j/pull/719.diff","patch_url":"https://github.com/deeplearning4j/nd4j/pull/719.patch","issue_url":"https://api.github.com/repos/deeplearning4j/nd4j/issues/719","number":719,"state":"closed","locked":false,"title":"Allocator improvements","user":{"login":"raver119","id":12250879,"avatar_url":"https://avatars.githubusercontent.com/u/12250879?v=3","gravatar_id":"","url":"https://api.github.com/users/raver119","html_url":"https://github.com/raver119","followers_url":"https://api.github.com/users/raver119/followers","following_url":"https://api.github.com/users/raver119/following{/other_user}","gists_url":"https://api.github.com/users/raver119/gists{/gist_id}","starred_url":"https://api.github.com/users/raver119/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raver119/subscriptions","organizations_url":"https://api.github.com/users/raver119/orgs","repos_url":"https://api.github.com/users/raver119/repos","events_url":"https://api.github.com/users/raver119/events{/privacy}","received_events_url":"https://api.github.com/users/raver119/received_events","type":"User","site_admin":false},"body":"***WIP; DO NOT MERGE; DO NOT CHANGE***\r\n\r\nThis PR will cover the following goals:\r\n\r\n- Allocator will become abstract. All hardware-dependand logic will be transferred into Mover interface implementations.\r\n- Allocator won't rely on DirectBuffers as original storage, thus removing memory overuse\r\n- Thread->Device affinity will be reconsidered.\r\n- Memory reuse is implemented, to reduce number of global syncs at cuda driver, and time spent for allocation.\r\n- Memory preallocation is implemented, to make cache more effective.\r\n\r\nAlso, there will be implemented device-only allocation mode for cases, when user knows that he has enough device memory for his tasks.","created_at":"2016-03-21T13:10:01Z","updated_at":"2016-03-25T19:25:21Z","closed_at":"2016-03-25T19:25:20Z","merged_at":"2016-03-25T19:25:20Z","merge_commit_sha":"810ad097ccd658aee64ecd49e885ff01d7f86e37","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/deeplearning4j/nd4j/pulls/719/commits","review_comments_url":"https://api.github.com/repos/deeplearning4j/nd4j/pulls/719/comments","review_comment_url":"https://api.github.com/repos/deeplearning4j/nd4j/pulls/comments{/number}","comments_url":"https://api.github.com/repos/deeplearning4j/nd4j/issues/719/comments","statuses_url":"https://api.github.com/repos/deeplearning4j/nd4j/statuses/c7e4e9710f19fb89605aff55b3bc72192fe041ae","head":{"label":"deeplearning4j:jita_2_banana_taste","ref":"jita_2_banana_taste","sha":"c7e4e9710f19fb89605aff55b3bc72192fe041ae","user":{"login":"deeplearning4j","id":10988606,"avatar_url":"https://avatars.githubusercontent.com/u/10988606?v=3","gravatar_id":"","url":"https://api.github.com/users/deeplearning4j","html_url":"https://github.com/deeplearning4j","followers_url":"https://api.github.com/users/deeplearning4j/followers","following_url":"https://api.github.com/users/deeplearning4j/following{/other_user}","gists_url":"https://api.github.com/users/deeplearning4j/gists{/gist_id}","starred_url":"https://api.github.com/users/deeplearning4j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deeplearning4j/subscriptions","organizations_url":"https://api.github.com/users/deeplearning4j/orgs","repos_url":"https://api.github.com/users/deeplearning4j/repos","events_url":"https://api.github.com/users/deeplearning4j/events{/privacy}","received_events_url":"https://api.github.com/users/deeplearning4j/received_events","type":"Organization","site_admin":false},"repo":{"id":23505879,"name":"nd4j","full_name":"deeplearning4j/nd4j","owner":{"login":"deeplearning4j","id":10988606,"avatar_url":"https://avatars.githubusercontent.com/u/10988606?v=3","gravatar_id":"","url":"https://api.github.com/users/deeplearning4j","html_url":"https://github.com/deeplearning4j","followers_url":"https://api.github.com/users/deeplearning4j/followers","following_url":"https://api.github.com/users/deeplearning4j/following{/other_user}","gists_url":"https://api.github.com/users/deeplearning4j/gists{/gist_id}","starred_url":"https://api.github.com/users/deeplearning4j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deeplearning4j/subscriptions","organizations_url":"https://api.github.com/users/deeplearning4j/orgs","repos_url":"https://api.github.com/users/deeplearning4j/repos","events_url":"https://api.github.com/users/deeplearning4j/events{/privacy}","received_events_url":"https://api.github.com/users/deeplearning4j/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/deeplearning4j/nd4j","description":"Fast, Scientific Computing for the JVM (NDArrays)","fork":false,"url":"https://api.github.com/repos/deeplearning4j/nd4j","forks_url":"https://api.github.com/repos/deeplearning4j/nd4j/forks","keys_url":"https://api.github.com/repos/deeplearning4j/nd4j/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deeplearning4j/nd4j/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deeplearning4j/nd4j/teams","hooks_url":"https://api.github.com/repos/deeplearning4j/nd4j/hooks","issue_events_url":"https://api.github.com/repos/deeplearning4j/nd4j/issues/events{/number}","events_url":"https://api.github.com/repos/deeplearning4j/nd4j/events","assignees_url":"https://api.github.com/repos/deeplearning4j/nd4j/assignees{/user}","branches_url":"https://api.github.com/repos/deeplearning4j/nd4j/branches{/branch}","tags_url":"https://api.github.com/repos/deeplearning4j/nd4j/tags","blobs_url":"https://api.github.com/repos/deeplearning4j/nd4j/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deeplearning4j/nd4j/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deeplearning4j/nd4j/git/refs{/sha}","trees_url":"https://api.github.com/repos/deeplearning4j/nd4j/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deeplearning4j/nd4j/statuses/{sha}","languages_url":"https://api.github.com/repos/deeplearning4j/nd4j/languages","stargazers_url":"https://api.github.com/repos/deeplearning4j/nd4j/stargazers","contributors_url":"https://api.github.com/repos/deeplearning4j/nd4j/contributors","subscribers_url":"https://api.github.com/repos/deeplearning4j/nd4j/subscribers","subscription_url":"https://api.github.com/repos/deeplearning4j/nd4j/subscription","commits_url":"https://api.github.com/repos/deeplearning4j/nd4j/commits{/sha}","git_commits_url":"https://api.github.com/repos/deeplearning4j/nd4j/git/commits{/sha}","comments_url":"https://api.github.com/repos/deeplearning4j/nd4j/comments{/number}","issue_comment_url":"https://api.github.com/repos/deeplearning4j/nd4j/issues/comments{/number}","contents_url":"https://api.github.com/repos/deeplearning4j/nd4j/contents/{+path}","compare_url":"https://api.github.com/repos/deeplearning4j/nd4j/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deeplearning4j/nd4j/merges","archive_url":"https://api.github.com/repos/deeplearning4j/nd4j/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deeplearning4j/nd4j/downloads","issues_url":"https://api.github.com/repos/deeplearning4j/nd4j/issues{/number}","pulls_url":"https://api.github.com/repos/deeplearning4j/nd4j/pulls{/number}","milestones_url":"https://api.github.com/repos/deeplearning4j/nd4j/milestones{/number}","notifications_url":"https://api.github.com/repos/deeplearning4j/nd4j/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deeplearning4j/nd4j/labels{/name}","releases_url":"https://api.github.com/repos/deeplearning4j/nd4j/releases{/id}","deployments_url":"https://api.github.com/repos/deeplearning4j/nd4j/deployments","created_at":"2014-08-31T03:47:00Z","updated_at":"2016-03-23T19:12:24Z","pushed_at":"2016-03-25T19:25:20Z","git_url":"git://github.com/deeplearning4j/nd4j.git","ssh_url":"git@github.com:deeplearning4j/nd4j.git","clone_url":"https://github.com/deeplearning4j/nd4j.git","svn_url":"https://github.com/deeplearning4j/nd4j","homepage":"http://nd4j.org","size":210885,"stargazers_count":356,"watchers_count":356,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":169,"mirror_url":null,"open_issues_count":39,"forks":169,"open_issues":39,"watchers":356,"default_branch":"master"}},"base":{"label":"deeplearning4j:master","ref":"master","sha":"cf9fe733ace449bc797fb6b25879d8e5aa1683f1","user":{"login":"deeplearning4j","id":10988606,"avatar_url":"https://avatars.githubusercontent.com/u/10988606?v=3","gravatar_id":"","url":"https://api.github.com/users/deeplearning4j","html_url":"https://github.com/deeplearning4j","followers_url":"https://api.github.com/users/deeplearning4j/followers","following_url":"https://api.github.com/users/deeplearning4j/following{/other_user}","gists_url":"https://api.github.com/users/deeplearning4j/gists{/gist_id}","starred_url":"https://api.github.com/users/deeplearning4j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deeplearning4j/subscriptions","organizations_url":"https://api.github.com/users/deeplearning4j/orgs","repos_url":"https://api.github.com/users/deeplearning4j/repos","events_url":"https://api.github.com/users/deeplearning4j/events{/privacy}","received_events_url":"https://api.github.com/users/deeplearning4j/received_events","type":"Organization","site_admin":false},"repo":{"id":23505879,"name":"nd4j","full_name":"deeplearning4j/nd4j","owner":{"login":"deeplearning4j","id":10988606,"avatar_url":"https://avatars.githubusercontent.com/u/10988606?v=3","gravatar_id":"","url":"https://api.github.com/users/deeplearning4j","html_url":"https://github.com/deeplearning4j","followers_url":"https://api.github.com/users/deeplearning4j/followers","following_url":"https://api.github.com/users/deeplearning4j/following{/other_user}","gists_url":"https://api.github.com/users/deeplearning4j/gists{/gist_id}","starred_url":"https://api.github.com/users/deeplearning4j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deeplearning4j/subscriptions","organizations_url":"https://api.github.com/users/deeplearning4j/orgs","repos_url":"https://api.github.com/users/deeplearning4j/repos","events_url":"https://api.github.com/users/deeplearning4j/events{/privacy}","received_events_url":"https://api.github.com/users/deeplearning4j/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/deeplearning4j/nd4j","description":"Fast, Scientific Computing for the JVM (NDArrays)","fork":false,"url":"https://api.github.com/repos/deeplearning4j/nd4j","forks_url":"https://api.github.com/repos/deeplearning4j/nd4j/forks","keys_url":"https://api.github.com/repos/deeplearning4j/nd4j/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deeplearning4j/nd4j/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deeplearning4j/nd4j/teams","hooks_url":"https://api.github.com/repos/deeplearning4j/nd4j/hooks","issue_events_url":"https://api.github.com/repos/deeplearning4j/nd4j/issues/events{/number}","events_url":"https://api.github.com/repos/deeplearning4j/nd4j/events","assignees_url":"https://api.github.com/repos/deeplearning4j/nd4j/assignees{/user}","branches_url":"https://api.github.com/repos/deeplearning4j/nd4j/branches{/branch}","tags_url":"https://api.github.com/repos/deeplearning4j/nd4j/tags","blobs_url":"https://api.github.com/repos/deeplearning4j/nd4j/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deeplearning4j/nd4j/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deeplearning4j/nd4j/git/refs{/sha}","trees_url":"https://api.github.com/repos/deeplearning4j/nd4j/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deeplearning4j/nd4j/statuses/{sha}","languages_url":"https://api.github.com/repos/deeplearning4j/nd4j/languages","stargazers_url":"https://api.github.com/repos/deeplearning4j/nd4j/stargazers","contributors_url":"https://api.github.com/repos/deeplearning4j/nd4j/contributors","subscribers_url":"https://api.github.com/repos/deeplearning4j/nd4j/subscribers","subscription_url":"https://api.github.com/repos/deeplearning4j/nd4j/subscription","commits_url":"https://api.github.com/repos/deeplearning4j/nd4j/commits{/sha}","git_commits_url":"https://api.github.com/repos/deeplearning4j/nd4j/git/commits{/sha}","comments_url":"https://api.github.com/repos/deeplearning4j/nd4j/comments{/number}","issue_comment_url":"https://api.github.com/repos/deeplearning4j/nd4j/issues/comments{/number}","contents_url":"https://api.github.com/repos/deeplearning4j/nd4j/contents/{+path}","compare_url":"https://api.github.com/repos/deeplearning4j/nd4j/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deeplearning4j/nd4j/merges","archive_url":"https://api.github.com/repos/deeplearning4j/nd4j/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deeplearning4j/nd4j/downloads","issues_url":"https://api.github.com/repos/deeplearning4j/nd4j/issues{/number}","pulls_url":"https://api.github.com/repos/deeplearning4j/nd4j/pulls{/number}","milestones_url":"https://api.github.com/repos/deeplearning4j/nd4j/milestones{/number}","notifications_url":"https://api.github.com/repos/deeplearning4j/nd4j/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deeplearning4j/nd4j/labels{/name}","releases_url":"https://api.github.com/repos/deeplearning4j/nd4j/releases{/id}","deployments_url":"https://api.github.com/repos/deeplearning4j/nd4j/deployments","created_at":"2014-08-31T03:47:00Z","updated_at":"2016-03-23T19:12:24Z","pushed_at":"2016-03-25T19:25:20Z","git_url":"git://github.com/deeplearning4j/nd4j.git","ssh_url":"git@github.com:deeplearning4j/nd4j.git","clone_url":"https://github.com/deeplearning4j/nd4j.git","svn_url":"https://github.com/deeplearning4j/nd4j","homepage":"http://nd4j.org","size":210885,"stargazers_count":356,"watchers_count":356,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":169,"mirror_url":null,"open_issues_count":39,"forks":169,"open_issues":39,"watchers":356,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/deeplearning4j/nd4j/pulls/719"},"html":{"href":"https://github.com/deeplearning4j/nd4j/pull/719"},"issue":{"href":"https://api.github.com/repos/deeplearning4j/nd4j/issues/719"},"comments":{"href":"https://api.github.com/repos/deeplearning4j/nd4j/issues/719/comments"},"review_comments":{"href":"https://api.github.com/repos/deeplearning4j/nd4j/pulls/719/comments"},"review_comment":{"href":"https://api.github.com/repos/deeplearning4j/nd4j/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/deeplearning4j/nd4j/pulls/719/commits"},"statuses":{"href":"https://api.github.com/repos/deeplearning4j/nd4j/statuses/c7e4e9710f19fb89605aff55b3bc72192fe041ae"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"raver119","id":12250879,"avatar_url":"https://avatars.githubusercontent.com/u/12250879?v=3","gravatar_id":"","url":"https://api.github.com/users/raver119","html_url":"https://github.com/raver119","followers_url":"https://api.github.com/users/raver119/followers","following_url":"https://api.github.com/users/raver119/following{/other_user}","gists_url":"https://api.github.com/users/raver119/gists{/gist_id}","starred_url":"https://api.github.com/users/raver119/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raver119/subscriptions","organizations_url":"https://api.github.com/users/raver119/orgs","repos_url":"https://api.github.com/users/raver119/repos","events_url":"https://api.github.com/users/raver119/events{/privacy}","received_events_url":"https://api.github.com/users/raver119/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":64,"additions":3290,"deletions":2614,"changed_files":61}}