wright-group / WrightSim

A simulation package for multidimensional spectroscopy.
MIT License
4 stars 0 forks source link

Reorganize to_device #24

Open ksunden opened 6 years ago

ksunden commented 6 years ago

https://github.com/wright-group/WrightSim/blob/c7be3efa6fbd0eddddaec9738fa7b587782ddcb6/WrightSim/hamiltonian/default.py#L73

Should: allocate it's own memory, return the pointer That is how the pycuda to_device methods work