Skip to content

CERBSim/webgpu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGPU API for Python using Pyodide

This repository contains a Python wrapper for the WebGPU API to be used in browser environments (for instance plain HTML or Jupyter Notebooks).

An example jupyter notebook file is here, the executed html is available here.

Setup

To get started, just install the python package and run the jupyter notebook.

git clone https://github.com/cerbsim/webgpu
cd webgpu
python3 -m pip install .
python3 -m jupyter notebook example.ipynb

Note that your browser needs WebGPU support, you can verify that by opening the WebGPU Report website. See here for more information about the current status and needed settings.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published