To work around this problem, you can create a custom BSP for the Intel Stratix 10 GX FPGA Development Kit.
There is no current plan to add PCIe Gen3x16 to the OpenCL Board Support Package (BSP) for the Intel Stratix 10 GX FPGA Development Kit.