test-cuda uses updateParameters instead of Learn