PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
Loading...
Searching...
No Matches
DisableWarnings.h File Reference

Disables irrelevant warnings in GPU sources. More...

Go to the source code of this file.

Detailed Description

Disables irrelevant warnings in GPU sources.

Author
Quoc-Minh Ton-That (tonth.nosp@m.at.q.nosp@m.uocmi.nosp@m.nh@g.nosp@m.mail..nosp@m.com)
Date
2025-02-11

Disables the following warnings.

  • Unknown pragmas: Eigen uses the old nvcc diag_suppress directive, which has now been changed to nv_diag_suppress. See here.
  • Structure padded: thrust::cub always emits structure padded due to alignment specifier warning.
  • Conditional expression is constant: Eigen has many of these, which would be resolved with if constexpr, but Eigen needs to be backwards compatible with previous c++ standards.
  • was declared deprecated: cuda-api-wrappers includes deprecated cuda features.