Skip to content

Commit

Permalink
fix benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGrulich committed Dec 4, 2024
1 parent a48e951 commit c818a00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nautilus/test/benchmark/TracingBenchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ TEST_CASE("IR Creation Benchmark") {

TEST_CASE("Backend Compilation Benchmark") {

auto registry = compiler::CompilationBackendRegistry();
auto registry = compiler::CompilationBackendRegistry::getInstance();

std::vector<std::string> backends = {};
#ifdef ENABLE_MLIR_BACKEND
Expand All @@ -108,7 +108,7 @@ TEST_CASE("Backend Compilation Benchmark") {
std::shared_ptr<tracing::ExecutionTrace> trace = tracing::TraceContext::trace(func);
auto ssaCreationPhase = tracing::SSACreationPhase();
trace = ssaCreationPhase.apply(trace);
auto backendBackend = registry.getBackend(backend);
auto backendBackend = registry->getBackend(backend);
auto irConversionPhase = tracing::TraceToIRConversionPhase();
auto ir = irConversionPhase.apply(trace);
auto op = engine::Options();
Expand Down

0 comments on commit c818a00

Please sign in to comment.