|
Swarm-NG
1.1
|
Defines and implements the GPU integrator class with one thread for each body-pair and the interface to GPU and CUDA. More...
#include "../integrator.hpp"#include "../log/log.hpp"#include "../plugin.hpp"#include "helpers.hpp"#include "utilities.hpp"#include "device_settings.hpp"Go to the source code of this file.
Classes | |
| class | swarm::gpu::bppt::integrator |
| Common functionality and skeleton for body-pair-per-thread integrators Common tasks include: More... | |
Namespaces | |
| swarm | |
| Swarm-NG library. | |
| swarm::gpu | |
| GPU-based integrators and other GPU tools. | |
| swarm::gpu::bppt | |
| Class of GPU integrators with a thread for each body-pair. | |
Constant Groups | |
| swarm | |
| Swarm-NG library. | |
| swarm::gpu | |
| GPU-based integrators and other GPU tools. | |
| swarm::gpu::bppt | |
| Class of GPU integrators with a thread for each body-pair. | |
Functions | |
| GPUAPI int | swarm::gpu::bppt::sysid () |
| Kernel Helper Function: Extract system ID from CUDA thread ID. | |
| GPUAPI int | swarm::gpu::bppt::sysid_in_block () |
| Kernel Helper Function: Extract system sequence number inside current block. | |
| GPUAPI int | swarm::gpu::bppt::thread_in_system () |
| Kernel Helper Function: Extract the worker-thread number for current system. | |
| GPUAPI int | swarm::gpu::bppt::system_per_block_gpu () |
| Kernel Helper Function: Extract number of systems per a block from CUDA thread information. | |
| GPUAPI int | swarm::gpu::bppt::thread_component_idx (int nbod) |
| Kernel Helper Function: Logical coordinate component id [1:x,2:y,3:z] calculated from thread ID info. | |
| GPUAPI int | swarm::gpu::bppt::thread_body_idx (int nbod) |
| Kernel Helper Function: Logical body id [0..nbod-1] calculated from thread ID info. | |
| template<class Impl , class T > | |
| GPUAPI void * | swarm::gpu::bppt::system_shared_data_pointer (Impl *integ, T compile_time_param) |
| Kernel Helper Function: Get the pointer to dynamic shared memory allocated for the system. More... | |
Defines and implements the GPU integrator class with one thread for each body-pair and the interface to GPU and CUDA.
Definition in file bppt.hpp.