Class GPUDriverFactory
java.lang.Object
org.apache.flink.externalresource.gpu.GPUDriverFactory
- All Implemented Interfaces:
org.apache.flink.api.common.externalresource.ExternalResourceDriverFactory
public class GPUDriverFactory
extends Object
implements org.apache.flink.api.common.externalresource.ExternalResourceDriverFactory
Factory for creating
GPUDriver.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.api.common.externalresource.ExternalResourceDrivercreateExternalResourceDriver(org.apache.flink.configuration.Configuration config)
-
Constructor Details
-
GPUDriverFactory
public GPUDriverFactory()
-
-
Method Details
-
createExternalResourceDriver
public org.apache.flink.api.common.externalresource.ExternalResourceDriver createExternalResourceDriver(org.apache.flink.configuration.Configuration config) throws Exception - Specified by:
createExternalResourceDriverin interfaceorg.apache.flink.api.common.externalresource.ExternalResourceDriverFactory- Throws:
Exception
-