Public Types

LibGeoDecomp::APITraits::HasThreadedUpdate Class Reference

Some models (e.g. More...

#include <apitraits.h>

List of all members.

Public Types

typedef void SupportsThreadedUpdate

Detailed Description

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.

Member Typedef Documentation

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