{"id":15325733,"url":"https://github.com/matthiasreumann/cttgt","last_synced_at":"2025-03-05T17:45:10.108Z","repository":{"id":157127855,"uuid":"633312527","full_name":"MatthiasReumann/CTTGT","owner":"MatthiasReumann","description":"Complex Tensor Contractions via TTGT","archived":false,"fork":false,"pushed_at":"2023-07-05T06:14:11.000Z","size":18919,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T05:55:45.936Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","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/MatthiasReumann.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-27T08:25:26.000Z","updated_at":"2024-10-21T12:10:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"e17feae9-b8cb-44ff-bbea-a309e98a932c","html_url":"https://github.com/MatthiasReumann/CTTGT","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"643cca1316af678f4c13d818e00631ab02b16de6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthiasReumann%2FCTTGT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthiasReumann%2FCTTGT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthiasReumann%2FCTTGT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatthiasReumann%2FCTTGT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MatthiasReumann","download_url":"https://codeload.github.com/MatthiasReumann/CTTGT/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242075362,"owners_count":20068224,"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":[],"created_at":"2024-10-01T09:32:56.682Z","updated_at":"2025-03-05T17:45:10.078Z","avatar_url":"https://github.com/MatthiasReumann.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CTTGT\nComplex Tensor Contractions via TTGT. Transposed with the help of HPTT. Complex matrix multiplication is achieved with BLIS.\n\n## Dependencies \n\n* [BLIS](https://github.com/flame/blis)\n* [HPTT](https://github.com/springer13/hptt)\n* [MArray](https://github.com/devinamatthews/marray)\n\n## Usage\n\n```cpp\n#include \u003ccomplex\u003e\n#include \"ctgtt.hpp\"\n\nconst complex\u003cdouble\u003e ALPHA = 1.0;\nconst complex\u003cdouble\u003e BETA = 0.0;\n\nint main() {\n    int d1 = 200, d2 = 200, d3 = 200;\n    complex\u003cdouble\u003e *A = nullptr, *B = nullptr, *C = nullptr;\n    ctgtt::utils::alloc_aligned(\u0026A, d1 * d2);\n    ctgtt::utils::alloc_aligned(\u0026B, d2 * d3);\n    ctgtt::utils::alloc_aligned(\u0026C, d1 * d3);\n\n    /* \n        set data ...\n    */\n\n    auto tensorA = ctgtt::CTensor\u003cdouble\u003e({d1, d2}, A, ctgtt::COLUMN_MAJOR);\n    auto tensorB = ctgtt::CTensor\u003cdouble\u003e({d2, d3}, B, ctgtt::COLUMN_MAJOR);\n    auto tensorC = ctgtt::CTensor\u003cdouble\u003e({d1, d3}, C, ctgtt::COLUMN_MAJOR);\n\n    ctgtt::contract(ALPHA, tensorA, \"ab\", tensorB, \"cb\", BETA, tensorC, \"ac\");\n    return 0;\n}\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthiasreumann%2Fcttgt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthiasreumann%2Fcttgt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthiasreumann%2Fcttgt/lists"}