◆ Object_t
template<class TotalSpace_ , typename ScalarType_ >
◆ ObjectOnGPU() [1/3]
template<class TotalSpace_ , typename ScalarType_ >
Construct an ObjectOnGPU< SubSpace<TotalSpace_, ScalarType_> > object from a TotalSpace_ object.
- Parameters
-
hTotalSpace | object on host side |
47 {
48 debug_constructor_printf(1);
50 construtSubSpaceFromTotalSpaceByMove<<<1, 1>>>(this->
m_ptr, dTotalSpace.ptr());
51 cudaDeviceSynchronize();
52 }
SubSpace< TotalSpace_, ScalarType_ > * m_ptr
Definition ObjectOnGPU.cuh:42
Definition ObjectOnGPU.cuh:149
◆ ObjectOnGPU() [2/3]
template<class TotalSpace_ , typename ScalarType_ >
Construct an ObjectOnGPU< SubSpace<TotalSpace_, ScalarType_> > object from a SubSpace<TotalSpace_, ScalarType_> object on host.
- Parameters
-
hObject | object on host side |
59 debug_constructor_printf(2);
61 };
void copyBasis(ObjectOnGPU< SubSpace< TotalSpace_, ScalarType_ > > &obj, SubSpace< TotalSpace_, ScalarType_ > const &src)
Definition SubSpace.cuh:24
__host__ ObjectOnGPU()=default
Default constructor.
◆ ObjectOnGPU() [3/3]
template<class TotalSpace_ , typename ScalarType_ >
◆ ~ObjectOnGPU()
template<class TotalSpace_ , typename ScalarType_ >
◆ operator=() [1/2]
template<class TotalSpace_ , typename ScalarType_ >
Move assignment operator.
- Parameters
-
- Returns
- ObjectOnGPU&
88 {
89 debug_printf("%s:\n\tMove assignment operator\n", __PRETTY_FUNCTION__);
91 return *this;
92 }
ObjectOnGPU_Base & operator=(ObjectOnGPU_Base const &other)=delete
Copy assignment operator (yet to be implmented)
◆ operator=() [2/2]
template<class TotalSpace_ , typename ScalarType_ >
Copy assignment operator (yet to be implemented)
- Parameters
-
- Returns
- ObjectOnGPU&
The documentation for this class was generated from the following file:
- /Users/shoki/GitHub/Locality/Headers/HilbertSpace/SubSpace.cuh