Loading handlers/qcor_syntax_handler.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -81,7 +81,8 @@ void QCORSyntaxHandler::GetReplacement( // Get Tokens as a string, rewrite code // with XACC api calls qcor::append_kernel(kernel_name, program_arg_types, program_parameters); // Add a time-stamped log message in verbose mode. qcor::info("[qcor syntax-handler] Start token collector."); auto new_src = qcor::run_token_collector(PP, Toks, bufferNames); // auto random_string = [](size_t length) { Loading handlers/token_collector/token_collector_util.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ std::string run_token_collector(clang::Preprocessor &PP, xacc::Initialize(); } } qcor::info("[qcor syntax-handler] XACC initialized."); // Loop through and partition Toks into language sets // for each language set, run the appropriate TokenCollector std::stringstream code_ss; Loading Loading
handlers/qcor_syntax_handler.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -81,7 +81,8 @@ void QCORSyntaxHandler::GetReplacement( // Get Tokens as a string, rewrite code // with XACC api calls qcor::append_kernel(kernel_name, program_arg_types, program_parameters); // Add a time-stamped log message in verbose mode. qcor::info("[qcor syntax-handler] Start token collector."); auto new_src = qcor::run_token_collector(PP, Toks, bufferNames); // auto random_string = [](size_t length) { Loading
handlers/token_collector/token_collector_util.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ std::string run_token_collector(clang::Preprocessor &PP, xacc::Initialize(); } } qcor::info("[qcor syntax-handler] XACC initialized."); // Loop through and partition Toks into language sets // for each language set, run the appropriate TokenCollector std::stringstream code_ss; Loading