DPC++ Runtime
Runtime libraries for oneAPI DPC++
graph_builder.cpp File Reference
#include "detail/config.hpp"
#include <detail/context_impl.hpp>
#include <detail/event_impl.hpp>
#include <sycl/feature_test.hpp>
#include <detail/jit_compiler.hpp>
#include <detail/memory_manager.hpp>
#include <detail/queue_impl.hpp>
#include <detail/scheduler/scheduler.hpp>
#include <detail/sycl_mem_obj_t.hpp>
#include <sycl/access/access.hpp>
#include <sycl/exception.hpp>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <map>
#include <memory>
#include <queue>
#include <set>
#include <vector>
Include dependency graph for graph_builder.cpp:

Go to the source code of this file.

Namespaces

 sycl
 ---— Error handling, matching OpenCL plugin semantics.
 
 sycl::_V1
 
 sycl::_V1::detail
 

Functions

static bool sycl::_V1::detail::doOverlap (const Requirement *LHS, const Requirement *RHS)
 Checks whether two requirements overlap or not. More...
 
static bool sycl::_V1::detail::sameCtx (const ContextImplPtr &LHS, const ContextImplPtr &RHS)
 
static bool sycl::_V1::detail::IsSuitableSubReq (const Requirement *Req)
 Checks if current requirement is requirement for sub buffer. More...
 
static bool sycl::_V1::detail::isAccessModeAllowed (access::mode Required, access::mode Current)
 Checks if the required access mode is allowed under the current one. More...
 
static access::mode sycl::_V1::detail::combineAccessModes (access::mode A, access::mode B)
 Combines two access modes into a single one that allows both. More...
 
static bool sycl::_V1::detail::markNodeAsVisited (Command *Cmd, std::vector< Command * > &Visited)
 
static void sycl::_V1::detail::unmarkVisitedNodes (std::vector< Command * > &Visited)
 
static void sycl::_V1::detail::handleVisitedNodes (std::vector< Command * > &Visited)
 
static void sycl::_V1::detail::printDotRecursive (std::fstream &Stream, std::vector< Command * > &Visited, Command *Cmd)
 
static Command * sycl::_V1::detail::insertMapUnmapForLinkedCmds (AllocaCommandBase *AllocaCmdSrc, AllocaCommandBase *AllocaCmdDst, access::mode MapMode)
 
static bool sycl::_V1::detail::checkHostUnifiedMemory (const ContextImplPtr &Ctx)
 
static bool sycl::_V1::detail::isInteropHostTask (ExecCGCommand *Cmd)
 
static void sycl::_V1::detail::combineAccessModesOfReqs (std::vector< Requirement * > &Reqs)