Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please consider the following formatting changes to #13012 #282

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Detectors/TRD/pid/include/TRDPID/ML.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
#include "DataFormatsTRD/PID.h"
#include "Framework/ProcessingContext.h"
#include "Framework/InputRecord.h"
#if __has_include(<onnxruntime/core/session/experimental_onnxruntime_cxx_api.h>)
#include <onnxruntime/core/session/experimental_onnxruntime_cxx_api.h>
#else
#include <onnxruntime_cxx_api.h>
#endif
#include <memory>
#include <vector>
#include <array>
Expand Down
4 changes: 4 additions & 0 deletions Detectors/TRD/pid/src/ML.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@
#include "DetectorsBase/Propagator.h"

#include <fmt/format.h>
#if __has_include(<onnxruntime/core/session/experimental_onnxruntime_cxx_api.h>)
#include <onnxruntime/core/session/experimental_onnxruntime_cxx_api.h>
#else
#include <onnxruntime_cxx_api.h>
#endif
#include <boost/range.hpp>

#include <array>
Expand Down
4 changes: 4 additions & 0 deletions Detectors/ZDC/fastsimulation/include/FastSimulations.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
#ifndef O2_ZDC_FAST_SIMULATIONS_H
#define O2_ZDC_FAST_SIMULATIONS_H

#if __has_include(<onnxruntime/core/sessions/onnxruntime_cxx_api.h>)
#include <onnxruntime/core/session/onnxruntime_cxx_api.h>
#else
#include <onnxruntime_cxx_api.h>
#endif
#include <optional>
#include <mutex>

Expand Down
4 changes: 4 additions & 0 deletions Detectors/ZDC/fastsimulation/include/Processors.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
#ifndef O2_ZDC_FAST_SIMULATIONS_PROCESSORS_H
#define O2_ZDC_FAST_SIMULATIONS_PROCESSORS_H

#if __has_include(<onnxruntime/core/session/onnxruntime_cxx_api.h>)
#include <onnxruntime/core/session/onnxruntime_cxx_api.h>
#else
#include <onnxruntime_cxx_api.h>
#endif
#include <optional>
#include <vector>

Expand Down
6 changes: 6 additions & 0 deletions Detectors/ZDC/simulation/include/ZDCSimulation/Detector.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@

// inclusions and forward decl for fast sim
#ifdef ZDC_FASTSIM_ONNX

#if __has_include(<onnxruntime/core/session/onnxruntime_cxx_api.h>)
#include <onnxruntime/core/session/onnxruntime_cxx_api.h>
#else
#include <onnxruntime_cxx_api.h>
#endif

namespace o2::zdc
{
namespace fastsim
Expand Down
Loading