Skip to content

Merge 1.0.0 release branch changes into develop#2190

Merged
SimeonEhrig merged 23 commits intodevelopfrom
1.0.0-rc1
Nov 15, 2023
Merged

Merge 1.0.0 release branch changes into develop#2190
SimeonEhrig merged 23 commits intodevelopfrom
1.0.0-rc1

Conversation

@bernhardmgruber
Copy link
Copy Markdown
Member

@bernhardmgruber bernhardmgruber commented Nov 14, 2023

This PR brings back the changes committed to the 1.0.0 release branch into the develop branch.

j-stephan and others added 23 commits September 13, 2023 12:33
* Add missing ALPAKA_UNREACHABLE
* Silence more warnings

Co-authored-by: Bernhard Manfred Gruber <bernhardmgruber@gmail.com>
Move template `TPlatform` as the last template. There is no need to provide the platform template signature if we pass the platform as an instance.
Fixes the following warning:
```
/builds/hzdr/crp/alpaka/test/unit/math/src/Defines.hpp:52:35: error: left operand of comma operator has no effect [-Werror=unused-value]
   52 |                         for(size_t i = 0; i < argsItem.arity_nr; ++i)
      |                          ~~~~~~~~~^~~~~~~~~~
```
* Workaround clang not recognizing ternay expression
* Implement atomicInc/atomicDec via omp critical

Fixes: #2170
clang warns that the names of the captures shadow the outside variables.
E.g.:

QueueUniformCudaHipRt.hpp:215:57: error: declaration shadows a local variable [-Werror,-Wshadow-uncaptured-local]
  215 |                 auto f = queue.m_callbackThread.submit([data = std::move(data)] { data->t(); });
      |                                                         ^
They fail with:
ptxas /tmp/randomStrategies-sm_61-768a17.s, line 14415; fatal   : Parsing error near '.': syntax error
ptxas fatal   : Ptx assembly aborted due to errors
clang++: error: ptxas command failed with exit code 255 (use -v to see invocation)
CUDA/HIP/SYCL is marked as untested for now.
Co-authored-by: Bernhard Manfred Gruber <bernhardmgruber@gmail.com>
@bernhardmgruber bernhardmgruber changed the title Merge 1.0.0 release branch changes Merge 1.0.0 release branch changes into develop Nov 14, 2023
@bernhardmgruber
Copy link
Copy Markdown
Member Author

All Gitlab pipelines passed, but the status seems to not be reported back to Github.

@SimeonEhrig SimeonEhrig merged commit 4c981f0 into develop Nov 15, 2023
@SimeonEhrig SimeonEhrig deleted the 1.0.0-rc1 branch November 15, 2023 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

4 participants