Andrea Bocci
Andrea Bocci
Move `#include`s from `alpaka::cpu::detail` to the global namespace (see #1775). On Linux, query the OS for free pages instead of reading `/proc/meminfo` (see #1774). Replace the nested namespace with a...
Depending on the architecture, the implementation of `alpaka::cpu::detail::cpuid()` may pull a system header in the `alpaka::cpu::detail` namespace: https://github.com/alpaka-group/alpaka/blob/f27d78c23c22f4eb5044a39cbfa60360ad1cd129/include/alpaka/dev/cpu/SysInfo.hpp#L42-L66 . Would it be possible to move the `#include` statements outside of...
On Linux, `getFreeGlobalMemSizeBytes()` is implemented parsing `/proc/meminfo`: https://github.com/alpaka-group/alpaka/blob/f27d78c23c22f4eb5044a39cbfa60360ad1cd129/include/alpaka/dev/cpu/SysInfo.hpp#L220-L245 I would suggest replacing it with reading the number of free pages from `sysconf()`, for example: ```c++ # if defined(_SC_AVPHYS_PAGES) return static_cast(sysconf(_SC_AVPHYS_PAGES))...
As we try to use alpaka Buffer objects in the CMS software, we are facing a problem with `const` correctness due to the way the buffers are implemented. Here is...
In my attempt to write an alpaka-based application that support CUDA and HIP/ROCm at the same time, I've resorted to the forward declaration of many alpaka symbols for all the...
A feature that we would like to have in CMS is to be able to compile applications that support both CUDA and HIP/ROCm (and eventually SYCL) at the same time....
I'm not sure if this can be addressed inside alpaka, but we have run into a problem with this scenario. If a program is built with support for CUDA (setting...
The atomic operation types declared in `include/alpaka/atomic/Op.hpp` are in the `alpaka` namespace: ```c++ namespace alpaka { //! The addition function object. struct AtomicAdd { .... ``` I would propose moving...
At least for debugging purposes it would be useful to be able to query the the size of the dynamic shared memory from within the device code. In CUDA this...
Alpaka objects do not have an "empty, invalid state", which prevents their direct use in various situations. --- ### lifetime different than the containing object One such case is holding...