BlackCat_Tensors
A GPU-supported autograd and linear algebra library, designed for neural network construction
Public Types | Public Member Functions | Public Attributes | List of all members
bc::streams::Logging_Stream< SystemTag > Struct Template Reference

#include <logging_stream.h>

Inheritance diagram for bc::streams::Logging_Stream< SystemTag >:
Inheritance graph
[legend]
Collaboration diagram for bc::streams::Logging_Stream< SystemTag >:
Collaboration graph
[legend]

Public Types

using system_tag = SystemTag
 
using allocator_type = bc::allocators::Logging_Allocator< bc::allocators::Null_Allocator< bc::allocators::Byte, system_tag > >
 

Public Member Functions

allocator_type get_allocator () const
 
template<class ValueType >
auto get_allocator_rebound () const
 
void set_blas_pointer_mode_device () const
 
void set_blas_pointer_mode_host () const
 
unsigned get_max_allocated () const
 
unsigned get_current_allocated () const
 
bool is_default ()
 
void create ()
 
void destroy ()
 
void sync ()
 
template<class T >
void set_stream (const T &)
 
void record_event ()
 
template<class T >
void wait_event (const T &)
 
template<class T >
void wait_stream (const T &)
 
template<class Functor >
void enqueue (const Functor &functor)
 
template<class Functor >
void enqueue_callback (const Functor &functor)
 
bool operator== (const Logging_Stream< SystemTag > &dev)
 
bool operator!= (const Logging_Stream< SystemTag > &dev)
 

Public Attributes

allocator_type allocator
 

Member Typedef Documentation

◆ allocator_type

◆ system_tag

template<class SystemTag>
using bc::streams::Logging_Stream< SystemTag >::system_tag = SystemTag

Member Function Documentation

◆ create()

template<class SystemTag>
void bc::streams::Logging_Stream< SystemTag >::create ( )
inline

◆ destroy()

template<class SystemTag>
void bc::streams::Logging_Stream< SystemTag >::destroy ( )
inline

◆ enqueue()

template<class SystemTag>
template<class Functor >
void bc::streams::Logging_Stream< SystemTag >::enqueue ( const Functor &  functor)
inline

◆ enqueue_callback()

template<class SystemTag>
template<class Functor >
void bc::streams::Logging_Stream< SystemTag >::enqueue_callback ( const Functor &  functor)
inline

◆ get_allocator()

template<class SystemTag>
allocator_type bc::streams::Logging_Stream< SystemTag >::get_allocator ( ) const
inline

◆ get_allocator_rebound()

template<class SystemTag>
template<class ValueType >
auto bc::streams::Logging_Stream< SystemTag >::get_allocator_rebound ( ) const
inline

◆ get_current_allocated()

template<class SystemTag>
unsigned bc::streams::Logging_Stream< SystemTag >::get_current_allocated ( ) const
inline

◆ get_max_allocated()

template<class SystemTag>
unsigned bc::streams::Logging_Stream< SystemTag >::get_max_allocated ( ) const
inline

◆ is_default()

template<class SystemTag>
bool bc::streams::Logging_Stream< SystemTag >::is_default ( )
inline

◆ operator!=()

template<class SystemTag>
bool bc::streams::Logging_Stream< SystemTag >::operator!= ( const Logging_Stream< SystemTag > &  dev)
inline

◆ operator==()

template<class SystemTag>
bool bc::streams::Logging_Stream< SystemTag >::operator== ( const Logging_Stream< SystemTag > &  dev)
inline

◆ record_event()

template<class SystemTag>
void bc::streams::Logging_Stream< SystemTag >::record_event ( )
inline

◆ set_blas_pointer_mode_device()

template<class SystemTag>
void bc::streams::Logging_Stream< SystemTag >::set_blas_pointer_mode_device ( ) const
inline

◆ set_blas_pointer_mode_host()

template<class SystemTag>
void bc::streams::Logging_Stream< SystemTag >::set_blas_pointer_mode_host ( ) const
inline

◆ set_stream()

template<class SystemTag>
template<class T >
void bc::streams::Logging_Stream< SystemTag >::set_stream ( const T &  )
inline

◆ sync()

template<class SystemTag>
void bc::streams::Logging_Stream< SystemTag >::sync ( )
inline

◆ wait_event()

template<class SystemTag>
template<class T >
void bc::streams::Logging_Stream< SystemTag >::wait_event ( const T &  )
inline

◆ wait_stream()

template<class SystemTag>
template<class T >
void bc::streams::Logging_Stream< SystemTag >::wait_stream ( const T &  )
inline

Member Data Documentation

◆ allocator

template<class SystemTag>
allocator_type bc::streams::Logging_Stream< SystemTag >::allocator

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