|
PSCF v1.3.3
|
Global functions and variables to control GPU thread and block counts. More...
Functions | |
| void | init () |
| Initialize static variables in Pscf::ThreadArray namespace. | |
| void | setThreadsPerBlock () |
| Set the number of threads per block to a default value. | |
| void | setThreadsPerBlock (int nThreadsPerBlock) |
| Set the number of threads per block to a specified value. | |
| void | setThreadsLogical (int nThreadsLogical) |
| Given total number of threads, set 1D execution configuration. | |
| void | setThreadsLogical (int nThreadsLogical, int &nBlocks) |
| Given total number of threads, set 1D execution configuration. | |
| void | setThreadsLogical (int nThreadsLogical, int &nBlocks, int &nThreads) |
| Given total number of threads, set 1D execution configuration. | |
| void | checkExecutionConfig () |
| Check the execution configuration (threads and block counts). | |
| int | nBlocks () |
| Get the current number of blocks for execution. | |
| int | nThreads () |
| Get the number of threads per block for execution. | |
| int | nThreadsLogical () |
| Return previously requested total number of threads. | |
| int | warpSize () |
| Get the warp size. | |
| bool | hasUnusedThreads () |
| Indicates whether there will be unused threads. | |
Global functions and variables to control GPU thread and block counts.