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