Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::arena_matrix_cl< T > Class Template Reference

Detailed Description

template<typename T>
class stan::math::arena_matrix_cl< T >

A variant of matrix_cl that schedules its destructor to be called, so it can be used on the AD stack.

Definition at line 39 of file arena_matrix_cl.hpp.

#include <arena_matrix_cl.hpp>

+ Inheritance diagram for stan::math::arena_matrix_cl< T >:

Public Types

using Scalar = typename matrix_cl< T >::Scalar
 
using type = typename matrix_cl< T >::type
 

Public Member Functions

template<typename... Args>
 arena_matrix_cl (Args &&... args)
 General constructor forwards arguments to various matrix_cl constructors.
 
 arena_matrix_cl (const arena_matrix_cl< T > &)=default
 
 arena_matrix_cl (arena_matrix_cl< T > &)=default
 
 arena_matrix_cl (arena_matrix_cl< T > &&)=default
 
arena_matrix_cl< T > & operator= (const arena_matrix_cl< T > &)=default
 
arena_matrix_cl< T > & operator= (arena_matrix_cl< T > &&)=default
 
template<typename Expr , require_all_kernel_expressions_and_none_scalar_t< Expr > * = nullptr>
 arena_matrix_cl (Expr &&expression)
 Constructor from a kernel generator expression.
 
 operator const matrix_cl & () const
 Implicit conversion operator to matrix_cl.
 
 operator matrix_cl & ()
 
matrix_cl< T > eval () const &
 Evaluates this.
 
matrix_cl< T > eval () &&
 
template<matrix_cl_view matrix_view = matrix_cl_view::Entire>
void zeros_strict_tri ()
 
template<typename... Args>
decltype(auto) rows (Args &&... args) const
 
template<typename... Args>
decltype(auto) cols (Args &&... args) const
 
template<typename... Args>
decltype(auto) size (Args &&... args) const
 
template<typename... Args>
decltype(auto) view (Args &&... args) const
 
template<typename... Args>
decltype(auto) clear_write_events (Args &&... args) const
 
template<typename... Args>
decltype(auto) clear_read_events (Args &&... args) const
 
template<typename... Args>
decltype(auto) clear_read_write_events (Args &&... args) const
 
template<typename... Args>
decltype(auto) write_events (Args &&... args) const
 
template<typename... Args>
decltype(auto) read_events (Args &&... args) const
 
template<typename... Args>
decltype(auto) read_write_events (Args &&... args) const
 
template<typename... Args>
decltype(auto) add_read_event (Args &&... args) const
 
template<typename... Args>
decltype(auto) add_write_event (Args &&... args) const
 
template<typename... Args>
decltype(auto) add_read_write_event (Args &&... args) const
 
template<typename... Args>
decltype(auto) wait_for_write_events (Args &&... args) const
 
template<typename... Args>
decltype(auto) wait_for_read_events (Args &&... args) const
 
template<typename... Args>
decltype(auto) wait_for_read_write_events (Args &&... args) const
 
template<typename... Args>
decltype(auto) buffer (Args &&... args) const
 
template<typename... Args>
decltype(auto) buffer (Args &&... args)
 
template<typename... Args>
decltype(auto) operator= (Args &&... args)
 

Private Attributes

internal::arena_matrix_cl_impl< T > * impl_
 

Friends

template<typename >
class matrix_cl
 

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