SyTen
stensor_registry.cpp File Reference

Implementation for inc/stensor/stensor_registry.h More...

#include <unordered_set>
#include "inc/stensor/stensor_registry.h"
#include "inc/stensor/stensor_base.h"
#include "inc/util/memory_size.h"
#include "inc/util/log.h"
+ Include dependency graph for stensor_registry.cpp:

Namespaces

namespace  syten
 Syten namespace.
 
namespace  syten::STensorImpl
 Contains all ‘smart’ tensor related classes and functions.
 

Functions

void syten::STensorImpl::registry_delete_stensor_impl (STensor const *obj)
 Implementation to delete an STensor from the registry. More...
 
void syten::STensorImpl::registry_enter_stensor_impl (STensor const *obj)
 Implementation to add an STensor to the registry. More...
 
void syten::STensorImpl::registry_printout ()
 Prints information about all current STensor objects. More...
 

Variables

std::unordered_map< STensor const *, std::chrono::time_point< std::chrono::high_resolution_clock > > syten::STensorImpl::registry
 Registry of all currently-existing STensor objects. More...
 

Detailed Description

Implementation for inc/stensor/stensor_registry.h