{"id":16515438,"url":"https://github.com/njmarko/tbb-matrix-multiplication","last_synced_at":"2026-02-19T06:31:36.823Z","repository":{"id":40810361,"uuid":"263155770","full_name":"njmarko/tbb-matrix-multiplication","owner":"njmarko","description":"Parallel matrix multiplication using Intel TBB library","archived":false,"fork":false,"pushed_at":"2022-06-14T10:29:34.000Z","size":37741,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T03:14:40.417Z","etag":null,"topics":["avx2","intel-compiler","intel-tbb","matrix-multiplication-parallel","matrix-transpose","parallel-programming","tbb"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/njmarko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-11T20:52:56.000Z","updated_at":"2022-06-27T21:38:34.000Z","dependencies_parsed_at":"2022-09-13T16:11:35.567Z","dependency_job_id":null,"html_url":"https://github.com/njmarko/tbb-matrix-multiplication","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njmarko%2Ftbb-matrix-multiplication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njmarko%2Ftbb-matrix-multiplication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njmarko%2Ftbb-matrix-multiplication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njmarko%2Ftbb-matrix-multiplication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/njmarko","download_url":"https://codeload.github.com/njmarko/tbb-matrix-multiplication/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241533650,"owners_count":19977826,"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":["avx2","intel-compiler","intel-tbb","matrix-multiplication-parallel","matrix-transpose","parallel-programming","tbb"],"created_at":"2024-10-11T16:17:11.506Z","updated_at":"2025-10-16T10:19:23.188Z","avatar_url":"https://github.com/njmarko.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tbb-matrix-multiplication\nParallel matrix multiplication using Intel TBB library. This approached achieved the fastest running time in the Parallel programming class in 2020.\n\n## Solution\n\n- Intel C++ compiler v18\n- Second matrix was transposed\n  - Enables vectorization\n  - Better cache efficiency\n- AVX 256 instructions\n  - Doubles the speed of vectorized functions compared to the VS compiler\n  - Uses 256bit registers \n- std::inner_product\n  - Standard library function that is already optimized and vectorizes pretty well\n- Tbb tasks achieved the best time\n  - Tree like hierarchy was created with tasks\n\n## Hardware Specification\n\n- Windows 10\n- Intel i7 9750h processor (6 cores, 12 logical) @2.56GHz (4.5GHz boost)\n- Nvidia GTX1660TI\n- 16GB ddr4 ram (dual channel)\n- 512 GB M2-SSD\n\n## Results\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg alt=\"tabelar-results\" align=\"center\" width=\"100%\" src=\"https://user-images.githubusercontent.com/34657562/173551346-47dbbe94-43e0-4ec9-8cfd-2f6c661b7918.png\" /\u003e\n  \u003cp align=\"center\"\u003eIlustration 1 - Achieved results.\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg alt=\"execution-time-visualization\" align=\"center\" width=\"100%\" src=\"https://user-images.githubusercontent.com/34657562/173551422-0a479fe9-31ee-4362-b13c-4386467aa073.png\" /\u003e\n  \u003cp align=\"center\"\u003eIlustration 2 - Execution time.\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg alt=\"speedup-compared-to-serial-baseline\" align=\"center\" width=\"100%\" src=\"https://user-images.githubusercontent.com/34657562/173551534-42121d22-32f4-4caf-a444-ede65f91c3ce.png\" /\u003e\n  \u003cp align=\"center\"\u003eIlustration 3 - Speedup compared to serial baseline.\u003c/p\u003e\n\u003c/div\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjmarko%2Ftbb-matrix-multiplication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnjmarko%2Ftbb-matrix-multiplication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjmarko%2Ftbb-matrix-multiplication/lists"}