Skip to content

Commit

Permalink
It's enough when the bin/hash.xclbin and matching info files exist.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Nov 12, 2020
1 parent 9132300 commit bcfa1ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Expand Up @@ -165,9 +165,10 @@ public sealed class VitisHardwareImplementationComposerBuildProvider
GetRtlDirectoryPath(hardwareFrameworkPath, hashId),
"xclbin");

// If no source files had to be created and the xclbin exists then we are done here.
if (!await CreateSourceFilesAwait(context, hardwareFrameworkPath, hashId) &&
File.Exists(implementation.BinaryPath))
await CreateSourceFilesAwait(context, hardwareFrameworkPath, hashId);

// If the xclbin exists then we are done here.
if (File.Exists(implementation.BinaryPath) && File.Exists(implementation.BinaryPath + ".info"))
{
return;
}
Expand Down
2 changes: 1 addition & 1 deletion Hast.Core

0 comments on commit bcfa1ac

Please sign in to comment.