Guessing @hunse has done this locally. How it's done now is manual: https://github.com/ctn-waterloo/nengo_ocl/blob/master/nengo_ocl/test/test_sim_npy.py These functions generalize what's happening there.