Skip to content

Please consider the following formatting changes to #15826 - #402

Closed
alibuild wants to merge 2 commits into
ktf:pr15826from
alibuild:alibot-cleanup-15826
Closed

alibuild wants to merge 2 commits into
ktf:pr15826from
alibuild:alibot-cleanup-15826

Conversation

@alibuild

Copy link
Copy Markdown
Collaborator

Your PR AliceO2Group#15826 cannot be merged as is. You should either run clang-format yourself and update the pull request, or merge this PR in yours.
You can find the AliceO2 coding conventions at https://github.com/AliceO2Group/CodingGuidelines.

ktf and others added 2 commits September 22, 2026 13:04
Three separate issues:

* Metal has no static storage duration inside a function, so
  MatRepSymGPU::off() drops the static on its offset table. Nothing is
  lost by dropping it everywhere rather than forking: arrays, unlike
  scalars, are emitted into read-only data either way. On the host it is
  marginally better, since the static form reached the table through the
  GOT.

* operator=(Expr) now takes the expression by value. MSL folds the
  address space into a deduced parameter, so the generic
  operator=(const M&) deduced M = thread Expr<...>, matched exactly, beat
  the Expr overload and then tried mRep = rhs.mRep on an expression. A
  by-value parameter has no address space to deduce, so the Expr overload
  wins on Metal as it already did elsewhere. Expr is two references, so
  there is no copy cost.

* Metal supports up to C++17, so it needs the same treatment as OpenCL
  for a requires-clause.
@alibuild alibuild closed this Sep 22, 2026
@alibuild
alibuild deleted the alibot-cleanup-15826 branch September 22, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants