-
Notifications
You must be signed in to change notification settings - Fork 11
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
[pre-commit.ci] pre-commit autoupdate #561
Conversation
const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) | ||
-> amrex::Real | ||
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE auto | ||
EOS<problem_t>::ComputeEintFromTgas(amrex::Real rho, amrex::Real Tgas, const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) -> amrex::Real |
Check notice
Code scanning / CodeQL
Large object passed by value Note
optional<GpuArray<double, 14U>>
const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) | ||
-> amrex::Real | ||
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE auto | ||
EOS<problem_t>::ComputeTgasFromEint(amrex::Real rho, amrex::Real Eint, const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) -> amrex::Real |
Check notice
Code scanning / CodeQL
Large object passed by value Note
optional<GpuArray<double, 14U>>
-> amrex::Real | ||
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE auto | ||
EOS<problem_t>::ComputeEintFromPres(amrex::Real rho, amrex::Real Pressure, | ||
const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) -> amrex::Real |
Check notice
Code scanning / CodeQL
Large object passed by value Note
optional<GpuArray<double, 14U>>
const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) | ||
-> amrex::Real | ||
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE auto | ||
EOS<problem_t>::ComputePressure(amrex::Real rho, amrex::Real Eint, const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) -> amrex::Real |
Check notice
Code scanning / CodeQL
Large object passed by value Note
optional<GpuArray<double, 14U>>
-> amrex::Real | ||
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE auto | ||
EOS<problem_t>::ComputeSoundSpeed(amrex::Real rho, amrex::Real Pressure, | ||
const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) -> amrex::Real |
Check notice
Code scanning / CodeQL
Large object passed by value Note
optional<GpuArray<double, 14U>>
/azp run |
Azure Pipelines successfully started running 5 pipeline(s). |
clang-tidy warnings:
|
a5a767a
to
dfb6260
Compare
b102ffc
to
b3187fd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) | ||
-> amrex::Real | ||
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE auto | ||
EOS<problem_t>::ComputeTgasFromEint(amrex::Real rho, amrex::Real Eint, const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) -> amrex::Real |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: parameter 'massScalars' is unused [misc-unused-parameters]
EOS<problem_t>::ComputeTgasFromEint(amrex::Real rho, amrex::Real Eint, const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) -> amrex::Real | |
EOS<problem_t>::ComputeTgasFromEint(amrex::Real rho, amrex::Real Eint, const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> /*massScalars*/) -> amrex::Real |
const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) | ||
-> amrex::Real | ||
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE auto | ||
EOS<problem_t>::ComputeEintFromTgas(amrex::Real rho, amrex::Real Tgas, const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) -> amrex::Real |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: parameter 'massScalars' is unused [misc-unused-parameters]
EOS<problem_t>::ComputeEintFromTgas(amrex::Real rho, amrex::Real Tgas, const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) -> amrex::Real | |
EOS<problem_t>::ComputeEintFromTgas(amrex::Real rho, amrex::Real Tgas, const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> /*massScalars*/) -> amrex::Real |
-> amrex::Real | ||
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE auto | ||
EOS<problem_t>::ComputeEintFromPres(amrex::Real rho, amrex::Real Pressure, | ||
const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) -> amrex::Real |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: parameter 'massScalars' is unused [misc-unused-parameters]
const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) -> amrex::Real | |
const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> /*massScalars*/) -> amrex::Real |
const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) | ||
-> amrex::Real | ||
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE auto | ||
EOS<problem_t>::ComputePressure(amrex::Real rho, amrex::Real Eint, const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) -> amrex::Real |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: parameter 'massScalars' is unused [misc-unused-parameters]
EOS<problem_t>::ComputePressure(amrex::Real rho, amrex::Real Eint, const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) -> amrex::Real | |
EOS<problem_t>::ComputePressure(amrex::Real rho, amrex::Real Eint, const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> /*massScalars*/) -> amrex::Real |
-> amrex::Real | ||
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE auto | ||
EOS<problem_t>::ComputeSoundSpeed(amrex::Real rho, amrex::Real Pressure, | ||
const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) -> amrex::Real |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: parameter 'massScalars' is unused [misc-unused-parameters]
const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> massScalars) -> amrex::Real | |
const std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> /*massScalars*/) -> amrex::Real |
std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> /*massScalars*/) | ||
-> double | ||
AMREX_GPU_HOST_DEVICE auto | ||
quokka::EOS<SuOlsonProblemCgs>::ComputeTgasFromEint(const double /*rho*/, const double Egas, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: parameter 'rho' is unused [misc-unused-parameters]
quokka::EOS<SuOlsonProblemCgs>::ComputeTgasFromEint(const double /*rho*/, const double Egas, | |
quokka::EOS<SuOlsonProblemCgs>::ComputeTgasFromEint(const double /*rho*/ /*rho*/ const double Egas, |
-> double | ||
AMREX_GPU_HOST_DEVICE auto | ||
quokka::EOS<SuOlsonProblemCgs>::ComputeTgasFromEint(const double /*rho*/, const double Egas, | ||
std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> /*massScalars*/) -> double |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: parameter 'massScalars' is unused [misc-unused-parameters]
std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> /*massScalars*/) -> double | |
std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> /*massScalars*/ /*massScalars*/ -> double |
std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> /*massScalars*/) | ||
-> double | ||
AMREX_GPU_HOST_DEVICE auto | ||
quokka::EOS<SuOlsonProblemCgs>::ComputeEintFromTgas(const double /*rho*/, const double Tgas, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: parameter 'rho' is unused [misc-unused-parameters]
quokka::EOS<SuOlsonProblemCgs>::ComputeEintFromTgas(const double /*rho*/, const double Tgas, | |
quokka::EOS<SuOlsonProblemCgs>::ComputeEintFromTgas(const double /*rho*/ /*rho*/ const double Tgas, |
-> double | ||
AMREX_GPU_HOST_DEVICE auto | ||
quokka::EOS<SuOlsonProblemCgs>::ComputeEintFromTgas(const double /*rho*/, const double Tgas, | ||
std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> /*massScalars*/) -> double |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: parameter 'massScalars' is unused [misc-unused-parameters]
std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> /*massScalars*/) -> double | |
std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> /*massScalars*/ /*massScalars*/ -> double |
quokka::EOS<TophatProblem>::ComputeEintFromTgas(const double rho, const double Tgas, std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> /*massScalars*/) | ||
-> double | ||
quokka::EOS<TophatProblem>::ComputeEintFromTgas(const double rho, const double Tgas, | ||
std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> /*massScalars*/) -> double |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: parameter 'massScalars' is unused [misc-unused-parameters]
std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> /*massScalars*/) -> double | |
std::optional<amrex::GpuArray<amrex::Real, nmscalars_>> /*massScalars*/ /*massScalars*/ -> double |
b35e24b
to
181f0ef
Compare
updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0) - [github.com/pre-commit/mirrors-clang-format: v17.0.6 → v18.1.5](pre-commit/mirrors-clang-format@v17.0.6...v18.1.5)
181f0ef
to
6bebb95
Compare
for more information, see https://pre-commit.ci
updates: