VisionCpp  0.0.1
Classes | Namespaces | Functions
mem_virtual.hpp File Reference

This file contains the VirtualMemory struct. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  visioncpp::internal::VirtualMemory< PlcType, Node, LC, LR, LCT, LRT >
 the definition is in VirtualMemory More...
 

Namespaces

 visioncpp
 VisionCpp namespace.
 
 visioncpp::internal
 Internal implementations.
 

Functions

template<size_t plcType, size_t LWV, size_t LHV, size_t LCTV, size_t LRTV, typename Type >
auto visioncpp::schedule (Type dt) -> decltype(internal::LeafNode< internal::VirtualMemory< plcType, Type, LWV, LHV, LCTV, LRTV >, Type::Level >(dt))
 brief function schedule is a template deduction function for VirtualMemory when the local memory and workgroup size is defined by a user. More...
 
template<size_t plcType, typename Type >
auto visioncpp::schedule (Type dt) -> decltype(internal::LeafNode< internal::VirtualMemory< plcType, Type >, Type::Level >(dt))
 brief function schedule is a template deduction function for VirtualMemory when the local memory and workgroup size is default More...
 

Detailed Description

This file contains the VirtualMemory struct.

VirtualMemory struct is nothing but a future LeafNode representing the result of the subexpression passed to it to be executed. It is used by user to schedule any arbitrary subexpression to be executed in a separate kernel. This will allow a user to manually break the expression tree at compile time.

Definition in file mem_virtual.hpp.