Skip to content

Commit

Permalink
Update sn3d.h
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Nov 8, 2024
1 parent 0c6a884 commit 4264d65
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions sn3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,19 @@
#include <limits>
#include <memory>
#include <sstream>
#if defined REPRODUCIBLE && REPRODUCIBLE
// not really related to reproducibility, but reproducibility is often used for testing
#include <stacktrace>
#define STACKTRACEIFSUPPORTED std::to_string(std::stacktrace::current())
#else
#define STACKTRACEIFSUPPORTED "std::stacktrace not supported"
#endif
#ifndef GPU_ON
#include <random>
#endif
#include <string>
#include <tuple>
#include <version>

#ifdef __cpp_lib_stacktrace
#include <stacktrace>
#define STACKTRACEIFSUPPORTED std::to_string(std::stacktrace::current())
#else
#define STACKTRACEIFSUPPORTED "std::stacktrace not supported"
#endif

#ifdef STDPAR_ON
#include <execution>
Expand Down

0 comments on commit 4264d65

Please sign in to comment.