Skip to content

Commit

Permalink
Debug the missing symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
1tnguyen committed Mar 25, 2024
1 parent 91be627 commit 7e83939
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/cudaq-qpud/RestServerMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,14 @@ static llvm::cl::opt<bool> printRestPayloadVersion(
"Display the REST request payload version that this server supports."),
llvm::cl::init(false));

// DEBUG
int dummy(std::string_view sv) { return sv.size(); }

int main(int argc, char **argv) {
// DEBUG
std::string test = "abc";
printf("Test: %d\n", dummy(test));

// The "fast" instruction selection compilation algorithm is actually very
// slow for large quantum circuits. Disable that here. Revisit this
// decision by testing large UCCSD circuits if jitCodeGenOptLevel is changed
Expand Down

0 comments on commit 7e83939

Please sign in to comment.