Skip to content

Commit

Permalink
Turn off CUDA by default. Add a outs() to print out the annotation fo…
Browse files Browse the repository at this point in the history
…r debugging, to be removed later
  • Loading branch information
tpatki committed Mar 13, 2024
1 parent f9e1b61 commit b2ee06f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/c/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.12)
project(PerfFlowAspect VERSION "0.1.0")

# Build Options
option(PERFFLOWASPECT_WITH_CUDA "Build CUDA smoketest" ON)
option(PERFFLOWASPECT_WITH_CUDA "Build CUDA smoketest" OFF)
option(PERFFLOWASPECT_WITH_MPI "Build MPI smoketest" ON)
option(PERFFLOWASPECT_WITH_MULTITHREADS "Build multi-threaded smoketest" ON)

Expand Down
1 change: 1 addition & 0 deletions src/c/weaver/weave/perfflow_weave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ bool WeavingPass::doInitialization(Module &m)
std::string pcut, scope, flow;
if (perfflow_parser_parse(anno.data(), pcut, scope, flow) == 0)
{
outs() << "WeavePass: Found valid annotation: " << anno << "\n";
if (pcut == "around" || pcut == "before")
changed = insertBefore(m, *fn,
anno, 0, scope, flow, pcut) || changed;
Expand Down

0 comments on commit b2ee06f

Please sign in to comment.