{"id":22412051,"url":"https://github.com/jefflarkin/acc-events","last_synced_at":"2026-01-06T13:51:15.086Z","repository":{"id":66474244,"uuid":"521019765","full_name":"jefflarkin/acc-events","owner":"jefflarkin","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-03T21:15:08.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T08:30:08.542Z","etag":null,"topics":["openacc"],"latest_commit_sha":null,"homepage":"","language":"Fortran","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/jefflarkin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-03T20:17:11.000Z","updated_at":"2022-09-22T18:00:44.000Z","dependencies_parsed_at":"2023-06-01T09:15:31.154Z","dependency_job_id":null,"html_url":"https://github.com/jefflarkin/acc-events","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/jefflarkin%2Facc-events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefflarkin%2Facc-events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefflarkin%2Facc-events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jefflarkin%2Facc-events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jefflarkin","download_url":"https://codeload.github.com/jefflarkin/acc-events/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245773180,"owners_count":20669719,"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":["openacc"],"created_at":"2024-12-05T13:16:39.115Z","updated_at":"2026-01-06T13:51:15.047Z","avatar_url":"https://github.com/jefflarkin.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"# acc-events - Examples for using the OpenACC Profiling Events API\n\nThe purpose of this repository is to provide a demonstration of how to write\nsimple tools using the OpenACC Events API (formerly Profiling Interface).\nNothing in this repository is intended for production use, use at your own risk.\n\n## Examples\n\n1. acc_data_migrate_tool.c - Will print to the console whenever data is\nimplicitly copied to or from the device. Useful for identifying data structures\nthat should be added to explicit data clauses. **NOTE:** As-written this tool\ncan be ***very*** verbose.  \n2. acc_data_migrate_tool_color.c - Same as\nacc_data_migrate_tool.c, but prints with ANSI colors.\n\n## Build\n\nThe included Makefile provides examples for building both `libacctool.so` and\n`libacctoolcolor.so` using the NVIDIA compilers. Options should be adapted when\nused with other compilers. \n\n## Usage\n\nThe included Makefile demonstrates how to use the two libraries with an included\nsample application. More generally, to use with an arbitrary executable simply\nset set `ACC_PROFLIB=\"\u003cpath to lib.so\u003e\"` when running the executable.\n\n## Recommendations\n\nPrinting to the console from the profiling library may introduce a significant\noverhead and result in a large amount of output. It is likely a better practice\nto record details to memory or a database (sqlite, for instance) and print only\nperiodically or at the very end, unless the output is needed immediately for\nyour specific use case.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjefflarkin%2Facc-events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjefflarkin%2Facc-events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjefflarkin%2Facc-events/lists"}