Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Attributes
KernelLaunchConfig Struct Reference

#include <gromacs/gpu_utils/gputraits_ocl.h>

Description

GPU kernels scheduling description. This is same in OpenCL/CUDA. Provides reasonable defaults, one typically only needs to set the GPU stream and non-1 work sizes.

Public Attributes

size_t gridSize [3] = { 1, 1, 1 }
 Work groups (CUDA blocks) counts.
 
size_t blockSize [3] = { 1, 1, 1 }
 Per work group (CUDA block) thread counts.
 
size_t sharedMemorySize = 0
 Shared memory size in bytes.
 
CommandStream stream = nullptr
 Stream to launch kernel in.
 

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