patch AMD GPUs for >16384 sites; in future need to implement streams
patch AMD GPUs for >16384 sites; in future need to implement streams

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