alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::MemSetKernel Class Reference

any device ND memory set kernel. More...

#include <SetKernel.hpp>

Public Member Functions

template<typename TAcc , typename TExtent , typename TPitch >
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_ACC auto operator() (TAcc const &acc, std::uint8_t const val, std::uint8_t *dst, TExtent extent, TPitch pitch) const -> void
 The kernel entry point. More...
 

Detailed Description

any device ND memory set kernel.

Definition at line 16 of file SetKernel.hpp.

Member Function Documentation

◆ operator()()

template<typename TAcc , typename TExtent , typename TPitch >
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_ACC auto alpaka::MemSetKernel::operator() ( TAcc const &  acc,
std::uint8_t const  val,
std::uint8_t *  dst,
TExtent  extent,
TPitch  pitch 
) const -> void
inline

The kernel entry point.

All but the last element of threadElemExtent must be one.

Template Parameters
TAccThe accelerator environment to be executed on.
TExtentextent type.
Parameters
accThe accelerator to be executed on.
valvalue to set.
dsttarget mem ptr.
extentarea to set.

Definition at line 31 of file SetKernel.hpp.


The documentation for this class was generated from the following file: