public class FpgaDiscoverer
extends org.apache.hadoop.conf.Configured
Modifier and Type | Field and Description |
---|---|
static int |
MAX_EXEC_TIMEOUT_MS |
Constructor and Description |
---|
FpgaDiscoverer() |
Modifier and Type | Method and Description |
---|---|
boolean |
diagnose() |
List<FpgaDevice> |
discover()
Get available devices minor numbers from toolchain or static configuration.
|
List<FpgaDevice> |
getCurrentFpgaInfo() |
void |
initialize(org.apache.hadoop.conf.Configuration config) |
void |
setResourceHanderPlugin(AbstractFpgaVendorPlugin vendorPlugin) |
public static final int MAX_EXEC_TIMEOUT_MS
public List<FpgaDevice> getCurrentFpgaInfo()
public void setResourceHanderPlugin(AbstractFpgaVendorPlugin vendorPlugin)
public boolean diagnose()
public void initialize(org.apache.hadoop.conf.Configuration config) throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnException
public List<FpgaDevice> discover() throws ResourceHandlerException
ResourceHandlerException
- if there's any error during discoveryCopyright © 2008–2023 Apache Software Foundation. All rights reserved.