Skip to content

Commit

Permalink
kp_sampler_skip.cpp: take out returns from input processing
Browse files Browse the repository at this point in the history
  • Loading branch information
vlkale authored May 23, 2024
1 parent 1999883 commit 4cdf85d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions common/kokkos-sampler/kp_sampler_skip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ void kokkosp_init_library(const int loadSeq, const uint64_t interfaceVer,
<< tool_prob_num << "\n";
}
kernelSampleSkip = 1;
return;
}

const char* tool_sample = getenv("KOKKOS_TOOLS_SAMPLER_SKIP");
Expand All @@ -234,7 +233,6 @@ void kokkosp_init_library(const int loadSeq, const uint64_t interfaceVer,
if (tool_verbosity > 0) {
std::cout << "KokkosP: Sampling rate set to: " << tool_sample << "\n";
}
return;
}

if (tool_prob_num == -1.0) {
Expand Down

0 comments on commit 4cdf85d

Please sign in to comment.