Some models (e.g. More...
#include <apitraits.h>
Public Types | |
typedef void | SupportsThreadedUpdate |
Some models (e.g.
n-body codes) are so compute intensive, that it may be advisable to use multiple threads for updating a single cell -- as opposed to using multiple threads for dijunct regions of the grid. This trait can be used to tell LibGeoDecomp which threading strategy should be used. The model is responsible to provide a suitable implementation (e.g. based on OpenMP or HPX). On CUDA each cell will get its own thread block.