mtazzari / galario

Gpu Accelerated Library for Analysing Radio Interferometer Observations
https://mtazzari.github.io/galario/
GNU Lesser General Public License v3.0
31 stars 15 forks source link

GPU and CPU tests #3

Closed mtazzari closed 7 years ago

mtazzari commented 7 years ago

py.test -rxs pyvfit/tests.py works py.test -rxs --gpu pyvfit/tests.py used to work, but the new version of py.test seems not to allow options passing anymore. Look into that.

fredRos commented 7 years ago

I added the option --gpu=[0|1] in 6d4cee992f1e62621ea40487de41dc4f6978121d. The default is --gpu=1, which means GPU is preferred if available.