|
Uni20
Asynchronous tensor and runtime library.
|
Assignable CUDA execution proxy over one persistent complex value. More...
#include <cuda_accessor.hpp>
Public Types | |
| using | execution_type = ::cuda::std::complex< Real > |
| using | logical_type = uni20::complex< Real > |
Public Member Functions | |
| UNI20_HOST_DEVICE constexpr | CudaComplexReference (CudaComplexReference const &) noexcept=default |
| UNI20_HOST_DEVICE constexpr | CudaComplexReference (logical_type *storage, std::size_t offset) noexcept |
| UNI20_HOST_DEVICE constexpr | operator execution_type () const noexcept |
| Load the persistent components into a CUDA execution value. | |
| UNI20_HOST_DEVICE constexpr CudaComplexReference & | operator= (CudaComplexReference const &value) noexcept |
| Copy the observed value rather than rebinding the proxy. | |
| UNI20_HOST_DEVICE constexpr CudaComplexReference & | operator= (execution_type const &value) noexcept |
| Store a CUDA execution value componentwise. | |
| UNI20_HOST_DEVICE constexpr CudaComplexReference & | operator= (logical_type const &value) noexcept |
| Store a host logical value componentwise. | |
Assignable CUDA execution proxy over one persistent complex value.
Persistent storage remains uni20::complex<Real>. Device reads and writes use cuda::std::complex<Real> without treating the two complex class types as alias-compatible objects.
| using uni20::cuda::CudaComplexReference< Real >::execution_type = ::cuda::std::complex<Real> |
| using uni20::cuda::CudaComplexReference< Real >::logical_type = uni20::complex<Real> |
|
inlineconstexprnoexcept |
|
constexprdefaultnoexcept |
|
inlineconstexprnoexcept |
Load the persistent components into a CUDA execution value.
|
inlineconstexprnoexcept |
Copy the observed value rather than rebinding the proxy.
|
inlineconstexprnoexcept |
Store a CUDA execution value componentwise.
|
inlineconstexprnoexcept |
Store a host logical value componentwise.