{"id":28397848,"url":"https://github.com/analytech-solutions/alignedarrays.jl","last_synced_at":"2026-02-09T11:37:17.264Z","repository":{"id":56287306,"uuid":"312640528","full_name":"analytech-solutions/AlignedArrays.jl","owner":"analytech-solutions","description":"Array wrappers for working with aligned memory allocations in Julia","archived":false,"fork":false,"pushed_at":"2020-11-16T18:40:01.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-02T19:37:30.787Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/analytech-solutions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-13T17:24:37.000Z","updated_at":"2020-11-16T18:40:03.000Z","dependencies_parsed_at":"2022-08-15T16:00:57.913Z","dependency_job_id":null,"html_url":"https://github.com/analytech-solutions/AlignedArrays.jl","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/analytech-solutions/AlignedArrays.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analytech-solutions%2FAlignedArrays.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analytech-solutions%2FAlignedArrays.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analytech-solutions%2FAlignedArrays.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analytech-solutions%2FAlignedArrays.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/analytech-solutions","download_url":"https://codeload.github.com/analytech-solutions/AlignedArrays.jl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/analytech-solutions%2FAlignedArrays.jl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269361832,"owners_count":24404426,"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","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-06-01T02:37:09.578Z","updated_at":"2026-02-09T11:37:17.176Z","avatar_url":"https://github.com/analytech-solutions.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AlignedArrays.jl\n\n[![Build Status](https://github.com/analytech-solutions/AlignedArrays.jl/workflows/CI/badge.svg)](https://github.com/analytech-solutions/AlignedArrays.jl/actions)\n\nArray wrappers for working with aligned memory allocations suitable for efficient GPU and RDMA transfers.\n\n\n# Usage\n\nAlignedArrays.jl is still in early development, and currently only works for Linux systems.\nBasic usage follows that of standard Array, Vector, Matrix types, but with the added parameter depicting the alignment of the array's memory.\nUse `AlignedArray`, `AlignedVector`, or `AlignedMatrix` to specify memory alignment as a type parameter.\nWe provide  `PageAlignedArray`, `PageAlignedVector`, and `PageAlignedMatrix` for convenience when allocations using the system's page-alignment is desired.\n\n```jl\njulia\u003e using AlignedArrays\n\njulia\u003e x = Vector{Int32}(undef, 5)\n5-element Array{Int32,1}:\n 1897413280\n      32662\n 1826880912\n      32662\n 1730212208\n\njulia\u003e y = PageAlignedVector{Int32}(undef, 5)\n5-element Array{Int32,1}:\n 0\n 0\n 0\n 0\n 0\n\njulia\u003e z = AlignedVector{Int32, 1024}(undef, 5)\n5-element Array{Int32,1}:\n -1\n -1\n -1\n -1\n -1\n\njulia\u003e typeof(y)\nAlignedArray{Int32,1,4096}\n\njulia\u003e typeof(z)\nAlignedArray{Int32,1,1024}\n\njulia\u003e pointer(x)\nPtr{Int32} @0x00007f966a213850\n\njulia\u003e pointer(y)\nPtr{Int32} @0x00000000029cf000\n\njulia\u003e pointer(z)\nPtr{Int32} @0x00000000029fd800\n\njulia\u003e y .= x\n5-element Array{Int32,1}:\n 1897413280\n      32662\n 1826880912\n      32662\n 1730212208\n\njulia\u003e for i in y\n           println(i)\n       end\n1897413280\n32662\n1826880912\n32662\n1730212208\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanalytech-solutions%2Falignedarrays.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanalytech-solutions%2Falignedarrays.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanalytech-solutions%2Falignedarrays.jl/lists"}