Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
uni20::cublas::HandleSlot Class Reference

One expensive reusable cuBLAS handle and its handle-local state. More...

#include <execution.hpp>

Public Member Functions

void bind (cuda::Stream const &stream)
 Establish deterministic host-pointer mode and bind one operation stream.
 
int device () const noexcept
 Return the device on which this handle was created.
 
 HandleSlot (HandleSlot &&other) noexcept
 
 HandleSlot (HandleSlot const &)=delete
 
 HandleSlot (int device)
 
cublasHandle_t native_handle () const noexcept
 Return the raw handle for narrow provider-wrapper use.
 
HandleSlot & operator= (HandleSlot &&other) noexcept
 
HandleSlot & operator= (HandleSlot const &)=delete
 
 ~HandleSlot ()
 

Detailed Description

One expensive reusable cuBLAS handle and its handle-local state.

Constructor & Destructor Documentation

◆ HandleSlot() [1/3]

uni20::cublas::HandleSlot::HandleSlot ( int  device)
explicit

◆ HandleSlot() [2/3]

uni20::cublas::HandleSlot::HandleSlot ( HandleSlot const &  )
delete

◆ HandleSlot() [3/3]

uni20::cublas::HandleSlot::HandleSlot ( HandleSlot &&  other)
noexcept

◆ ~HandleSlot()

uni20::cublas::HandleSlot::~HandleSlot ( )

Member Function Documentation

◆ bind()

void uni20::cublas::HandleSlot::bind ( cuda::Stream const &  stream)

Establish deterministic host-pointer mode and bind one operation stream.

◆ device()

int uni20::cublas::HandleSlot::device ( ) const
inlinenoexcept

Return the device on which this handle was created.

◆ native_handle()

cublasHandle_t uni20::cublas::HandleSlot::native_handle ( ) const
inlinenoexcept

Return the raw handle for narrow provider-wrapper use.

◆ operator=() [1/2]

HandleSlot & uni20::cublas::HandleSlot::operator= ( HandleSlot &&  other)
noexcept

◆ operator=() [2/2]

HandleSlot & uni20::cublas::HandleSlot::operator= ( HandleSlot const &  )
delete

The documentation for this class was generated from the following files: