Skip to content

Commit

Permalink
Fixes #631: Getting rid of gratuitous compilation-option-printing fun…
Browse files Browse the repository at this point in the history
…ctions and the `examples/rtc_common.hpp` header
  • Loading branch information
eyalroz committed Apr 29, 2024
1 parent 1ac558f commit 0760509
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 46 deletions.
2 changes: 0 additions & 2 deletions examples/modified_cuda_samples/clock_nvrtc/clock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
#include <memory>
#include <utility>

#include "../../rtc_common.hpp"

#include <cuda/api.hpp>
#include <cuda/rtc.hpp>

Expand Down
4 changes: 1 addition & 3 deletions examples/other/jitify/jitify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
*/

#include "../../common.hpp"
#include "../../rtc_common.hpp"


#include <cuda/api.hpp>
#include <cuda/rtc.hpp>
Expand Down Expand Up @@ -116,7 +114,7 @@ void handle_compilation_failure(
{
std::cerr << "Program compilation failed:\n";
auto compilation_log = compilation_output.log();
std::cerr << "Compilation options were: " << compilation_options << '\n';
std::cerr << "Compilation options were: " << cuda::rtc::render(compilation_options) << '\n';
if (not compilation_log.empty()) {
std::cerr
<< "Compilation log:\n"
Expand Down
41 changes: 0 additions & 41 deletions examples/rtc_common.hpp

This file was deleted.

0 comments on commit 0760509

Please sign in to comment.