cuda::experimental::stf::scalar_view

Defined in include/cuda/experimental/__stf/internal/scalar_interface.cuh

template<typename T>
struct scalar_view

View of an object of type T

This is used to store a single value in a logical data.

Public Functions

scalar_view() = default
inline scalar_view(T *_addr)
inline T &operator*() const

Public Members

T *addr