StatMech
Loading...
Searching...
No Matches
ObjectOnGPU< ManyBodySpinSpace > Class Reference
Inheritance diagram for ObjectOnGPU< ManyBodySpinSpace >:
Inheritance graph
Collaboration diagram for ObjectOnGPU< ManyBodySpinSpace >:
Collaboration graph

Public Types

using Object_t = ManyBodySpinSpace
 
using Base = ObjectOnGPU< ManyBodySpaceBase< ManyBodySpinSpace > >
 

Public Member Functions

__host__ ObjectOnGPU ()
 Default constructor.
 
__host__ ObjectOnGPU (Object_t const &hSpace)
 Construct a ObjectOnGPU< ManyBodySpinSpace > object from a ManyBodySpinSpace object on host side.
 
- Public Member Functions inherited from ObjectOnGPU< ManyBodySpaceBase< ManyBodySpinSpace > >
ObjectOnGPUoperator= (ObjectOnGPU const &other)=delete
 
ObjectOnGPUoperator= (ObjectOnGPU &&other)=delete
 
- Public Member Functions inherited from ObjectOnGPU_Base< T >
template<class... Args>
 ObjectOnGPU_Base (Args... args)
 Default constructor for ObjectOnGPU_Base object.
 
 ObjectOnGPU_Base (ObjectOnGPU_Base const &other)=delete
 Default constructor.
 
 ObjectOnGPU_Base (ObjectOnGPU_Base &&other)
 Move constructor for ObjectOnGPU_Base object.
 
 ~ObjectOnGPU_Base ()
 Destructor.
 
ObjectOnGPU_Baseoperator= (ObjectOnGPU_Base const &other)=delete
 Copy assignment operator (yet to be implmented)
 
ObjectOnGPU_Baseoperator= (ObjectOnGPU_Base &&other)
 Move assignment operator.
 
 operator Object_t * () const
 
Object_tptr () const
 
Object_t const * const_ptr () const
 

Additional Inherited Members

- Static Public Attributes inherited from ObjectOnGPU_Base< T >
static constexpr bool on_GPU = true
 
- Protected Types inherited from ObjectOnGPU_Base< T >
using Object_t = T
 
- Protected Attributes inherited from ObjectOnGPU_Base< T >
T * m_ptr = nullptr
 
T ** m_ptrptr = nullptr
 

Member Typedef Documentation

◆ Base

◆ Object_t

Constructor & Destructor Documentation

◆ ObjectOnGPU() [1/2]

Default constructor.

17{ debug_constructor_printf((Default)); }

◆ ObjectOnGPU() [2/2]

__host__ ObjectOnGPU< ManyBodySpinSpace >::ObjectOnGPU ( Object_t const &  hSpace)
inline

Construct a ObjectOnGPU< ManyBodySpinSpace > object from a ManyBodySpinSpace object on host side.

Parameters
hObjectobject on host side
25 : Base(hSpace, hSpace.sysSize(), hSpace.dimLoc()) {
26 debug_constructor_printf(1);
27 }
ObjectOnGPU< ManyBodySpaceBase< ManyBodySpinSpace > > Base
Definition ManyBodySpinSpace.cuh:11

The documentation for this class was generated from the following file: