Add macro to get PTXn from PTX and PTn