Skip to content

CUDA build warnings #1848

@rhornung67

Description

@rhornung67

When attempting to build the develop branch using our host config files to configure for llvm@19.1.3_cuda(matrix and rzvector yield the same results), several compiler warnings and errors are encountered. Before the build dies:

  • warnings: unused variables and variables used before initialization in thirdparty/tests
  • warnings: calling constexpr __host__ function from __host__ __device function in core/detail/FlatTable.hpp, core/FlatMapUtil.hpp. Resolve by removing __host__ decoration from constexpr function or use experimental flag --expt-relaxed-constexpr?
  • warnings: similar to above in core/tests/core_array_for_all.hpp
  • warnings: similar to above in primal/geometry/Polygon.hpp, primal/geometry/BoundingBox.hpp, and primal/geometry/Vector.hpp
  • warnings: similar to above in primal/detail/clip_impl.hpp
  • There may be other warnings to address as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions