alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
globalMem.hpp File Reference

Go to the source code of this file.

Classes

struct  alpaka::onAcc::internal::GlobalDeviceMemoryDataWrapper< T >
 Helper class to wrap device global memory data. More...
struct  alpaka::onAcc::internal::GlobalDeviceMemoryDataWrapper< T >
 Specialization of GlobalDeviceMemoryDataWrapper for C static arrays. More...
struct  alpaka::onAcc::internal::GlobalDeviceMemoryWrapper< T_Storage, T_Type >
 Helper class to provide access to device global memory variables. More...

Namespaces

namespace  alpaka
 main alpaka namespace.
namespace  alpaka::onAcc
 functionality which is usable on the accelerator compute device from within a kernel.
namespace  alpaka::onAcc::internal
namespace  alpaka::onHost
 Functionality which is usable on the host CPU controller thread.
namespace  alpaka::onHost::internal

Macros

#define ALPAKA_DEVICE_GLOBAL_DATA_CUDA_HIP(attributes, dataType, name, ...)
#define ALPAKA_DEVICE_GLOBAL_DATA_CUDA_HIP_EXTERN(attributes, dataType, name)
#define ALPAKA_DEVICE_GLOBAL_DATA_HOST(attributes, dataType, name, ...)
 Create a device global variable for the API host.
#define ALPAKA_DEVICE_GLOBAL_DATA_HOST_EXTERN(attributes, dataType, name)
 Create a forward declaration of a device global variable for the API host.
#define ALPAKA_DEVICE_GLOBAL_DATA_ONEAPI(attributes, dataType, name, ...)
#define ALPAKA_DEVICE_GLOBAL_DATA_ONEAPI_EXTERN(attributes, dataType, name)
#define ALPAKA_DEVICE_GLOBAL_GET_CUDA_HIP(attributes, dataType, name, ...)
#define ALPAKA_DEVICE_GLOBAL_GET_ONEAPI(attributes, dataType, name, ...)

Macro Definition Documentation

◆ ALPAKA_DEVICE_GLOBAL_DATA_CUDA_HIP

#define ALPAKA_DEVICE_GLOBAL_DATA_CUDA_HIP ( attributes,
dataType,
name,
... )

Definition at line 72 of file globalMem.hpp.

◆ ALPAKA_DEVICE_GLOBAL_DATA_CUDA_HIP_EXTERN

#define ALPAKA_DEVICE_GLOBAL_DATA_CUDA_HIP_EXTERN ( attributes,
dataType,
name )

Definition at line 94 of file globalMem.hpp.

◆ ALPAKA_DEVICE_GLOBAL_DATA_HOST

#define ALPAKA_DEVICE_GLOBAL_DATA_HOST ( attributes,
dataType,
name,
... )
Value:
namespace alpaka_onHost \
{ \
ALPAKA_PP_REMOVE_BRACKETS(dataType)> name __VA_OPT__({__VA_ARGS__}); \
}
Helper class to wrap device global memory data.

Create a device global variable for the API host.

Definition at line 31 of file globalMem.hpp.

◆ ALPAKA_DEVICE_GLOBAL_DATA_HOST_EXTERN

#define ALPAKA_DEVICE_GLOBAL_DATA_HOST_EXTERN ( attributes,
dataType,
name )
Value:
namespace alpaka_onHost \
{ \
name; \
}
#define ALPAKA_PP_REMOVE_BRACKETS(x)
Definition PP.hpp:21

Create a forward declaration of a device global variable for the API host.

Definition at line 39 of file globalMem.hpp.

◆ ALPAKA_DEVICE_GLOBAL_DATA_ONEAPI

#define ALPAKA_DEVICE_GLOBAL_DATA_ONEAPI ( attributes,
dataType,
name,
... )

Definition at line 133 of file globalMem.hpp.

◆ ALPAKA_DEVICE_GLOBAL_DATA_ONEAPI_EXTERN

#define ALPAKA_DEVICE_GLOBAL_DATA_ONEAPI_EXTERN ( attributes,
dataType,
name )

Definition at line 134 of file globalMem.hpp.

◆ ALPAKA_DEVICE_GLOBAL_GET_CUDA_HIP

#define ALPAKA_DEVICE_GLOBAL_GET_CUDA_HIP ( attributes,
dataType,
name,
... )

Definition at line 73 of file globalMem.hpp.

◆ ALPAKA_DEVICE_GLOBAL_GET_ONEAPI

#define ALPAKA_DEVICE_GLOBAL_GET_ONEAPI ( attributes,
dataType,
name,
... )

Definition at line 135 of file globalMem.hpp.