Stan Math Library  2.20.0
reverse mode automatic differentiation
Public Types | List of all members
stan::math::opencl_kernels::internal::to_buffer< T > Struct Template Reference

meta template struct for changing read/write buffer argument types to cl::Buffer types. More...

#include <buffer_types.hpp>

Public Types

using type = T
 

Detailed Description

template<typename T = cl::Buffer>
struct stan::math::opencl_kernels::internal::to_buffer< T >

meta template struct for changing read/write buffer argument types to cl::Buffer types.

Template Parameters
TA template typename that for cases of non-read/write buffers will return a typedef holding only it's original type. For read and write buffers this will return a cl::Buffer type.

Definition at line 33 of file buffer_types.hpp.

Member Typedef Documentation

◆ type

template<typename T = cl::Buffer>
using stan::math::opencl_kernels::internal::to_buffer< T >::type = T

Definition at line 34 of file buffer_types.hpp.


The documentation for this struct was generated from the following file:

     [ Stan Home Page ] © 2011–2018, Stan Development Team.