{"id":17317919,"url":"https://github.com/marty1885/ttvecadd","last_synced_at":"2026-02-03T12:10:12.842Z","repository":{"id":229831682,"uuid":"777735681","full_name":"marty1885/ttVecAdd","owner":"marty1885","description":"A simple vector-addition on Tenstorrent devices using tt-Metalium.","archived":false,"fork":false,"pushed_at":"2024-07-21T14:27:27.000Z","size":18,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-04T00:39:01.471Z","etag":null,"topics":["grayskull","tenstorrent","vector-addition"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marty1885.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-03-26T12:15:56.000Z","updated_at":"2024-10-08T12:27:07.000Z","dependencies_parsed_at":"2024-03-26T14:25:49.903Z","dependency_job_id":"a91dafd0-b07b-44e8-be19-0dc8c21858e6","html_url":"https://github.com/marty1885/ttVecAdd","commit_stats":null,"previous_names":["marty1885/ttvecadd"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marty1885/ttVecAdd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marty1885%2FttVecAdd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marty1885%2FttVecAdd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marty1885%2FttVecAdd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marty1885%2FttVecAdd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marty1885","download_url":"https://codeload.github.com/marty1885/ttVecAdd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marty1885%2FttVecAdd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29045476,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["grayskull","tenstorrent","vector-addition"],"created_at":"2024-10-15T13:18:14.309Z","updated_at":"2026-02-03T12:10:10.797Z","avatar_url":"https://github.com/marty1885.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ttVecAdd\n\nA simple vector-addition on Tenstorrent devices using tt-Metalium.\n\n## How to use\n\n\nBefore building this project. Setup the enviroment variables that Metalium needs\n\n```bash\nexport ARCH_NAME=grayskull                                                                   \nexport TT_METAL_HOME=/path/to/your/root/of/tt-metal/\nexport TT_METAL_ENV=dev\n```\n\nThen build the project\n\n```bash\ncd ttVecAdd\n# HACK: Metalium only searches kernels under it's directories\nln -s vecadd_kernels $TT_METAL_HOME/vecadd_kernels\n\nmkdir build\ncd build\ncmake ..\nmake\n```\n\nTo run\n\n```\n➜ ./ttvecadd \n                  Metal | INFO     | Initializing device 0\n                 Device | INFO     | Opening user mode device driver\n2024-03-26 10:24:40.877 | INFO     | SiliconDriver   - Detected 1 PCI device : [0]\n                  Metal | INFO     | AI CLK for device 0 is:   1300 MHz\n                  Metal | INFO     | DPRINT enabled on device 0, worker core (x=0,y=0) (physical (x=1,y=1)).\n                  Metal | INFO     | DPRINT Server attached device 0\n                  Verif | INFO     | Created a random vector of size 512\n                  Verif | INFO     | Created a random vector of size 512\nKernel execution finished\nPartial results: (note we are running under BFP16. It's going to be less accurate)\n  17.625 + 8.1875 = 25.875\n  6.34375 + 17.125 = 23.5\n  5.0625 + 4.3125 = 9.375\n  17.375 + 4.53125 = 21.875\n  3.25 + 10.5625 = 13.8125\n  17 + 3.25 = 20.25\n  7.40625 + 6.8125 = 14.25\n  17.875 + 0.369141 = 18.25\n  15.75 + 10.75 = 26.5\n  15.1875 + 15.8125 = 31\n                  Metal | INFO     | Closing device 0\n                  Metal | INFO     | DPRINT Server dettached device 0\n                 Device | INFO     | Closing user mode device drivers\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarty1885%2Fttvecadd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarty1885%2Fttvecadd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarty1885%2Fttvecadd/lists"}