bugfix: converts parameters to cpu before detach
bugfix: converts parameters to cpu before detach

billbrod/spatial-frequency-preferences,billbrod/spatial-frequency-preferences,billbrod/spatial-frequency-preferences