|
PeTar
N-body code for collisional gravitational systems
|
#include <cuda_pointer.h>
Public Member Functions | |
| cudaPointer () | |
| void | allocate (int _size) |
| void | free () |
| void | htod (int count) |
| void | htod () |
| void | dtoh (int count) |
| void | dtoh () |
| T & | operator[] (int i) |
| operator T* () | |
Public Attributes | |
| T * | dev_pointer |
| T * | host_pointer |
| size_t | size |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| T* cudaPointer< T >::dev_pointer |
| T* cudaPointer< T >::host_pointer |
| size_t cudaPointer< T >::size |