matrix weighter expects gpu and returns gpu results