[WIP] FPGA cleaning process fixed
@@ -342,9 +342,9 @@ public class OCLCodeCache {
compilationCommand = composeIntelHLSCommand(inputFile, outputFile);
} else {
// Should not reach here
- throw new TornadoRuntimeException("FPGA vendor not supported.");
+ throw new TornadoRuntimeException("FPGA vendor not supported yet.");
}
- commandRename = new String[] { BASH, FPGA_CLEANUP_SCRIPT, deviceContext.getPlatformContext().getPlatform().getVendor() };
+ commandRename = new String[] { BASH, FPGA_CLEANUP_SCRIPT, '"' + deviceContext.getPlatformContext().getPlatform().getVendor() + '"' };
Path path = Paths.get(FPGA_BIN_LOCATION);
if (RuntimeUtilities.ifFileExists(fpgaBitStreamFile)) {
