Loading src/TNL/Pointers/SharedPointerCuda.h +50 −49 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ namespace Pointers { #if ! defined HAVE_CUDA_UNIFIED_MEMORY /** * \brief Specialization of the UniquePointer for the CUDA device. * \brief Specialization of the \ref SharedPointer for the CUDA device. * * \tparam Object is a type of object to be owned by the pointer. */ Loading Loading @@ -431,9 +431,10 @@ class SharedPointer< Object, Devices::Cuda > : public SmartPointer /** * \brief Cross-device pointer synchronization. * * For the smart pointers in the host, this method does nothing. * This method is usually called by the smart pointers register when calling * \ref Pointers::synchronizeSmartPointersOnDevice< Devices::Cuda >() * * \return true. * \return true if the synchronization was successful, false otherwise. */ bool synchronize() { Loading src/TNL/Pointers/SharedPointerHost.h +39 −39 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ namespace TNL { namespace Pointers { /** * \brief Specialization of the UniquePointer for the host system. * \brief Specialization of the \ref SharedPointer for the host system. * * \tparam Object is a type of object to be owned by the pointer. */ Loading Loading @@ -63,7 +63,7 @@ class SharedPointer< Object, Devices::Host > : public SmartPointer using DeviceType = Devices::Host; /** * \brief Constructor of empty pointer. * \brief Constructor of an empty pointer. */ SharedPointer( std::nullptr_t ) : pd( nullptr ) Loading Loading @@ -351,7 +351,7 @@ class SharedPointer< Object, Devices::Host > : public SmartPointer /** * \brief Cross-device pointer synchronization. * * For the smart pointers in the host, this method does nothing. * For the smart pointers on the host, this method does nothing. * * \return true. */ Loading Loading
src/TNL/Pointers/SharedPointerCuda.h +50 −49 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ namespace Pointers { #if ! defined HAVE_CUDA_UNIFIED_MEMORY /** * \brief Specialization of the UniquePointer for the CUDA device. * \brief Specialization of the \ref SharedPointer for the CUDA device. * * \tparam Object is a type of object to be owned by the pointer. */ Loading Loading @@ -431,9 +431,10 @@ class SharedPointer< Object, Devices::Cuda > : public SmartPointer /** * \brief Cross-device pointer synchronization. * * For the smart pointers in the host, this method does nothing. * This method is usually called by the smart pointers register when calling * \ref Pointers::synchronizeSmartPointersOnDevice< Devices::Cuda >() * * \return true. * \return true if the synchronization was successful, false otherwise. */ bool synchronize() { Loading
src/TNL/Pointers/SharedPointerHost.h +39 −39 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ namespace TNL { namespace Pointers { /** * \brief Specialization of the UniquePointer for the host system. * \brief Specialization of the \ref SharedPointer for the host system. * * \tparam Object is a type of object to be owned by the pointer. */ Loading Loading @@ -63,7 +63,7 @@ class SharedPointer< Object, Devices::Host > : public SmartPointer using DeviceType = Devices::Host; /** * \brief Constructor of empty pointer. * \brief Constructor of an empty pointer. */ SharedPointer( std::nullptr_t ) : pd( nullptr ) Loading Loading @@ -351,7 +351,7 @@ class SharedPointer< Object, Devices::Host > : public SmartPointer /** * \brief Cross-device pointer synchronization. * * For the smart pointers in the host, this method does nothing. * For the smart pointers on the host, this method does nothing. * * \return true. */ Loading