Gromacs
2019.4
|
#include <gromacs/gpu_utils/gputraits_ocl.h>
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. | |