alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::onHost::internal::MemcpyDeviceGlobal::Op< T_Queue, T_Dest, T_Source > Struct Template Reference

#include <interface.hpp>

Public Member Functions

void operator() (T_Queue &queue, T_Dest &&, T_Source &&) const
 copy data from or to the device global memory

Detailed Description

template<typename T_Queue, typename T_Dest, typename T_Source>
struct alpaka::onHost::internal::MemcpyDeviceGlobal::Op< T_Queue, T_Dest, T_Source >

Definition at line 384 of file interface.hpp.

Member Function Documentation

◆ operator()()

template<typename T_Queue, typename T_Dest, typename T_Source>
void alpaka::onHost::internal::MemcpyDeviceGlobal::Op< T_Queue, T_Dest, T_Source >::operator() ( T_Queue & queue,
T_Dest && ,
T_Source &&  ) const

copy data from or to the device global memory

It is only allowed to copy data from or to the host. Copy from device global variable to device global variables is not supported. The host data is allowed te be a host accessible pointer.


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