|
|
| LaunchConfiguration ()=default |
| | Constructs a configuration with the Default mapping.
|
| | LaunchConfiguration (ThreadsToSegmentsMapping threadsToSegmentsMapping, int threadsPerSegmentCount, int blockSize=1) |
| | Constructs a configuration with the given mapping and threads per segment count.
|
|
const Backend::LaunchConfiguration & | getBackendLaunchConfiguration () const |
| | Returns the backend part of the launch configuration with the grid and block sizes.
|
|
int | getThreadsPerSegmentCount () const |
| | Returns the number of threads per segment.
|
|
ThreadsToSegmentsMapping | getThreadsToSegmentsMapping () const |
| | Returns the mapping of threads to segments.
|
| void | setThreadsPerSegmentCount (int threadsPerSegmentCount) |
| | Sets the number of threads per segment.
|
|
void | setThreadsPerSegmentCountToWarpSize () |
| | Sets the number of threads per segment to the warp size of the current GPU.
|
|
void | setThreadsToSegmentsMapping (ThreadsToSegmentsMapping threadsToSegmentsMapping) |
| | Sets the mapping of threads to segments.
|
|
constexpr | LaunchConfiguration (const LaunchConfiguration &)=default |
|
constexpr | LaunchConfiguration (dim3 gridSize, dim3 blockSize, std::size_t dynamicSharedMemorySize=0U, Backend::stream_t stream=0, bool blockHostUntilFinished=true) |
|
constexpr | LaunchConfiguration (LaunchConfiguration &&)=default |
Launch configuration for segment operations.
This class encapsulates the configuration for launching segment operations, including the mapping of threads to segments and the number of threads per segment. The default configuration requests the Default mapping, i.e. the best native strategy of the segments format. A segments format which does not support the requested mapping or threads per segment count throws std::invalid_argument.