Skip to content

Fixing and revising cxp functions - #362

Merged
morousg merged 1 commit into
mainfrom
361-fix-cxpclamp-f-function-decorator
Aug 27, 2026
Merged

Fixing and revising cxp functions#362
morousg merged 1 commit into
mainfrom
361-fix-cxpclamp-f-function-decorator

Conversation

@morousg

@morousg morousg commented Aug 27, 2026

Copy link
Copy Markdown
Member

No description provided.

@morousg
morousg requested a balanced review from Copilot August 27, 2026 11:00
@morousg morousg self-assigned this Aug 27, 2026
@morousg morousg added the bug Something isn't working label Aug 27, 2026
@morousg morousg linked an issue Aug 27, 2026 that may be closed by this pull request

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates cxp constexpr helpers for consistent value semantics and host/device compatibility.

Changes:

  • Passes scalar and CUDA vector operands by value.
  • Aligns min constraints with C++20 syntax.
  • Applies the shared host/device wrapper to clamp.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
constexpr_vector.h Revises vector helper parameters.
constexpr_vector_exec.h Revises operation dispatch parameters.
constexpr_saturate.h Revises saturation helper parameters.
constexpr_cmath.h Updates min constraints and clamp wrapper.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@morousg
morousg merged commit 808149d into main Aug 27, 2026
8 checks passed
@morousg
morousg deleted the 361-fix-cxpclamp-f-function-decorator branch August 27, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix cxp::clamp f function decorator

2 participants