Namespaces | |
detail | |
impl | |
traits | |
Typedefs | |
template<typename TDev , typename T , typename = std::enable_if_t<alpaka::isDevice<TDev>>> | |
using | const_device_buffer = alpaka::ViewConst< device_buffer< TDev, T > > |
template<typename T > | |
using | const_host_buffer = alpaka::ViewConst< host_buffer< T > > |
template<typename TDev , typename T , typename = std::enable_if_t<alpaka::isDevice<TDev>>> | |
using | device_buffer = typename detail::buffer_type< TDev, T >::type |
template<typename TDev , typename T , typename = std::enable_if_t<alpaka::isDevice<TDev>>> | |
using | device_view = typename detail::view_type< TDev, T >::type |
template<typename T > | |
using | host_buffer = typename detail::buffer_type< DevHost, T >::type |
template<typename T > | |
using | host_view = typename detail::view_type< DevHost, T >::type |
Enumerations | |
enum | AllocatorPolicy { AllocatorPolicy::Synchronous = 0, AllocatorPolicy::Asynchronous = 1, AllocatorPolicy::Caching = 2 } |
enum | Backend : unsigned short { Backend::SerialSync = 0, Backend::CudaAsync = 1, Backend::ROCmAsync = 2, Backend::TbbAsync = 3, Backend::size } |
Functions | |
template<typename TElem , typename TIdx , typename TExtent , typename TQueue , typename TDev , typename = std::enable_if_t<alpaka::isDevice<TDev> and alpaka::isQueue<TQueue>>> | |
ALPAKA_FN_HOST auto | allocCachedBuf (TDev const &dev, TQueue queue, TExtent const &extent=TExtent()) |
template<typename TAcc , typename T > | |
ALPAKA_FN_ACC ALPAKA_FN_INLINE void | blockPrefixScan (const TAcc &acc, T const *ci, T *co, int32_t size, T *ws=nullptr) |
template<typename TAcc , typename T > | |
ALPAKA_FN_HOST_ACC ALPAKA_FN_INLINE void | blockPrefixScan (const TAcc &acc, T *__restrict__ c, int32_t size, T *__restrict__ ws=nullptr) |
template<typename TPlatform , typename = std::enable_if_t<alpaka::isPlatform<TPlatform>>> | |
alpaka::Dev< TPlatform > const & | chooseDevice (edm::StreamID id) |
template<typename TPlatform , typename = std::enable_if_t<alpaka::isPlatform<TPlatform>>> | |
std::vector< alpaka::Dev< TPlatform > > const & | devices () |
constexpr Idx | divide_up_by (Idx value, Idx divisor) |
template<typename TAcc , typename T > | |
ALPAKA_FN_ACC ALPAKA_FN_INLINE void | dummyReorder (const TAcc &acc, T const *a, uint16_t *ind, uint16_t *ind2, uint32_t size) |
template<typename TAcc , typename Histo , typename T , typename TQueue > | |
ALPAKA_FN_INLINE void | fillManyFromVector (Histo *__restrict__ h, uint32_t nh, T const *__restrict__ v, uint32_t const *__restrict__ offsets, uint32_t totSize, uint32_t nthreads, TQueue &queue) |
template<typename TAcc , typename Histo , typename T , typename TQueue > | |
ALPAKA_FN_INLINE void | fillManyFromVector (Histo *__restrict__ h, typename Histo::View hv, uint32_t nh, T const *__restrict__ v, uint32_t const *__restrict__ offsets, uint32_t totSize, uint32_t nthreads, TQueue &queue) |
template<typename Hist , typename V , typename Func > | |
ALPAKA_FN_ACC ALPAKA_FN_INLINE void | forEachInBins (Hist const &hist, V value, int n, Func func) |
template<typename Hist , typename V , typename Func > | |
ALPAKA_FN_ACC ALPAKA_FN_INLINE void | forEachInWindow (Hist const &hist, V wmin, V wmax, Func const &func) |
template<typename TDev , typename TQueue , typename = std::enable_if_t<alpaka::isDevice<TDev> and alpaka::isQueue<TQueue>>> | |
CachingAllocator< TDev, TQueue > & | getDeviceCachingAllocator (TDev const &device, AllocatorConfig const &config=AllocatorConfig{}, bool debug=false) |
template<typename Event > | |
EventCache< Event > & | getEventCache () |
template<typename TQueue , typename = std::enable_if_t<alpaka::isQueue<TQueue>>> | |
CachingAllocator< alpaka_common::DevHost, TQueue > & | getHostCachingAllocator (AllocatorConfig const &config=AllocatorConfig{}, bool debug=false) |
template<typename Queue > | |
QueueCache< Queue > & | getQueueCache () |
alpaka::DevCpu const & | host () |
alpaka::PlatformCpu const & | host_platform () |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value == 1>> | |
ALPAKA_FN_ACC auto | independent_group_elements (TAcc const &acc, TArgs... args) |
template<typename TAcc , std::size_t Dim, typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value >= Dim> | |
ALPAKA_FN_ACC auto | independent_group_elements_along (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 0> | |
ALPAKA_FN_ACC auto | independent_group_elements_x (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 1> | |
ALPAKA_FN_ACC auto | independent_group_elements_y (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 2> | |
ALPAKA_FN_ACC auto | independent_group_elements_z (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value == 1>> | |
ALPAKA_FN_ACC auto | independent_groups (TAcc const &acc, TArgs... args) |
template<typename TAcc , std::size_t Dim, typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value >= Dim> | |
ALPAKA_FN_ACC auto | independent_groups_along (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 0> | |
ALPAKA_FN_ACC auto | independent_groups_x (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 1> | |
ALPAKA_FN_ACC auto | independent_groups_y (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 2> | |
ALPAKA_FN_ACC auto | independent_groups_z (TAcc const &acc, TArgs... args) |
template<typename T , typename = std::enable_if_t<std::is_integral_v<T>>> | |
constexpr bool | isPowerOf2 (T v) |
template<typename T , typename TDev > | |
std::enable_if_t< alpaka::isDevice< TDev > and not std::is_array_v< T >, device_buffer< TDev, T > > | make_device_buffer (TDev const &device) |
template<typename T , typename TDev > | |
std::enable_if_t< alpaka::isDevice< TDev > and cms::is_unbounded_array_v< T > and not std::is_array_v< std::remove_extent_t< T > >, device_buffer< TDev, T > > | make_device_buffer (TDev const &device, Extent extent) |
template<typename T , typename TDev > | |
std::enable_if_t< alpaka::isDevice< TDev > and cms::is_bounded_array_v< T > and not std::is_array_v< std::remove_extent_t< T > >, device_buffer< TDev, T > > | make_device_buffer (TDev const &device) |
template<typename T , typename TQueue > | |
std::enable_if_t< alpaka::isQueue< TQueue > and not std::is_array_v< T >, device_buffer< alpaka::Dev< TQueue >, T > > | make_device_buffer (TQueue const &queue) |
template<typename T , typename TQueue > | |
std::enable_if_t< alpaka::isQueue< TQueue > and cms::is_unbounded_array_v< T > and not std::is_array_v< std::remove_extent_t< T > >, device_buffer< alpaka::Dev< TQueue >, T > > | make_device_buffer (TQueue const &queue, Extent extent) |
template<typename T , typename TQueue > | |
std::enable_if_t< alpaka::isQueue< TQueue > and cms::is_bounded_array_v< T > and not std::is_array_v< std::remove_extent_t< T > >, device_buffer< alpaka::Dev< TQueue >, T > > | make_device_buffer (TQueue const &queue) |
template<typename T , typename TDev > | |
std::enable_if_t< not std::is_array_v< T >, device_view< TDev, T > > | make_device_view (TDev const &device, T &data) |
template<typename T , typename TDev > | |
device_view< TDev, T[]> | make_device_view (TDev const &device, T *data, Extent extent) |
template<typename T , typename TDev > | |
std::enable_if_t< cms::is_unbounded_array_v< T > and not std::is_array_v< std::remove_extent_t< T > >, device_view< TDev, T > > | make_device_view (TDev const &device, T &data, Extent extent) |
template<typename T , typename TDev > | |
std::enable_if_t< cms::is_bounded_array_v< T > and not std::is_array_v< std::remove_extent_t< T > >, device_view< TDev, T > > | make_device_view (TDev const &device, T &data) |
template<typename T > | |
std::enable_if_t< not std::is_array_v< T >, host_buffer< T > > | make_host_buffer () |
template<typename T > | |
std::enable_if_t< cms::is_unbounded_array_v< T > and not std::is_array_v< std::remove_extent_t< T > >, host_buffer< T > > | make_host_buffer (Extent extent) |
template<typename T > | |
std::enable_if_t< cms::is_bounded_array_v< T > and not std::is_array_v< std::remove_extent_t< T > >, host_buffer< T > > | make_host_buffer () |
template<typename T , typename TPlatform > | |
std::enable_if_t< not std::is_array_v< T >, host_buffer< T > > | make_host_buffer () |
template<typename T , typename TPlatform > | |
std::enable_if_t< cms::is_unbounded_array_v< T > and not std::is_array_v< std::remove_extent_t< T > >, host_buffer< T > > | make_host_buffer (Extent extent) |
template<typename T , typename TPlatform > | |
std::enable_if_t< cms::is_bounded_array_v< T > and not std::is_array_v< std::remove_extent_t< T > >, host_buffer< T > > | make_host_buffer () |
template<typename T , typename TQueue > | |
std::enable_if_t< alpaka::isQueue< TQueue > and not std::is_array_v< T >, host_buffer< T > > | make_host_buffer (TQueue const &queue) |
template<typename T , typename TQueue > | |
std::enable_if_t< alpaka::isQueue< TQueue > and cms::is_unbounded_array_v< T > and not std::is_array_v< std::remove_extent_t< T > >, host_buffer< T > > | make_host_buffer (TQueue const &queue, Extent extent) |
template<typename T , typename TQueue > | |
std::enable_if_t< alpaka::isQueue< TQueue > and cms::is_bounded_array_v< T > and not std::is_array_v< std::remove_extent_t< T > >, host_buffer< T > > | make_host_buffer (TQueue const &queue) |
template<typename T > | |
std::enable_if_t< not std::is_array_v< T >, host_view< T > > | make_host_view (T &data) |
template<typename T > | |
host_view< T[]> | make_host_view (T *data, Extent extent) |
template<typename T > | |
std::enable_if_t< cms::is_unbounded_array_v< T > and not std::is_array_v< std::remove_extent_t< T > >, host_view< T > > | make_host_view (T &data, Extent extent) |
template<typename T > | |
std::enable_if_t< cms::is_bounded_array_v< T > and not std::is_array_v< std::remove_extent_t< T > >, host_view< T > > | make_host_view (T &data) |
template<class T > | |
SimpleVector< T > | make_SimpleVector (int capacity, T *data) |
template<class T > | |
SimpleVector< T > * | make_SimpleVector (SimpleVector< T > *mem, int capacity, T *data) |
template<typename TAcc , typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value == 1>> | |
WorkDiv< Dim1D > | make_workdiv (Idx blocks, Idx elements) |
template<typename TAcc , typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>> | |
WorkDiv< alpaka::Dim< TAcc > > | make_workdiv (const Vec< alpaka::Dim< TAcc >> &blocks, const Vec< alpaka::Dim< TAcc >> &elements) |
void | module_backend_config (edm::ConfigurationDescriptions &iDesc) |
template<typename TAcc , typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>> | |
ALPAKA_FN_ACC constexpr bool | once_per_block (TAcc const &acc) |
template<typename TAcc , typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>> | |
ALPAKA_FN_ACC constexpr bool | once_per_grid (TAcc const &acc) |
template<typename TPlatform , typename = std::enable_if_t<alpaka::isPlatform<TPlatform>>> | |
TPlatform const & | platform () |
template<typename TAcc , typename T , int NS = sizeof(T), typename std::enable_if< std::is_unsigned< T >::value &&!requires_single_thread_per_block_v< TAcc >, T >::type * = nullptr> | |
ALPAKA_FN_ACC ALPAKA_FN_INLINE void | radixSort (const TAcc &acc, T const *a, uint16_t *ind, uint16_t *ind2, uint32_t size) |
template<typename TAcc , typename T , int NS = sizeof(T), typename std::enable_if< requires_single_thread_per_block_v< TAcc >, T >::type * = nullptr> | |
ALPAKA_FN_INLINE void | radixSort (const TAcc &acc, T const *a, uint16_t *ind, uint16_t *ind2, uint32_t size) |
template<typename TAcc , typename T , int NS, typename RF > | |
ALPAKA_FN_ACC ALPAKA_FN_INLINE void | radixSortImpl (const TAcc &acc, T const *__restrict__ a, uint16_t *ind, uint16_t *ind2, uint32_t size, RF reorder) |
template<typename TAcc , typename T , int NS = sizeof(T)> | |
ALPAKA_FN_ACC ALPAKA_FN_INLINE void | radixSortMulti (const TAcc &acc, T const *v, uint16_t *index, uint32_t const *offsets, uint16_t *workspace) |
template<typename TAcc , typename T > | |
ALPAKA_FN_ACC ALPAKA_FN_INLINE void | reorderFloat (const TAcc &acc, T const *a, uint16_t *ind, uint16_t *ind2, uint32_t size) |
template<typename TAcc , typename T > | |
ALPAKA_FN_ACC ALPAKA_FN_INLINE void | reorderSigned (const TAcc &acc, T const *a, uint16_t *ind, uint16_t *ind2, uint32_t size) |
constexpr Idx | round_up_by (Idx value, Idx divisor) |
Backend | toBackend (std::string_view name) |
std::string_view | toString (Backend backend) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value == 1>> | |
ALPAKA_FN_ACC auto | uniform_elements (TAcc const &acc, TArgs... args) |
template<typename TAcc , std::size_t Dim, typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value >= Dim> | |
ALPAKA_FN_ACC auto | uniform_elements_along (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 0> | |
ALPAKA_FN_ACC auto | uniform_elements_nd (TAcc const &acc) |
template<typename TAcc , typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 0> | |
ALPAKA_FN_ACC auto | uniform_elements_nd (TAcc const &acc, alpaka::Vec< alpaka::Dim< TAcc >, Idx > extent) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 0> | |
ALPAKA_FN_ACC auto | uniform_elements_x (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 1> | |
ALPAKA_FN_ACC auto | uniform_elements_y (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 2> | |
ALPAKA_FN_ACC auto | uniform_elements_z (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value == 1>> | |
ALPAKA_FN_ACC auto | uniform_group_elements (TAcc const &acc, TArgs... args) |
template<typename TAcc , std::size_t Dim, typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value >= Dim> | |
ALPAKA_FN_ACC auto | uniform_group_elements_along (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 0> | |
ALPAKA_FN_ACC auto | uniform_group_elements_x (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 1> | |
ALPAKA_FN_ACC auto | uniform_group_elements_y (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 2> | |
ALPAKA_FN_ACC auto | uniform_group_elements_z (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value == 1>> | |
ALPAKA_FN_ACC auto | uniform_groups (TAcc const &acc, TArgs... args) |
template<typename TAcc , std::size_t Dim, typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and alpaka::Dim<TAcc>::value >= Dim> | |
ALPAKA_FN_ACC auto | uniform_groups_along (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 0> | |
ALPAKA_FN_ACC auto | uniform_groups_x (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 1> | |
ALPAKA_FN_ACC auto | uniform_groups_y (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename... TArgs, typename = std::enable_if_t<alpaka::isAccelerator<TAcc> and (alpaka::Dim<TAcc>::value > 2> | |
ALPAKA_FN_ACC auto | uniform_groups_z (TAcc const &acc, TArgs... args) |
template<typename TAcc , typename T , typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>> | |
ALPAKA_FN_ACC ALPAKA_FN_INLINE void | warpPrefixScan (const TAcc &acc, int32_t laneId, T const *ci, T *co, uint32_t i, bool active=true) |
template<typename TAcc , typename T , typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>> | |
ALPAKA_FN_ACC ALPAKA_FN_INLINE void | warpPrefixScan (const TAcc &acc, int32_t laneId, T *c, uint32_t i, bool active=true) |
Variables | |
template<typename TDev , typename = std::enable_if_t<alpaka::isDevice<TDev>>> | |
constexpr AllocatorPolicy | allocator_policy = AllocatorPolicy::Synchronous |
template<typename TAcc , typename = std::enable_if_t<alpaka::isAccelerator<TAcc>>> | |
constexpr bool | requires_single_thread_per_block_v = requires_single_thread_per_block<TAcc>::value |
using cms::alpakatools::const_device_buffer = typedef alpaka::ViewConst<device_buffer<TDev, T> > |
using cms::alpakatools::const_host_buffer = typedef alpaka::ViewConst<host_buffer<T> > |
using cms::alpakatools::device_buffer = typedef typename detail::buffer_type<TDev, T>::type |
using cms::alpakatools::device_view = typedef typename detail::view_type<TDev, T>::type |
using cms::alpakatools::host_buffer = typedef typename detail::buffer_type<DevHost, T>::type |
using cms::alpakatools::host_view = typedef typename detail::view_type<DevHost, T>::type |
|
strong |
Enumerator | |
---|---|
Synchronous | |
Asynchronous | |
Caching |
Definition at line 12 of file AllocatorPolicy.h.
|
strong |
ALPAKA_FN_HOST auto cms::alpakatools::allocCachedBuf | ( | TDev const & | dev, |
TQueue | queue, | ||
TExtent const & | extent = TExtent() |
||
) |
Definition at line 196 of file CachedBufAlloc.h.
References createBeamHaloJobs::queue.
ALPAKA_FN_ACC ALPAKA_FN_INLINE void cms::alpakatools::blockPrefixScan | ( | const TAcc & | acc, |
T const * | ci, | ||
T * | co, | ||
int32_t | size, | ||
T * | ws = nullptr |
||
) |
Definition at line 47 of file prefixScan.h.
References ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::ALPAKA_ASSERT_ACC(), cms::cuda::co, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), dqmdumpme::first, mps_fire::i, isPowerOf2(), warpPrefixScan(), and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::ws.
Referenced by cms::alpakatools::OneToManyAssocRandomAccess< I, NHISTS *NBINS+1, SIZE >::finalize(), gpuClustering::for(), pixelClustering::ClusterChargeCut< TrackerTraits >::operator()(), cms::alpakatools::multiBlockPrefixScan< T >::operator()(), and ALPAKA_ACCELERATOR_NAMESPACE::pixelDetails::FillHitsModuleStart< TrackerTraits >::operator()().
ALPAKA_FN_HOST_ACC ALPAKA_FN_INLINE void cms::alpakatools::blockPrefixScan | ( | const TAcc & | acc, |
T *__restrict__ | c, | ||
int32_t | size, | ||
T *__restrict__ | ws = nullptr |
||
) |
Definition at line 92 of file prefixScan.h.
References ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::ALPAKA_ASSERT_ACC(), DummyCfis::c, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), dqmdumpme::first, mps_fire::i, warpPrefixScan(), and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::ws.
alpaka::Dev<TPlatform> const& cms::alpakatools::chooseDevice | ( | edm::StreamID | id | ) |
Definition at line 15 of file chooseDevice.h.
References cms::Exception::addContext(), and devices().
|
inline |
Definition at line 22 of file devices.h.
Referenced by cms::alpakatools::detail::allocate_device_allocators(), ALPAKA_ACCELERATOR_NAMESPACE::AlpakaService::AlpakaService(), SiStripFedCablingBuilderFromDb::buildFecCabling(), ALPAKA_ACCELERATOR_NAMESPACE::detail::chooseDevice(), chooseDevice(), FastFedCablingHistosUsingDb::connections(), SiStripConfigDb::printDeviceDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::ESProducer::setWhatProducedDevice(), cms::cudatest::testDevices(), cms::rocmtest::testDevices(), ApvTimingHistosUsingDb::update(), OptoScanHistosUsingDb::update(), VpspScanHistosUsingDb::update(), LatencyHistosUsingDb::update(), CalibrationHistosUsingDb::update(), FineDelayHistosUsingDb::update(), VpspScanHistosUsingDb::uploadConfigurations(), OptoScanHistosUsingDb::uploadConfigurations(), ApvTimingHistosUsingDb::uploadConfigurations(), LatencyHistosUsingDb::uploadConfigurations(), CalibrationHistosUsingDb::uploadConfigurations(), and FineDelayHistosUsingDb::uploadConfigurations().
Definition at line 20 of file workdivision.h.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::CAHitNtupletGeneratorKernels< TTTraits >::buildDoublets(), ALPAKA_ACCELERATOR_NAMESPACE::CAHitNtupletGeneratorKernels< TTTraits >::classifyTuples(), ALPAKA_ACCELERATOR_NAMESPACE::PFClusterProducerKernel::execute(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlgo::fill(), fillManyFromVector(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlgo::fillMulti2(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlgo::fillMulti3(), ALPAKA_ACCELERATOR_NAMESPACE::HelixFit< TrackerTraits >::launchBrokenLineKernels(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::launchKernels(), ALPAKA_ACCELERATOR_NAMESPACE::CAHitNtupletGeneratorKernels< TTTraits >::launchKernels(), ALPAKA_ACCELERATOR_NAMESPACE::pixelDetails::SiPixelRawToClusterKernel< pixelTopology::Phase2 >::makePhase1ClustersAsync(), ALPAKA_ACCELERATOR_NAMESPACE::pixelDetails::SiPixelRawToClusterKernel< pixelTopology::Phase2 >::makePhase2ClustersAsync(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::minimization_procedure(), ALPAKA_ACCELERATOR_NAMESPACE::PFRecHitProducerKernel< CAL >::PFRecHitProducerKernel(), ALPAKA_ACCELERATOR_NAMESPACE::HGCalLayerClustersSoAAlgoWrapper::run(), ALPAKA_ACCELERATOR_NAMESPACE::hcal::reconstruction::runMahiAsync(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlgo::update(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlgo::updateMulti2(), and ALPAKA_ACCELERATOR_NAMESPACE::TestAlgo::updateMulti3().
ALPAKA_FN_ACC ALPAKA_FN_INLINE void cms::alpakatools::dummyReorder | ( | const TAcc & | acc, |
T const * | a, | ||
uint16_t * | ind, | ||
uint16_t * | ind2, | ||
uint32_t | size | ||
) |
Definition at line 17 of file radixSort.h.
ALPAKA_FN_INLINE void cms::alpakatools::fillManyFromVector | ( | Histo *__restrict__ | h, |
uint32_t | nh, | ||
T const *__restrict__ | v, | ||
uint32_t const *__restrict__ | offsets, | ||
uint32_t | totSize, | ||
uint32_t | nthreads, | ||
TQueue & | queue | ||
) |
Definition at line 59 of file HistoContainer.h.
References divide_up_by(), h, cms::cuda::nh, cms::cuda::nthreads, cms::cuda::offsets, createBeamHaloJobs::queue, svgfig::template(), cms::cuda::totSize, and cms::cuda::v.
Referenced by SiPixelRecHitSoAFromLegacyT< TrackerTraits >::produce().
ALPAKA_FN_INLINE void cms::alpakatools::fillManyFromVector | ( | Histo *__restrict__ | h, |
typename Histo::View | hv, | ||
uint32_t | nh, | ||
T const *__restrict__ | v, | ||
uint32_t const *__restrict__ | offsets, | ||
uint32_t | totSize, | ||
uint32_t | nthreads, | ||
TQueue & | queue | ||
) |
Definition at line 79 of file HistoContainer.h.
References divide_up_by(), h, cms::cuda::nh, cms::cuda::nthreads, cms::cuda::offsets, createBeamHaloJobs::queue, svgfig::template(), cms::cuda::totSize, and cms::cuda::v.
ALPAKA_FN_ACC ALPAKA_FN_INLINE void cms::alpakatools::forEachInBins | ( | Hist const & | hist, |
V | value, | ||
int | n, | ||
Func | func | ||
) |
Definition at line 101 of file HistoContainer.h.
References ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::ALPAKA_ASSERT_ACC(), cms::cuda::be, newFWLiteAna::bin, cms::cuda::bs, cms::cuda::func, compareTotals::hist, SiStripPI::max, SiStripPI::min, cms::cuda::n, and LaserClient_cfi::nbins.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::ClusterTracksIterative::operator()(), and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::ClusterTracksDBSCAN::operator()().
ALPAKA_FN_ACC ALPAKA_FN_INLINE void cms::alpakatools::forEachInWindow | ( | Hist const & | hist, |
V | wmin, | ||
V | wmax, | ||
Func const & | func | ||
) |
Definition at line 113 of file HistoContainer.h.
References ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::ALPAKA_ASSERT_ACC(), cms::cuda::be, newFWLiteAna::bin, cms::cuda::bs, cms::cuda::func, compareTotals::hist, cms::cuda::wmax, and cms::cuda::wmin.
|
inline |
Definition at line 73 of file getDeviceCachingAllocator.h.
EventCache<Event>& cms::alpakatools::getEventCache | ( | ) |
Definition at line 96 of file EventCache.h.
References utilities::cache(), and CMS_THREAD_SAFE.
|
inline |
Definition at line 15 of file getHostCachingAllocator.h.
QueueCache<Queue>& cms::alpakatools::getQueueCache | ( | ) |
Definition at line 65 of file QueueCache.h.
References utilities::cache(), and CMS_THREAD_SAFE.
|
inline |
Definition at line 14 of file host.h.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::HcalMahiPulseOffsetsESProducer::HcalMahiPulseOffsetsESProducer(), make_host_buffer(), make_host_view(), ALPAKA_ACCELERATOR_NAMESPACE::PFClusterParamsESProducer::PFClusterParamsESProducer(), MTDSoAProducer::produce(), ALPAKA_ACCELERATOR_NAMESPACE::EcalMultifitParametersHostESProducer::produce(), ALPAKA_ACCELERATOR_NAMESPACE::HcalSiPMCharacteristicsESProducer::produce(), ALPAKA_ACCELERATOR_NAMESPACE::SiPixelGainCalibrationForHLTSoAESProducer::produce(), ALPAKA_ACCELERATOR_NAMESPACE::PFRecHitECALParamsESProducer::produce(), ALPAKA_ACCELERATOR_NAMESPACE::EcalElectronicsMappingHostESProducer::produce(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaESProducerA::produce(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaESProducerC::produce(), ALPAKA_ACCELERATOR_NAMESPACE::PFRecHitHCALParamsESProducer::produce(), ALPAKA_ACCELERATOR_NAMESPACE::HcalRecoParamWithPulseShapeESProducer::produce(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaESProducerE::produce(), ALPAKA_ACCELERATOR_NAMESPACE::SiPixelCablingSoAESProducer::produce(), ALPAKA_ACCELERATOR_NAMESPACE::hgcal::HGCalMappingModuleESProducer::produce(), ALPAKA_ACCELERATOR_NAMESPACE::hgcal::HGCalMappingCellESProducer::produce(), ALPAKA_ACCELERATOR_NAMESPACE::PFRecHitTopologyESProducer< CAL >::produce(), ALPAKA_ACCELERATOR_NAMESPACE::EcalMultifitConditionsHostESProducer::produce(), ALPAKA_ACCELERATOR_NAMESPACE::HcalMahiConditionsESProducer::produce(), PortableHostObject< T >::ROOTReadStreamer(), PortableHostCollection< TestSoA >::ROOTReadStreamer(), and PortableHostMultiCollection< TestSoA, TestSoA2 >::ROOTReadStreamer().
|
inline |
|
inline |
Definition at line 1329 of file workdivision.h.
References writedatasetfile::args.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::for(), pixelClustering::ClusterChargeCut< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::pixelRecHits::GetHits< TrackerTraits >::operator()(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::zeroAndInit::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::FindClus< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::pixelDetails::FillHitsModuleStart< TrackerTraits >::operator()(), radixSortImpl(), reorderFloat(), and reorderSigned().
|
inline |
|
inline |
Definition at line 1356 of file workdivision.h.
References writedatasetfile::args.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::for(), ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::CAFishbone< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::hcal::reconstruction::mahi::Kernel_prep1d_sameNumberOfSamples::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_connect< TrackerTraits >::operator()(), and ALPAKA_ACCELERATOR_NAMESPACE::hcal::reconstruction::mahi::Kernel_prep_pulseMatrices_sameNumberOfSamples::operator()().
|
inline |
Definition at line 1363 of file workdivision.h.
References writedatasetfile::args.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::hcal::reconstruction::mahi::Kernel_prep_pulseMatrices_sameNumberOfSamples::operator()().
|
inline |
Definition at line 1370 of file workdivision.h.
References writedatasetfile::args.
|
inline |
Definition at line 1170 of file workdivision.h.
References writedatasetfile::args.
Referenced by pixelClustering::ClusterChargeCut< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::pixelRecHits::GetHits< TrackerTraits >::operator()(), and ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::FindClus< TrackerTraits >::operator()().
|
inline |
|
inline |
Definition at line 1197 of file workdivision.h.
References writedatasetfile::args.
|
inline |
Definition at line 1204 of file workdivision.h.
References writedatasetfile::args.
|
inline |
Definition at line 1211 of file workdivision.h.
References writedatasetfile::args.
constexpr bool cms::alpakatools::isPowerOf2 | ( | T | v | ) |
Definition at line 11 of file prefixScan.h.
References findQualityFiles::v.
Referenced by blockPrefixScan().
std::enable_if_t<alpaka::isDevice<TDev> and not std::is_array_v<T>, device_buffer<TDev, T> > cms::alpakatools::make_device_buffer | ( | TDev const & | device | ) |
std::enable_if_t<alpaka::isDevice<TDev> and cms::is_unbounded_array_v<T> and not std::is_array_v<std::remove_extent_t<T> >, device_buffer<TDev, T> > cms::alpakatools::make_device_buffer | ( | TDev const & | device, |
Extent | extent | ||
) |
std::enable_if_t<alpaka::isDevice<TDev> and cms::is_bounded_array_v<T> and not std::is_array_v<std::remove_extent_t<T> >, device_buffer<TDev, T> > cms::alpakatools::make_device_buffer | ( | TDev const & | device | ) |
std::enable_if_t<alpaka::isQueue<TQueue> and not std::is_array_v<T>, device_buffer<alpaka::Dev<TQueue>, T> > cms::alpakatools::make_device_buffer | ( | TQueue const & | queue | ) |
Definition at line 210 of file memory.h.
References allocator_policy, Asynchronous, Caching, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), createBeamHaloJobs::queue, and Synchronous.
std::enable_if_t<alpaka::isQueue<TQueue> and cms::is_unbounded_array_v<T> and not std::is_array_v<std::remove_extent_t<T> >, device_buffer<alpaka::Dev<TQueue>, T> > cms::alpakatools::make_device_buffer | ( | TQueue const & | queue, |
Extent | extent | ||
) |
Definition at line 226 of file memory.h.
References allocator_policy, Asynchronous, Caching, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), createBeamHaloJobs::queue, and Synchronous.
std::enable_if_t<alpaka::isQueue<TQueue> and cms::is_bounded_array_v<T> and not std::is_array_v<std::remove_extent_t<T> >, device_buffer<alpaka::Dev<TQueue>, T> > cms::alpakatools::make_device_buffer | ( | TQueue const & | queue | ) |
Definition at line 242 of file memory.h.
References allocator_policy, Asynchronous, Caching, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), createBeamHaloJobs::queue, and Synchronous.
std::enable_if_t<not std::is_array_v<T>, device_view<TDev, T> > cms::alpakatools::make_device_view | ( | TDev const & | device, |
T & | data | ||
) |
Definition at line 260 of file memory.h.
References data.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::pixelDetails::SiPixelRawToClusterKernel< pixelTopology::Phase2 >::makePhase1ClustersAsync(), ALPAKA_ACCELERATOR_NAMESPACE::pixelDetails::SiPixelRawToClusterKernel< pixelTopology::Phase2 >::makePhase2ClustersAsync(), and TrackingRecHitDevice< TrackerTraits, TDev >::updateFromDevice().
device_view<TDev, T[]> cms::alpakatools::make_device_view | ( | TDev const & | device, |
T * | data, | ||
Extent | extent | ||
) |
std::enable_if_t<cms::is_unbounded_array_v<T> and not std::is_array_v<std::remove_extent_t<T> >, device_view<TDev, T> > cms::alpakatools::make_device_view | ( | TDev const & | device, |
T & | data, | ||
Extent | extent | ||
) |
std::enable_if_t<cms::is_bounded_array_v<T> and not std::is_array_v<std::remove_extent_t<T> >, device_view<TDev, T> > cms::alpakatools::make_device_view | ( | TDev const & | device, |
T & | data | ||
) |
std::enable_if_t<not std::is_array_v<T>, host_buffer<T> > cms::alpakatools::make_host_buffer | ( | ) |
std::enable_if_t<cms::is_unbounded_array_v<T> and not std::is_array_v<std::remove_extent_t<T> >, host_buffer<T> > cms::alpakatools::make_host_buffer | ( | Extent | extent | ) |
std::enable_if_t<cms::is_bounded_array_v<T> and not std::is_array_v<std::remove_extent_t<T> >, host_buffer<T> > cms::alpakatools::make_host_buffer | ( | ) |
std::enable_if_t<not std::is_array_v<T>, host_buffer<T> > cms::alpakatools::make_host_buffer | ( | ) |
std::enable_if_t<cms::is_unbounded_array_v<T> and not std::is_array_v<std::remove_extent_t<T> >, host_buffer<T> > cms::alpakatools::make_host_buffer | ( | Extent | extent | ) |
std::enable_if_t<cms::is_bounded_array_v<T> and not std::is_array_v<std::remove_extent_t<T> >, host_buffer<T> > cms::alpakatools::make_host_buffer | ( | ) |
std::enable_if_t<alpaka::isQueue<TQueue> and not std::is_array_v<T>, host_buffer<T> > cms::alpakatools::make_host_buffer | ( | TQueue const & | queue | ) |
Definition at line 109 of file memory.h.
References allocator_policy, Caching, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), host(), and createBeamHaloJobs::queue.
std::enable_if_t<alpaka::isQueue<TQueue> and cms::is_unbounded_array_v<T> and not std::is_array_v<std::remove_extent_t<T> >, host_buffer<T> > cms::alpakatools::make_host_buffer | ( | TQueue const & | queue, |
Extent | extent | ||
) |
Definition at line 123 of file memory.h.
References allocator_policy, Caching, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), host(), and createBeamHaloJobs::queue.
std::enable_if_t<alpaka::isQueue<TQueue> and cms::is_bounded_array_v<T> and not std::is_array_v<std::remove_extent_t<T> >, host_buffer<T> > cms::alpakatools::make_host_buffer | ( | TQueue const & | queue | ) |
Definition at line 137 of file memory.h.
References allocator_policy, Caching, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), host(), and createBeamHaloJobs::queue.
std::enable_if_t<not std::is_array_v<T>, host_view<T> > cms::alpakatools::make_host_view | ( | T & | data | ) |
Definition at line 153 of file memory.h.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::pixelDetails::SiPixelRawToClusterKernel< pixelTopology::Phase2 >::makePhase1ClustersAsync(), ALPAKA_ACCELERATOR_NAMESPACE::pixelDetails::SiPixelRawToClusterKernel< pixelTopology::Phase2 >::makePhase2ClustersAsync(), and TrackingRecHitDevice< TrackerTraits, TDev >::updateFromDevice().
std::enable_if_t<cms::is_unbounded_array_v<T> and not std::is_array_v<std::remove_extent_t<T> >, host_view<T> > cms::alpakatools::make_host_view | ( | T & | data, |
Extent | extent | ||
) |
std::enable_if_t<cms::is_bounded_array_v<T> and not std::is_array_v<std::remove_extent_t<T> >, host_view<T> > cms::alpakatools::make_host_view | ( | T & | data | ) |
SimpleVector<T> cms::alpakatools::make_SimpleVector | ( | int | capacity, |
T * | data | ||
) |
Definition at line 126 of file SimpleVector.h.
References gpuVertexFinder::capacity(), data, and runTheMatrix::ret.
SimpleVector<T>* cms::alpakatools::make_SimpleVector | ( | SimpleVector< T > * | mem, |
int | capacity, | ||
T * | data | ||
) |
Definition at line 134 of file SimpleVector.h.
References gpuVertexFinder::capacity(), data, mem, and runTheMatrix::ret.
|
inline |
Definition at line 47 of file workdivision.h.
References gather_cfg::blocks, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), and bookConverter::elements.
|
inline |
Definition at line 63 of file workdivision.h.
References gather_cfg::blocks, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), and bookConverter::elements.
void cms::alpakatools::module_backend_config | ( | edm::ConfigurationDescriptions & | iDesc | ) |
Definition at line 13 of file module_backend_config.cc.
References edm::ParameterSetDescription::addUntracked(), edm::ConfigurationDescriptions::defaultDescription(), edm::ParameterSetDescription::isLabelUnused(), kComment, AlCaHLTBitMon_QueryRunRegistry::string, and findQualityFiles::v.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::ESProducer::prevalidate(), and ALPAKA_ACCELERATOR_NAMESPACE::ProducerBase< BaseT, Args >::prevalidate().
|
inline |
Definition at line 1394 of file workdivision.h.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::constexpr(), ALPAKA_ACCELERATOR_NAMESPACE::hcalFastCluster_exotic(), ALPAKA_ACCELERATOR_NAMESPACE::hcalFastCluster_multiSeedIterative(), ALPAKA_ACCELERATOR_NAMESPACE::hcalFastCluster_multiSeedParallel(), ALPAKA_ACCELERATOR_NAMESPACE::hcalFastCluster_singleSeed(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::raw::Kernel_unpack::operator()(), pixelClustering::ClusterChargeCut< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::ClusterTracksIterative::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::ClusterTracksDBSCAN::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::pixelRecHits::GetHits< TrackerTraits >::operator()(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >::zeroAndInit::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::FindClus< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::TopoClusterContraction::operator()(), and ALPAKA_ACCELERATOR_NAMESPACE::FastCluster::operator()().
|
inline |
Definition at line 1382 of file workdivision.h.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::TestAlgoKernel::operator()(), pixelClustering::ClusterChargeCut< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::InitDoublets< TrackerTraits >::operator()(), calibPixel::CalibDigis< debug >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::Kernel_BLFastFit< N, TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::Kernel_FastFit< N, TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_checkOverflows< TrackerTraits >::operator()(), calibPixel::CalibDigisPhase2::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::CountModules< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlgoStructKernel::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlgoKernelUpdate::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlgoKernelUpdateMulti2::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlgoKernelUpdateMulti3::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::pixelDetails::RawToDigi_kernel< debug >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_connect< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_find_ntuplets< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_fillNLayers< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::SeedingTopoThresh::operator()(), and ALPAKA_ACCELERATOR_NAMESPACE::PrepareTopoInputs::operator()().
|
inline |
Definition at line 14 of file devices.h.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::AlpakaService::AlpakaService().
ALPAKA_FN_ACC ALPAKA_FN_INLINE void cms::alpakatools::radixSort | ( | const TAcc & | acc, |
T const * | a, | ||
uint16_t * | ind, | ||
uint16_t * | ind2, | ||
uint32_t | size | ||
) |
ALPAKA_FN_INLINE void cms::alpakatools::radixSort | ( | const TAcc & | acc, |
T const * | a, | ||
uint16_t * | ind, | ||
uint16_t * | ind2, | ||
uint32_t | size | ||
) |
Definition at line 357 of file radixSort.h.
References a, and testProducerWithPsetDescEmpty_cfi::i1.
ALPAKA_FN_ACC ALPAKA_FN_INLINE void cms::alpakatools::radixSortImpl | ( | const TAcc & | acc, |
T const *__restrict__ | a, | ||
uint16_t * | ind, | ||
uint16_t * | ind2, | ||
uint32_t | size, | ||
RF | reorder | ||
) |
Definition at line 97 of file radixSort.h.
References a, ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::ALPAKA_ASSERT_ACC(), cms::cuda::assert(), cms::cudacompat::atomicAdd(), cms::cudacompat::atomicMax(), newFWLiteAna::bin, DummyCfis::c, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), hgcalPlots::ct, mps_fire::i, heavyIonCSV_trainingSettings::idx, independent_group_elements(), createfilelist::int, dqmiolumiharvest::j, dqmdumpme::k, hltrates_dqm_sourceclient-live_cfg::offset, trackingPlots::reorder, contentValuesCheck::ss, submitPVValidationJobs::t, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::threadIdxLocal(), dqmMemoryStats::total, and x.
ALPAKA_FN_ACC ALPAKA_FN_INLINE void cms::alpakatools::radixSortMulti | ( | const TAcc & | acc, |
T const * | v, | ||
uint16_t * | index, | ||
uint32_t const * | offsets, | ||
uint16_t * | workspace | ||
) |
Definition at line 382 of file radixSort.h.
References a, cms::cuda::assert(), cms::cudacompat::blockIdx, unpackBuffers-CaloStage1::offsets, findQualityFiles::v, and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::ws.
ALPAKA_FN_ACC ALPAKA_FN_INLINE void cms::alpakatools::reorderFloat | ( | const TAcc & | acc, |
T const * | a, | ||
uint16_t * | ind, | ||
uint16_t * | ind2, | ||
uint32_t | size | ||
) |
Definition at line 54 of file radixSort.h.
References a, heavyIonCSV_trainingSettings::idx, and independent_group_elements().
ALPAKA_FN_ACC ALPAKA_FN_INLINE void cms::alpakatools::reorderSigned | ( | const TAcc & | acc, |
T const * | a, | ||
uint16_t * | ind, | ||
uint16_t * | ind2, | ||
uint32_t | size | ||
) |
Definition at line 21 of file radixSort.h.
References a, heavyIonCSV_trainingSettings::idx, and independent_group_elements().
Definition at line 17 of file workdivision.h.
Backend cms::alpakatools::toBackend | ( | std::string_view | name | ) |
Definition at line 13 of file Backend.cc.
References cms::Exception::addContext(), HLT_2024v13_cff::distance, spr::find(), newFWLiteAna::found, and Skims_PA_cff::name.
std::string_view cms::alpakatools::toString | ( | Backend | backend | ) |
Definition at line 24 of file Backend.cc.
References cms::Exception::addContext(), HLT_2024v13_cff::backend, size, and heppy_batch::val.
Referenced by TestAlpakaObjectAnalyzer::analyze(), and TestAlpakaAnalyzer::analyze().
|
inline |
Definition at line 311 of file workdivision.h.
References writedatasetfile::args.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::test::add_vectors_d(), ALPAKA_ACCELERATOR_NAMESPACE::test::add_vectors_f(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::for(), ALPAKA_ACCELERATOR_NAMESPACE::HGCalLayerClustersSoAAlgoKernelEnergy::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::PFRecHitProducerKernelConstruct< CAL >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlgoKernel::operator()(), cms::alpakatools::countFromVector::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::InitDoublets< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::ClusterTracksIterative::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::ClusterTracksDBSCAN::operator()(), calibPixel::CalibDigis< debug >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::Kernel_BLFastFit< N, TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::Kernel_FastFit< N, TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::LoadTracks< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::setHitsLayerStart< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_time_compute_nullhypot::operator()(), cms::alpakatools::fillFromVector::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlgoMultiKernel2::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::HGCalLayerClustersSoAAlgoKernelPositionByHits::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_minimize::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlgoMultiKernel3::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_checkOverflows< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::ECLCCInit::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::HGCalLayerClustersSoAAlgoKernelPositionByHits2::operator()(), calibPixel::CalibDigisPhase2::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::CountModules< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::Kernel_CircleFit< N, TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::ECLCCCompute1::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::HGCalLayerClustersSoAAlgoKernelPositionByHits3::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::PFRecHitProducerKernelTopology< CAL >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::Kernel_LineFit< N, TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::ECLCCFlatten::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlgoKernelUpdate::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_fishboneCleaner< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::Kernel_BLFit< N, TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlgoKernelUpdateMulti2::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_earlyDuplicateRemover< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlgoKernelUpdateMulti3::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_fastDuplicateRemover< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::pixelDetails::RawToDigi_kernel< debug >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_find_ntuplets< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_mark_used< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_countMultiplicity< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_fillMultiplicity< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_classifyTracks< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_time_compute_findamplchi2_and_finish::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_doStatsForTracks< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_countHitInTracks< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_fillHitInTracks< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_fillHitDetIndices< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_fillNLayers< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_doStatsForHitInTracks< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_countSharedHit< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_markSharedHit< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_rejectDuplicate< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_time_compute_fixMGPAslew::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_time_computation_init::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_sharedHitCleaner< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_tripletCleaner< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_simpleTripletCleaner< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_print_found_ntuplets< TrackerTraits >::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_time_correction_and_finalize::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::SeedingTopoThresh::operator()(), ALPAKA_ACCELERATOR_NAMESPACE::PrepareTopoInputs::operator()(), and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::sortByPt2().
|
inline |
|
inline |
Definition at line 575 of file workdivision.h.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_prep_2d::operator()(), and ALPAKA_ACCELERATOR_NAMESPACE::FillRhfIndex::operator()().
|
inline |
Definition at line 580 of file workdivision.h.
|
inline |
Definition at line 337 of file workdivision.h.
References writedatasetfile::args.
|
inline |
Definition at line 344 of file workdivision.h.
References writedatasetfile::args.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::CAFishbone< TrackerTraits >::operator()(), and ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_connect< TrackerTraits >::operator()().
|
inline |
Definition at line 351 of file workdivision.h.
References writedatasetfile::args.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::hcal::reconstruction::mahi::Kernel_prep_pulseMatrices_sameNumberOfSamples::operator()().
|
inline |
Definition at line 978 of file workdivision.h.
References writedatasetfile::args.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_prep_1d_and_initialize::operator()(), and ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_time_compute_makeratio::operator()().
|
inline |
|
inline |
Definition at line 1005 of file workdivision.h.
References writedatasetfile::args.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::hcal::reconstruction::mahi::Kernel_minimize< NSAMPLES, NPULSES >::operator()().
|
inline |
Definition at line 1012 of file workdivision.h.
References writedatasetfile::args.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::hcal::reconstruction::mahi::Kernel_prep1d_sameNumberOfSamples::operator()().
|
inline |
Definition at line 1019 of file workdivision.h.
References writedatasetfile::args.
|
inline |
Definition at line 759 of file workdivision.h.
References writedatasetfile::args.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_prep_1d_and_initialize::operator()(), and ALPAKA_ACCELERATOR_NAMESPACE::ecal::multifit::Kernel_time_compute_makeratio::operator()().
|
inline |
|
inline |
Definition at line 785 of file workdivision.h.
References writedatasetfile::args.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::hcal::reconstruction::mahi::Kernel_minimize< NSAMPLES, NPULSES >::operator()().
|
inline |
Definition at line 792 of file workdivision.h.
References writedatasetfile::args.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::hcal::reconstruction::mahi::Kernel_prep1d_sameNumberOfSamples::operator()().
|
inline |
Definition at line 799 of file workdivision.h.
References writedatasetfile::args.
ALPAKA_FN_ACC ALPAKA_FN_INLINE void cms::alpakatools::warpPrefixScan | ( | const TAcc & | acc, |
int32_t | laneId, | ||
T const * | ci, | ||
T * | co, | ||
uint32_t | i, | ||
bool | active = true |
||
) |
Definition at line 23 of file prefixScan.h.
References CMS_UNROLL_LOOP, cms::cuda::co, DTskim_cfg::dataType, mps_fire::i, hltrates_dqm_sourceclient-live_cfg::offset, and x.
Referenced by blockPrefixScan(), and warpPrefixScan().
ALPAKA_FN_ACC ALPAKA_FN_INLINE void cms::alpakatools::warpPrefixScan | ( | const TAcc & | acc, |
int32_t | laneId, | ||
T * | c, | ||
uint32_t | i, | ||
bool | active = true |
||
) |
Definition at line 40 of file prefixScan.h.
References DummyCfis::c, mps_fire::i, and warpPrefixScan().
|
inline |
Definition at line 15 of file AllocatorPolicy.h.
Referenced by make_device_buffer(), and make_host_buffer().
|
inline |
Definition at line 43 of file workdivision.h.