Loading src/TNL/DevicePointer.h +1 −4 Original line number Diff line number Diff line Loading @@ -201,7 +201,7 @@ class DevicePointer< Object, Devices::Cuda > : public SmartPointer public: typedef Object ObjectType; typedef Devices::Host DeviceType; typedef Devices::Cuda DeviceType; typedef DevicePointer< Object, Devices::Cuda > ThisType; explicit DevicePointer( ObjectType& obj ) Loading Loading @@ -425,9 +425,6 @@ class DevicePointer< Object, Devices::Cuda > : public SmartPointer bool modified; int* counter; template< typename Object_, typename Device_ > friend class DevicePointer; }; } // namespace TNL src/TNL/SharedPointer.h +5 −5 Original line number Diff line number Diff line Loading @@ -73,8 +73,8 @@ class SharedPointer< Object, Devices::Host, lazy > : public SmartPointer std::is_same< typename std::remove_cv< Object >::type, Object_ >::value >; // friend class will be needed for templated assignment operators template< typename Object_, typename Device_ > friend class DevicePointer; template< typename Object_, typename Device_, bool lazy_ > friend class SharedPointer; public: Loading Loading @@ -292,13 +292,13 @@ class SharedPointer< Object, Devices::Cuda, lazy > : public SmartPointer std::is_same< typename std::remove_cv< Object >::type, Object_ >::value >; // friend class will be needed for templated assignment operators template< typename Object_, typename Device_ > friend class DevicePointer; template< typename Object_, typename Device_, bool lazy_ > friend class SharedPointer; public: typedef Object ObjectType; typedef Devices::Host DeviceType; typedef Devices::Cuda DeviceType; typedef SharedPointer< Object, Devices::Cuda, lazy > ThisType; template< typename... Args > Loading src/TNL/UniquePointer.h +1 −1 Original line number Diff line number Diff line Loading @@ -116,7 +116,7 @@ class UniquePointer< Object, Devices::Cuda > : public SmartPointer public: typedef Object ObjectType; typedef Devices::Host DeviceType; typedef Devices::Cuda DeviceType; typedef UniquePointer< Object, Devices::Host > ThisType; template< typename... Args > Loading Loading
src/TNL/DevicePointer.h +1 −4 Original line number Diff line number Diff line Loading @@ -201,7 +201,7 @@ class DevicePointer< Object, Devices::Cuda > : public SmartPointer public: typedef Object ObjectType; typedef Devices::Host DeviceType; typedef Devices::Cuda DeviceType; typedef DevicePointer< Object, Devices::Cuda > ThisType; explicit DevicePointer( ObjectType& obj ) Loading Loading @@ -425,9 +425,6 @@ class DevicePointer< Object, Devices::Cuda > : public SmartPointer bool modified; int* counter; template< typename Object_, typename Device_ > friend class DevicePointer; }; } // namespace TNL
src/TNL/SharedPointer.h +5 −5 Original line number Diff line number Diff line Loading @@ -73,8 +73,8 @@ class SharedPointer< Object, Devices::Host, lazy > : public SmartPointer std::is_same< typename std::remove_cv< Object >::type, Object_ >::value >; // friend class will be needed for templated assignment operators template< typename Object_, typename Device_ > friend class DevicePointer; template< typename Object_, typename Device_, bool lazy_ > friend class SharedPointer; public: Loading Loading @@ -292,13 +292,13 @@ class SharedPointer< Object, Devices::Cuda, lazy > : public SmartPointer std::is_same< typename std::remove_cv< Object >::type, Object_ >::value >; // friend class will be needed for templated assignment operators template< typename Object_, typename Device_ > friend class DevicePointer; template< typename Object_, typename Device_, bool lazy_ > friend class SharedPointer; public: typedef Object ObjectType; typedef Devices::Host DeviceType; typedef Devices::Cuda DeviceType; typedef SharedPointer< Object, Devices::Cuda, lazy > ThisType; template< typename... Args > Loading
src/TNL/UniquePointer.h +1 −1 Original line number Diff line number Diff line Loading @@ -116,7 +116,7 @@ class UniquePointer< Object, Devices::Cuda > : public SmartPointer public: typedef Object ObjectType; typedef Devices::Host DeviceType; typedef Devices::Cuda DeviceType; typedef UniquePointer< Object, Devices::Host > ThisType; template< typename... Args > Loading