alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::KernelFunctionAttributes Struct Reference

Kernel function attributes struct. Attributes are filled by calling the API of the accelerator using the kernel function as an argument. In case of a CPU backend, maxThreadsPerBlock is set to 1 and other values remain zero since there are no correponding API functions to get the values. More...

#include <KernelFunctionAttributes.hpp>

Public Attributes

int asmVersion {0}
 
std::size_t constSizeBytes {0}
 
std::size_t localSizeBytes {0}
 
int maxDynamicSharedSizeBytes {0}
 
int maxThreadsPerBlock {0}
 
int numRegs {0}
 
std::size_t sharedSizeBytes {0}
 

Detailed Description

Kernel function attributes struct. Attributes are filled by calling the API of the accelerator using the kernel function as an argument. In case of a CPU backend, maxThreadsPerBlock is set to 1 and other values remain zero since there are no correponding API functions to get the values.

Definition at line 14 of file KernelFunctionAttributes.hpp.

Member Data Documentation

◆ asmVersion

int alpaka::KernelFunctionAttributes::asmVersion {0}

Definition at line 22 of file KernelFunctionAttributes.hpp.

◆ constSizeBytes

std::size_t alpaka::KernelFunctionAttributes::constSizeBytes {0}

Definition at line 16 of file KernelFunctionAttributes.hpp.

◆ localSizeBytes

std::size_t alpaka::KernelFunctionAttributes::localSizeBytes {0}

Definition at line 17 of file KernelFunctionAttributes.hpp.

◆ maxDynamicSharedSizeBytes

int alpaka::KernelFunctionAttributes::maxDynamicSharedSizeBytes {0}

Definition at line 19 of file KernelFunctionAttributes.hpp.

◆ maxThreadsPerBlock

int alpaka::KernelFunctionAttributes::maxThreadsPerBlock {0}

Definition at line 23 of file KernelFunctionAttributes.hpp.

◆ numRegs

int alpaka::KernelFunctionAttributes::numRegs {0}

Definition at line 20 of file KernelFunctionAttributes.hpp.

◆ sharedSizeBytes

std::size_t alpaka::KernelFunctionAttributes::sharedSizeBytes {0}

Definition at line 18 of file KernelFunctionAttributes.hpp.


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