{"id":24607351,"url":"https://github.com/dereklstinson/hip","last_synced_at":"2025-03-18T11:23:36.342Z","repository":{"id":57588722,"uuid":"189635086","full_name":"dereklstinson/hip","owner":"dereklstinson","description":"go bindings for hip","archived":false,"fork":false,"pushed_at":"2019-10-29T16:45:43.000Z","size":90,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-24T17:38:01.102Z","etag":null,"topics":["amdgpu","bindings","go","gpu-acceleration","gpu-computing","gpu-programming","hip","rocm"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/dereklstinson.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}},"created_at":"2019-05-31T17:42:55.000Z","updated_at":"2024-07-05T16:53:38.000Z","dependencies_parsed_at":"2022-09-15T17:40:27.765Z","dependency_job_id":null,"html_url":"https://github.com/dereklstinson/hip","commit_stats":null,"previous_names":["dereklstinson/hipgo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dereklstinson%2Fhip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dereklstinson%2Fhip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dereklstinson%2Fhip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dereklstinson%2Fhip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dereklstinson","download_url":"https://codeload.github.com/dereklstinson/hip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244208733,"owners_count":20416142,"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":["amdgpu","bindings","go","gpu-acceleration","gpu-computing","gpu-programming","hip","rocm"],"created_at":"2025-01-24T17:36:47.360Z","updated_at":"2025-03-18T11:23:36.320Z","avatar_url":"https://github.com/dereklstinson.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hipgo\ngo bindings for hip\n\nThis package might not work out of the box.  Infact, I had to fork hip in order to get it to work.\nAs of today 10/29/2019. This should work right out of the box (after installing rocm).\n\n\n\n## Pre-use stuff\n\nto install hip on pc go to https://rocm.github.io/install.html.\n\nuse \n```\ngo get github.com/dereklstinson/cutil\ngo get github.com/dereklstinson/half\n```\n\n\n\n## Examples\nLook in the kernel folder for example on how to build a kernel.\n\nLook in the testhip folder to see how it is done in c.\n\nLook in the testmain to see how to use package.  \n\n## Tips\n\nI haven't tested this using goroutines. Other than you might want to use runtime.LockHostThread() when inside a goroutine.\n\nGPUs are meant to run concurrently with the cpu.  You will need to run stream.sync() if something needs the result of a gpu function.\n\n## Notes\n\nThis doesn't support modules for now, because it sucks for development using the Go extention tools on vscode.\n\nThis is not the whole hip_runtime api.  If you look through some of the files. I have commented functions out that\nneed to be binded. (yes, I bind by hand)\n\nI might not work on this for a while. So, if anything is needed please send me a pull request.\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdereklstinson%2Fhip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdereklstinson%2Fhip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdereklstinson%2Fhip/lists"}