Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
runtime.cpp File Reference
#include <uni20/backend/cuda/runtime.hpp>
#include <uni20/backend/cuda/cuda_error.hpp>
#include <uni20/common/trace.hpp>
#include <algorithm>
#include <atomic>
#include <condition_variable>
#include <cstddef>
#include <iterator>
#include <memory>
#include <mutex>
#include <new>
#include <ranges>
#include <utility>
#include <vector>
Include dependency graph for runtime.cpp:

Classes

class  uni20::cuda::Completion::State
 
class  uni20::cuda::Stream::State
 
class  uni20::cuda::StreamPool::Impl
 
struct  uni20::cuda::StreamPool::Impl::ReturnPayload
 
struct  uni20::cuda::StreamPool::Impl::Slot
 

Namespaces

namespace  uni20
 
namespace  uni20::cuda
 

Functions

DeviceResources & uni20::cuda::device_resources ()
 Return canonical resources for the installed runtime's default device.
 
DeviceResources & uni20::cuda::device_resources (int device)
 Return canonical resources for an enrolled CUDA device.
 
Runtime uni20::cuda::initialize (RuntimeConfig config={})
 Install and return a scoped process-wide CUDA runtime owner.
 
bool uni20::cuda::is_initialized () noexcept
 Return whether a process-wide CUDA runtime is currently installed.
 
Runtime & uni20::cuda::runtime ()
 Return the installed runtime or fail when CUDA was not initialized.