Description
Issue:
When the user doesn't configure "yarn.nodemanager.resource-plugins.fpga.path-to-discovery-executables" in yarn-site.xml and have "ALTERAOCLSDKROOT" environment variable set, the FPGA discoverer cannot find the correct executable path (with IntelFPGAOpenclPlugin).
Reason:
In IntelFPGAOpenclPlugin, the current code builds a wrong path string after getting the environment variable value. It should append "/bin/<executable name>" otherwise it would fail the FPGA resource discovery.
Solution:
Fix the path construction code in IntelFPGAOpenclPlugin.