{"id":19867702,"url":"https://github.com/cwsmith/dotprod","last_synced_at":"2025-07-20T06:03:43.702Z","repository":{"id":93888979,"uuid":"298950528","full_name":"cwsmith/dotprod","owner":"cwsmith","description":"loop testing","archived":false,"fork":false,"pushed_at":"2020-09-27T06:03:22.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T00:39:14.223Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cwsmith.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":"2020-09-27T04:08:22.000Z","updated_at":"2020-09-27T06:03:24.000Z","dependencies_parsed_at":"2023-04-26T15:02:28.173Z","dependency_job_id":null,"html_url":"https://github.com/cwsmith/dotprod","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cwsmith/dotprod","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwsmith%2Fdotprod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwsmith%2Fdotprod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwsmith%2Fdotprod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwsmith%2Fdotprod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cwsmith","download_url":"https://codeload.github.com/cwsmith/dotprod/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cwsmith%2Fdotprod/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266076002,"owners_count":23872729,"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-11-12T15:30:03.677Z","updated_at":"2025-07-20T06:03:43.678Z","avatar_url":"https://github.com/cwsmith.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotprod\nloop testing\n\nrun the following commands to record max timings over 10 runs\n\n```\nsys=someName\nfor i in {0..10}; do ./dotprod ; done \u0026\u003e ${sys}.log\nawk 'BEGIN {a=0;c=0;d=0;t=0}{\\\na=($5\u003ea ? $5 : a); \\\nc=($6\u003ec ? $6 : c); \\\nd=($7\u003ed ? $7 : d); \\\nt=($8\u003et ? $8 : t)} \\\nEND{print \"max (sec) alloc compute dealloc total \" a \" \" c \" \" d \" \" t}' ${sys}.log\n```\n\n## turtle\n\nRyzen 5 3600\nGCC 10.1.0\n\n```\nmax (sec) alloc compute dealloc total 0.00860 0.20777 0.00001 0.21611\n```\n\n## aimos\n\nPower9\nGCC 8.4.0\n\n```\nmax (sec) alloc compute dealloc total 0.00508 0.35628 0.00004 0.36136\n```\n\nallocate and build\n\n```\n$ salloc -N 1 --gres=gpu:4 -t 10\n$ ssh \u003ccomputeNode\u003e\n$ module load gcc\n$ g++ -O3 dotprod.cpp -o dotprod\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwsmith%2Fdotprod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcwsmith%2Fdotprod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwsmith%2Fdotprod/lists"}