{"id":17754643,"url":"https://github.com/alan-rock-gs/gpuscript","last_synced_at":"2025-04-05T03:05:39.896Z","repository":{"id":259056195,"uuid":"876222613","full_name":"Alan-Rock-GS/GpuScript","owner":"Alan-Rock-GS","description":"GpuScript allows you to write C# programs that run at supercomputer speeds on a single GPU. Learn it in 30 minutes. Write \u0026 debug large and complex projects specifically designed to run on the GPU.","archived":false,"fork":false,"pushed_at":"2025-04-02T01:50:54.000Z","size":147990,"stargazers_count":158,"open_issues_count":0,"forks_count":27,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-04-02T02:38:04.460Z","etag":null,"topics":["artificial-intelligence","csharp","functional-programming","gpgpu","gpu-programming","machine-learning","neural-networks","object-oriented-programming","unity","unity3d"],"latest_commit_sha":null,"homepage":"https://GpuScript.com","language":"Smalltalk","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Alan-Rock-GS.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":"2024-10-21T15:48:12.000Z","updated_at":"2025-04-02T01:50:58.000Z","dependencies_parsed_at":"2024-11-07T23:24:24.115Z","dependency_job_id":"9b896472-ef7b-4480-9d18-a6959a19ad91","html_url":"https://github.com/Alan-Rock-GS/GpuScript","commit_stats":{"total_commits":191,"total_committers":1,"mean_commits":191.0,"dds":0.0,"last_synced_commit":"85f08bf3c1b85a7dc0054d8d2cf0df5f9662cd31"},"previous_names":["alan-rock-gs/gpuscript"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alan-Rock-GS%2FGpuScript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alan-Rock-GS%2FGpuScript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alan-Rock-GS%2FGpuScript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alan-Rock-GS%2FGpuScript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alan-Rock-GS","download_url":"https://codeload.github.com/Alan-Rock-GS/GpuScript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247280263,"owners_count":20912967,"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":["artificial-intelligence","csharp","functional-programming","gpgpu","gpu-programming","machine-learning","neural-networks","object-oriented-programming","unity","unity3d"],"created_at":"2024-10-26T14:07:47.905Z","updated_at":"2025-04-05T03:05:39.867Z","avatar_url":"https://github.com/Alan-Rock-GS.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca id=\"readme-top\"\u003e\u003c/a\u003e\n# GS - GpuScript :rocket:\n\n## 🗺️ Directory \n\u003ca href=\"#whatis\"\u003e 🌐 What is GpuScript?\u003c/a\u003e\n\n\u003ca href=\"#install\"\u003e 📦 Installation / Getting Started\u003c/a\u003e\n\n\u003ca href=\"#tutorial\"\u003e 📂 Tutorials\u003c/a\u003e\n\n\u003ca href=\"#available\"\u003e 💾 Available Liabriries\u003c/a\u003e\n\n\u003ca href=\"#future_library\"\u003e 📢 Future Liabriries / Coming Soon\u003c/a\u003e\n\n\u003ca href=\"#status\"\u003e ⚙️ Project Status\u003c/a\u003e\n\n\u003ca href=\"#contact\"\u003e 📝 Contact Info\u003c/a\u003e\n\n\n\u003ca id=\"whatis\"\u003e\u003c/a\u003e\n## What is GpuScript?\nGpuScript is free and open source. It is written in C# and integrated with Unity, also free.\n\n### $${\\color{green}GpuScript \\space\\space\\color{green} enables\\space\\space\\color{green}programming\\space\\space\\color{green}on \\space\\space\\color{green} any  \\space\\space\\color{green}  GPU. }$$\n\n### $${\\color{green}Any \\space\\space\\color{green} Object-Oriented\\space\\space\\color{green}programmer\\space\\space\\color{green}can  \\space\\space\\color{green}  learn  \\space\\space\\color{green}  GpuScript  \\space\\space\\color{green}  in  \\space\\space\\color{green}  30\\space\\space\\color{green}  minutes!}$$\n\n( JavaScript, Python, and C++ programmers can quickly catch on, as these languages are essentially the same as C# when it comes to Object-Oriented Programming. )\n\nProgram the Gpu in Object-Oriented Programming (OOP) and skip learning HLSL, OpenGL, OpenCL, CUDA, and ShaderLab. Write an instruction OOP class, and GpuScript generates thousands of lines of boiler-plate OOP, UI, and GPU code. Then, fill in the program-critical code, and the project is done.\n\nGpuScript increases programmer productivity significantly.\n### $${\\color{red}Instead\\space\\space\\color{red} of\\space\\space\\color{red} spending \\space\\space\\color{red}a \\space\\space\\color{red}month\\space\\space\\color{red} to\\space\\space\\color{red} write\\space\\space\\color{red} a \\space\\space\\color{red}program,\\space\\space\\color{red} finish\\space\\space\\color{red} it \\space\\space\\color{red}in \\space\\space\\color{red}two\\space\\space\\color{red} hours!}$$\n\nGpuScript turns a laptop into a supercomputer. GpuScript increases program graphics and computation speed by orders of magnitude. \n\nImagine running a 4096x4096 matrix multiply in one nano-second. Imagine running a 4096 Fourier Transfrom in 3 nano-seconds. \n\nDebug group-shared memory kernels. Learn integer computation tricks to break floating point operation barriers by orders of magnitude. \n\nGpuScript brings Object-Orientated Programming (OOP), limited Functional Programming (FP), and full debugging support to the GPU. \n\nProgrammers can quickly write and easily debug large complex programs on the GPU. Perform all computations on the Gpu, keep all the data on the Gpu, reduce Cpu/Gpu memory transfers, and get higher speed-ups. \n\n\u003cimg src=\"images/GpuScript.jpg\" width=75% height=75%\u003e\n\nGpuScript is integrated with Unity. Unity supports numerous platforms, including Windows, Mac, Linux, Dedicated Server, Android, IOS, PS4, PS5, Web, Universal Windows Platform, tvOS, and visionOS, with practically no code changes required from platform to platform. Unity supports multi-user applications, enabling custom GPU Cloud distributed computing. Unity also supports high-quality 3D graphics and simulations. Unity is free, has a wide user-base, and many training videos are available. In my experience, if you don't use Unity, you end up having to rewrite it yourself, feature by feature, or do without.\n\nBottom line:  GpuScript is free, easy to learn, highly productive, and unbelievably fast!\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003ca id=\"install\"\u003e\u003c/a\u003e\n## Installation / Getting Started\n\nDownload Unity Engine for free [HERE](https://unity.com/products). \n\nInstallation instruction can be found in [How to Get Started Tutorial](https://youtu.be/GMwt2Md7yQM?si=M6lkdsYDEKG6T3Mz).\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\u003ca id=\"tutorial\"\u003e\u003c/a\u003e\n## Tutorials\n\nVideo Tutorials can be found [HERE](https://www.youtube.com/@GpuScript/playlists).\n\nText Tutorials can be found on GpuScript Wiki Pages [HERE](https://github.com/Alan-Rock-GS/GpuScript/wiki).\n\nThe following is a list of all free tutorials available, and it's recommended to watch them in sequence:\n* 1. How to Get Started\n* 2. Buttons: Learn How to Create and Use Buttons\n* 3. CheckBoxes\n* 4. Build Graphic Vertex / Draw Spheres\n* 5. Create Unsigned Integer\n* 6. Add a Float\n* 7. Array\n* 8. Debug Compute and Graphics Shaders\n\n[\u003cins\u003e**New tutorials will be added frequently!**\u003cins\u003e](https://www.youtube.com/@GpuScript/playlists)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003ca id=\"available\"\u003e\u003c/a\u003e\n## Available Libraries\n\n* BDraw: Draw hundreds of millions of billboard/semi-billboard graphics in high-speed, including spheres, lines, arrows, and 3D text.\n* AppendBuff: High-speed and high-volume append buffers and prefix sums, with many use cases.\n\n#### With GpuScript, you can write programs with lightening fast graphics and computations on GPU with ease!! :boom:\n\n\n\n\nhttps://github.com/user-attachments/assets/e4158af7-9630-47b9-9f11-39a67e700fbb\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003ca id=\"future_library\"\u003e\u003c/a\u003e\n## More Libraries to Come:\n\n* Backup: Backup files to local and/or external locations\n* FFT: Fastest Fourier Transform in existence\n* OCam: Orbit camera with legends.\n* Project: Project manager.\n* Puppeteer: Automate Chrome for numerous web applications, such as web scraping and bypassing APIs (not responsible for illegal usage).\n* Rand: Fastest random number generator in existence.\n* Sort: Fastest sort in existence.\n* Report: Generate reports and documentation with tables, figures, and animations. Full automation of all program features from an instruction file.\n* Cloud: Multi-user/multi-process support for distributed GPU computing. Provides \u003e5X acceleration using a single laptop with a single GPU. Even faster for local area networks and over the internet.\n* VGrid: Fastest 3D volumetric rendering in existence, with axes grids.\n* Views: Customized camera views and other program settings\n* GEM: AI neural network with instantaneous and automatic construction of all hidden layers, size of each layer, and all neuron connections. Instant training with optimal fitting, interpolation, and extrapolation. Instant thinking. Data correction to fill in unknown entries, automatic detection and correction of outliers, and fixing jitter caused by roundoff or scatter. Optimization, to find the least number of training examples that can interpolate or extrapolate the entire set. Also supports correlated inputs for predictive analytics, statistics, design optimization, process control, and much more. [Learn more about GEM AI here!](https://github.com/Alan-Rock-GS/GpuScript/wiki/GEM-AI-Neural-Network)\n* Matrix: Fastest matrix multiplication in existence for a GPU (23 PFLOPS on a common GPU released in 2020). Combined with GEM, results in the fastest matrix inversion in existence. Yes, GEM can perform accurate matrix operations.\n* GpuScript sample projects: Fractals, AI data models with predictive analytics, statistics, process control, and machine learning, ray-tracing, particle simulations, and CT-scan volumetric rendering.\n\n\u003cins\u003eBelow is an illustration of the simplest GEM AI neural network ever: 1 input, 1 output, and 2 training examples (0=\u003e0), (1=\u003e1). It has 918 concurrent hidden layers, 1838 nodes, and 3676 links. It is built with GpuScript on a single laptop with a GPU rated at 20 TFLOPS.\u003cins\u003e\n\n\nhttps://github.com/user-attachments/assets/ee057a66-4686-4891-95c3-d6887e19ef38\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003ca id=\"status\"\u003e\u003c/a\u003e\n## Project Status:\n\nGpuScript is now a v1.0 released product. If you find a bug, create a new [Issue](https://github.com/Alan-Rock-GS/GS/issues).\n\nGpuScript is supported by Unity Engine. Unity runs on numerous platforms, including Windows, Mac, Linux, Dedicated Server, Android, IOS, PS4, PS5, Web, Universal Windows Platform, tvOS, and visionOS.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003ca id=\"contact\"\u003e\u003c/a\u003e\n## Contact Info\n\nAlan stared the GpuScript project because of his belief in open-soure and contributing to the community. Here are a few places you can find Alan or more information about GpuScript:\n\n* [Alan on X](https://x.com/arock_gs)\n* [Alan on LinkedIn](https://www.linkedin.com/in/alan-rock-8062921/)\n* [GpuScript on X](https://x.com/GpuScript)\n* [GpuScript website](https://GpuScript.com/)\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falan-rock-gs%2Fgpuscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falan-rock-gs%2Fgpuscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falan-rock-gs%2Fgpuscript/lists"}