{"id":17870996,"url":"https://github.com/titouanc/ipython-futhark","last_synced_at":"2025-03-21T15:32:03.905Z","repository":{"id":56353274,"uuid":"97281613","full_name":"titouanc/ipython-futhark","owner":"titouanc","description":"Embed Futhark code in iPython Notebook / Jupyter","archived":false,"fork":false,"pushed_at":"2020-11-12T18:03:53.000Z","size":12,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-19T00:28:37.086Z","etag":null,"topics":["futhark","gpgpu","interactive","ipython"],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/titouanc.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}},"created_at":"2017-07-15T00:17:04.000Z","updated_at":"2023-08-15T05:45:00.000Z","dependencies_parsed_at":"2022-08-15T17:10:30.934Z","dependency_job_id":null,"html_url":"https://github.com/titouanc/ipython-futhark","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titouanc%2Fipython-futhark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titouanc%2Fipython-futhark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titouanc%2Fipython-futhark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titouanc%2Fipython-futhark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/titouanc","download_url":"https://codeload.github.com/titouanc/ipython-futhark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221816456,"owners_count":16885339,"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":["futhark","gpgpu","interactive","ipython"],"created_at":"2024-10-28T10:22:08.412Z","updated_at":"2024-10-28T10:22:08.866Z","avatar_url":"https://github.com/titouanc.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ipython-futhark\n\nEmbed [Futhark](http://futhark-lang.org) code into your favourite IPython\nshells and Notebooks.\n\n## Install\n\nYou should have a working version of Futhark in your `$PATH`. To do so, read\nthe installation instructions on\n[readthedocs.io](https://futhark.readthedocs.io/en/latest/installation.html).\n\nThen install ipython-futhark using pip:\n\n* ipython futhark only: `$ pip install ipython-futhark`\n* Installing pyopencl along the way: `$ pip install ipython-futhark[opencl]`\n\n## Example\n\nSee [the Notebook demo](http://nbviewer.jupyter.org/github/titouanc/ipython-futhark/blob/master/Demo.ipynb)\n\n```ipython\nIPython 5.4.1 -- An enhanced Interactive Python.\n?         -\u003e Introduction and overview of IPython's features.\n%quickref -\u003e Quick reference.\nhelp      -\u003e Python's own help system.\nobject?   -\u003e Details about 'object', use 'object??' for extra details.\n\nIn [1]: %load_ext futhark\n\nIn [2]: %%futhark gpu\n   ...: let main(): i32 = 42\n   ...: \nWarning: Device limits tile size to 22 (setting was 32)\n\nIn [3]: main()\nOut[3]: 42\n\nIn [4]: %%futhark inspect gpu\n   ...: let main(): f32 = 42\n   ...: \nIn: main(): f32 = 42\nDeclaration of function main at tmpDWm0Zs.fut:1:5-1:5 declares return type f32, but body has type i32\nIf you find this error message confusing, uninformative, or wrong, please open an issue at https://github.com/HIPERFIT/futhark/issues.\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftitouanc%2Fipython-futhark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftitouanc%2Fipython-futhark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftitouanc%2Fipython-futhark/lists"}