[feat] Add support for multiple Xilinx compute units
@@ -211,9 +211,12 @@ public class OCLCodeCache {
private String resolveCompilationFlags(StringTokenizer tokenizer, StringBuilder buildFlags, String flag) {
String resolvedFlags;
- if (flag.contains("--")) {
+ if (flag.contains("--config")) {
String fileString = resolveAbsoluteDirectory(tokenizer.nextToken(" ="));
resolvedFlags = buildFlags.append(flag).append(" ").append(fileString).toString();
+ } else if (flag.contains("--nk")) {
+ String fileString = tokenizer.nextToken(" =");
+ resolvedFlags = buildFlags.append(flag).append(" ").append(fileString).toString();
} else {
resolvedFlags = buildFlags.append(flag).toString();
}
