alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::ApiCudaRt::HostFnAdaptor Struct Reference

#include <ApiCudaRt.hpp>

Static Public Member Functions

static void CUDART_CB hostFunction (void *data)
 
static void CUDART_CB streamCallback (Stream_t, Error_t, void *data)
 

Public Attributes

void * data_
 
HostFn_t func_
 

Detailed Description

Definition at line 86 of file ApiCudaRt.hpp.

Member Function Documentation

◆ hostFunction()

static void CUDART_CB alpaka::ApiCudaRt::HostFnAdaptor::hostFunction ( void *  data)
inlinestatic

Definition at line 91 of file ApiCudaRt.hpp.

◆ streamCallback()

static void CUDART_CB alpaka::ApiCudaRt::HostFnAdaptor::streamCallback ( Stream_t  ,
Error_t  ,
void *  data 
)
inlinestatic

Definition at line 98 of file ApiCudaRt.hpp.

Member Data Documentation

◆ data_

void* alpaka::ApiCudaRt::HostFnAdaptor::data_

Definition at line 89 of file ApiCudaRt.hpp.

◆ func_

HostFn_t alpaka::ApiCudaRt::HostFnAdaptor::func_

Definition at line 88 of file ApiCudaRt.hpp.


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