Swarm-NG  1.1
utilities.hpp File Reference

Defines a function for counting the number of active ensemble systems on GPU and utility functions for finding the best factorization and compute the optimal allowable grid dimensions based on the system configuration. More...

Go to the source code of this file.

Namespaces

 swarm
 Swarm-NG library.
 

Constant Groups

 swarm
 Swarm-NG library.
 

Functions

int swarm::number_of_active_systems (ensemble ens)
 Count the number of active systems on GPU without downloading the ensemble. More...
 
void swarm::find_best_factorization (unsigned int &bx, unsigned int &by, int nblocks)
 Find best factorization. More...
 
bool swarm::configure_grid (dim3 &gridDim, int threadsPerBlock, int nthreads, int dynShmemPerThread, int staticShmemPerBlock)
 Configur grid. More...
 

Detailed Description

Defines a function for counting the number of active ensemble systems on GPU and utility functions for finding the best factorization and compute the optimal allowable grid dimensions based on the system configuration.

Definition in file utilities.hpp.