Fixed compilation
Fixed gpu to gpu access