change return flag, still not quite working, need to test on cuda device
change return flag, still not quite working, need to test on cuda device

beagle-dev/beagle-lib,beagle-dev/beagle-lib,beagle-dev/beagle-lib,beagle-dev/beagle-lib,beagle-dev/beagle-lib