◆ ObjectOnGPU() [1/4]
template<typename RealType >
template<typename RealType2 >
15 debug_constructor_printf(2);
16 };
Definition ObjectOnGPU.cuh:149
__host__ __device__ TotalSpace const & totalSpace() const
Definition HilbertSpace.hpp:671
__host__ __device__ int momentum() const
Definition TransSector.hpp:44
◆ ObjectOnGPU() [2/4]
template<typename RealType >
Default constructor.
24 debug_constructor_printf(1);
25 }
Definition ObjectOnGPU.cuh:40
◆ ObjectOnGPU() [3/4]
template<typename RealType >
Copy constructor.
- Parameters
-
◆ ObjectOnGPU() [4/4]
template<typename RealType >
Move constructor.
- Parameters
-
◆ ~ObjectOnGPU()
template<typename RealType >
◆ dim()
template<typename RealType >
75 {
76 thrust::device_vector<int> dRes(1);
77 TransSector_dim_kernel<<<1, 1>>>(dRes.data(), this->
ptr());
78 cuCHECK(cudaDeviceSynchronize());
79 return dRes[0];
80}
Object_t * ptr() const
Definition ObjectOnGPU.cuh:144
cuCHECK(cudaFuncGetAttributes(&attr, MatrixElementsInSector))
◆ operator=() [1/2]
template<typename RealType >
Move assignment operator.
- Parameters
-
- Returns
- *this
59 {
60 debug_printf("%s:\n\tMove assignment operator\n\n", __PRETTY_FUNCTION__);
62 return *this;
63 }
◆ operator=() [2/2]
template<typename RealType >
Copy assignment operator.
- Parameters
-
- Returns
- *this
The documentation for this class was generated from the following file: