You wouldn't be able to use that cable , your better off buying the 45w charger samsung sells to enable the super fast charge 2.0 . I personally did that and it charges the phone drastically faster than any Oneplus device I've ever used
i think the cable that came with the phone can only go up to 15W or 20W. The wire is alot thinner compared to the thicker wire from the Samsung 45W charger package. Thicker gauge copper for the power means higher amperage rates that the 45W charger can provide up to when the battery drained pretty low. Don't use the cable that came with the phone on a 45W charger.