{"id":13625958,"url":"https://github.com/zakarumych/gpu-alloc","last_synced_at":"2025-04-04T10:09:50.307Z","repository":{"id":37118009,"uuid":"307356281","full_name":"zakarumych/gpu-alloc","owner":"zakarumych","description":"Implementation agnostic memory allocator for Vulkan-like APIs","archived":false,"fork":false,"pushed_at":"2024-04-09T19:26:30.000Z","size":200,"stargazers_count":86,"open_issues_count":9,"forks_count":17,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T09:09:32.716Z","etag":null,"topics":["allocator","dx12","gpu","rust","vulkan"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zakarumych.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-26T11:53:40.000Z","updated_at":"2024-11-04T23:06:39.000Z","dependencies_parsed_at":"2024-03-28T21:50:57.890Z","dependency_job_id":"8c8b93cf-97fe-4e1a-9578-28e1bf04c995","html_url":"https://github.com/zakarumych/gpu-alloc","commit_stats":{"total_commits":133,"total_committers":12,"mean_commits":"11.083333333333334","dds":0.1428571428571429,"last_synced_commit":"38f968c20962036f2ee3cba8556b0908b4f3e277"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakarumych%2Fgpu-alloc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakarumych%2Fgpu-alloc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakarumych%2Fgpu-alloc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakarumych%2Fgpu-alloc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zakarumych","download_url":"https://codeload.github.com/zakarumych/gpu-alloc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157283,"owners_count":20893220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["allocator","dx12","gpu","rust","vulkan"],"created_at":"2024-08-01T21:02:06.600Z","updated_at":"2025-04-04T10:09:50.281Z","avatar_url":"https://github.com/zakarumych.png","language":"Rust","funding_links":["https://www.patreon.com/zakarum"],"categories":["Rust"],"sub_categories":[],"readme":"# gpu-alloc\n\n[![crates](https://img.shields.io/crates/v/gpu-alloc.svg?style=for-the-badge\u0026label=gpu-alloc)](https://crates.io/crates/gpu-alloc)\n[![docs](https://img.shields.io/badge/docs.rs-gpu--alloc-66c2a5?style=for-the-badge\u0026labelColor=555555\u0026logoColor=white)](https://docs.rs/gpu-alloc)\n[![actions](https://img.shields.io/github/workflow/status/zakarumych/gpu-alloc/Rust/main?style=for-the-badge)](https://github.com/zakarumych/gpu-alloc/actions?query=workflow%3ARust)\n[![MIT/Apache](https://img.shields.io/badge/license-MIT%2FApache-blue.svg?style=for-the-badge)](COPYING)\n![loc](https://img.shields.io/tokei/lines/github/zakarumych/gpu-alloc?style=for-the-badge)\n\n\nImplementation agnostic memory allocator for Vulkan like APIs.\n\nThis crate is intended to be used as part of safe API implementations.\\\nUse with caution. There are unsafe functions all over the place.\n\n## Usage\n\nStart with fetching `DeviceProperties` from `gpu-alloc-\u003cbackend\u003e` crate for the backend of choice.\\\nThen create `GpuAllocator` instance and use it for all device memory allocations.\\\n`GpuAllocator` will take care for all necessary bookkeeping like memory object count limit,\nheap budget and memory mapping.\n\n#### Backends implementations\n\nBackend supporting crates should not depend on this crate.\\\nInstead they should depend on `gpu-alloc-types` which is much more stable,\nallowing to upgrade `gpu-alloc` version without `gpu-alloc-\u003cbackend\u003e` upgrade.\n\n\nSupported Rust Versions\n\nThe minimum supported version is 1.40.\nThe current version is not guaranteed to build on Rust versions earlier than the minimum supported version.\n\n`gpu-alloc-erupt` crate requires version 1.48 or higher due to dependency on `erupt` crate.\n\n## License\n\nLicensed under either of\n\n* Apache License, Version 2.0, ([license/APACHE](license/APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n* MIT license ([license/MIT](license/MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contributions\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n\n## Donate\n\n[![Become a patron](https://c5.patreon.com/external/logo/become_a_patron_button.png)](https://www.patreon.com/zakarum)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzakarumych%2Fgpu-alloc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzakarumych%2Fgpu-alloc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzakarumych%2Fgpu-alloc/lists"}