This repo contains an assortment of code snippets and demos that I wrote for my class projects, thesis and hobbies. Most of them include a Jupyter notebook that showcases their functionality.
-
autotuner
: a prototype autotuning GPU kernel for matrix multiplication that I wrote for the GPU course at Courant. It is written in PyCUDA and uses Python as a text manipulation engine to generate CUDA C kernel code. A similar demo can be found here. -
Ising-model
: Julia code to sample the Ising model using the classical Metropolis-Hastings, written for the Statistical Mechanics Workshop at PKU. -
continuation
: a Julia notebook that implements the numerical continuation method for curve tracing in a high dimensional space, along with simple bifurcation detection.