IntelFpgaOpenclPlugin@Private
@Unstable
public interface AbstractFpgaVendorPlugin
FpgaDiscoverer and
FpgaResourceHandlerImpl
to discover devices/download IP/configure IP| Modifier and Type | Method | Description |
|---|---|---|
boolean |
configureIP(java.lang.String ipPath,
FpgaDevice device) |
The vendor plugin configure an IP file to a 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 |
getFpgaType() |
Since all vendor plugins share a
FpgaResourceAllocator
which distinguish FPGA devices by type. |
boolean |
initPlugin(org.apache.hadoop.conf.Configuration conf) |
Check vendor's toolchain and required environment
|
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.
|
boolean initPlugin(org.apache.hadoop.conf.Configuration conf)
conf - Hadoop configurationboolean diagnose(int timeout)
timeout - timeout in millisecondsjava.util.List<FpgaDevice> discover(int timeout)
timeout - The vendor plugin should return result during this timejava.lang.String getFpgaType()
FpgaResourceAllocator
which distinguish FPGA devices by type. Vendor plugin must report this.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)
id - 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 namesboolean configureIP(java.lang.String ipPath,
FpgaDevice device)
ipPath - The absolute path of the IP filedevice - The FPGA device objectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.