AbstractFpgaVendorPluginpublic class IntelFpgaOpenclPlugin extends java.lang.Object implements AbstractFpgaVendorPlugin
| Modifier and Type | Class | Description |
|---|---|---|
static class |
IntelFpgaOpenclPlugin.InnerShellExecutor |
Helper class to run aocl diagnose & determine major/minor numbers.
|
| Constructor | Description |
|---|---|
IntelFpgaOpenclPlugin() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
configureIP(java.lang.String ipPath,
FpgaDevice device) |
Program one device.
|
boolean |
diagnose(int timeout) |
Diagnose the devices using vendor toolchain but no need to parse device information
|
java.util.List<FpgaDevice> |
discover(int timeout) |
Discover the vendor's FPGA devices with execution time constraint
|
java.lang.String |
getDefaultPathToExecutable() |
|
java.lang.String |
getDiagnoseInfo(int timeout) |
|
java.lang.String |
getFpgaType() |
this is actually the opencl platform type
|
boolean |
initPlugin(org.apache.hadoop.conf.Configuration config) |
Check the Intel FPGA for OpenCL toolchain.
|
java.lang.String |
retrieveIPfilePath(java.lang.String id,
java.lang.String dstDir,
java.util.Map<org.apache.hadoop.fs.Path,java.util.List<java.lang.String>> localizedResources) |
The vendor plugin download required IP files to a required directory.
|
public java.lang.String getDefaultPathToExecutable()
public boolean initPlugin(org.apache.hadoop.conf.Configuration config)
initPlugin in interface AbstractFpgaVendorPluginconfig - Hadoop configurationpublic java.util.List<FpgaDevice> discover(int timeout)
AbstractFpgaVendorPlugindiscover in interface AbstractFpgaVendorPlugintimeout - The vendor plugin should return result during this timepublic java.lang.String getDiagnoseInfo(int timeout)
public boolean diagnose(int timeout)
AbstractFpgaVendorPlugindiagnose in interface AbstractFpgaVendorPlugintimeout - timeout in millisecondspublic java.lang.String getFpgaType()
getFpgaType in interface AbstractFpgaVendorPluginpublic java.lang.String retrieveIPfilePath(java.lang.String id,
java.lang.String dstDir,
java.util.Map<org.apache.hadoop.fs.Path,java.util.List<java.lang.String>> localizedResources)
AbstractFpgaVendorPluginretrieveIPfilePath in interface AbstractFpgaVendorPluginid - The identifier for IP file. Comes from application, ie. matrix_multi_v1dstDir - The plugin should download IP file to this directorylocalizedResources - The container localized resource can be searched for IP file. Key is
localized file path and value is soft link namespublic boolean configureIP(java.lang.String ipPath,
FpgaDevice device)
configureIP in interface AbstractFpgaVendorPluginipPath - the absolute path to the aocx IP filedevice - Fpga device object which represents the cardCopyright © 2008–2025 Apache Software Foundation. All rights reserved.