This must be public inheritance:

    class CudaDeviceInfoFuncTable : public DeviceInfoFuncTable