Template Numerical Library version\ main:40802e2e
|
Namespace for TNL pointers. More...
Classes | |
class | DevicePointer |
The DevicePointer is like SharedPointer, except it takes an existing host object - there is no call to the ObjectType's constructor nor destructor. More... | |
class | DevicePointer< Object, Devices::Cuda > |
Specialization of the DevicePointer for the CUDA device. More... | |
class | DevicePointer< Object, Devices::Host > |
Specialization of the DevicePointer for the host system. More... | |
class | SharedPointer |
Cross-device shared smart pointer. More... | |
class | SharedPointer< Object, Devices::Cuda > |
Specialization of the SharedPointer for the CUDA device. More... | |
class | SharedPointer< Object, Devices::Host > |
Specialization of the SharedPointer for the host system. More... | |
class | SmartPointer |
class | SmartPointersRegister |
class | UniquePointer |
Cross-device unique smart pointer. More... | |
class | UniquePointer< Object, Devices::Cuda > |
Specialization of the UniquePointer for the CUDA device. More... | |
class | UniquePointer< Object, Devices::Host > |
Specialization of the UniquePointer for the host system. More... | |
Functions | |
template<typename Device > | |
SmartPointersRegister & | getSmartPointersRegister () |
template<typename Device > | |
Timer & | getSmartPointersSynchronizationTimer () |
template<typename Device > | |
bool | synchronizeSmartPointersOnDevice (int deviceId=-1) |
Namespace for TNL pointers.
Pointers in TNL are similar to STL pointers but they work across different device.
bool TNL::Pointers::synchronizeSmartPointersOnDevice | ( | int | deviceId = -1 | ) |
Negative deviceId means that the ID of the currently active device will be determined automatically.