Пример #1
0
 public QirExecutable(FileInfo executableFile, byte[] qirBitcode, IQirDriverGenerator driverGenerator, IQirExecutableGenerator executableGenerator, IQirExecutableRunner runner, ILogger?logger)
 {
     ExecutableFile           = executableFile;
     this.qirBitcode          = qirBitcode;
     this.logger              = logger;
     this.runner              = runner;
     this.driverGenerator     = driverGenerator;
     this.executableGenerator = executableGenerator;
 }
Пример #2
0
 public QirExecutable(FileInfo executableFile, byte[] qirBitcode, IQirDriverGenerator driverGenerator, ILogger?logger = null)
     : this(executableFile,
            qirBitcode,
            driverGenerator,
            new QirExecutableGenerator(new ClangClient(logger), logger),
            new QirExecutableRunner(logger),
            logger)
 {
 }