|
| logging_resource_adaptor (Upstream *upstream, std::string const &filename=get_default_filename(), bool auto_flush=false) |
| 构建一个新的日志记录资源适配器,它使用 upstream 来满足分配请求,并将每次分配/解除分配的信息记录到 filename 指定的文件。 更多...
|
|
| logging_resource_adaptor (Upstream *upstream, std::ostream &stream, bool auto_flush=false) |
| 构建一个新的日志记录资源适配器,它使用 upstream 来满足分配请求,并将每次分配/解除分配的信息记录到 stream 指定的输出流。 更多...
|
|
| logging_resource_adaptor (Upstream *upstream, std::initializer_list< rapids_logger::sink_ptr > sinks, bool auto_flush=false) |
| 构建一个新的日志记录资源适配器,它使用 upstream 来满足分配请求,并将每次分配/解除分配的信息记录到 stream 指定的输出流。 更多...
|
|
| logging_resource_adaptor (device_async_resource_ref upstream, std::string const &filename=get_default_filename(), bool auto_flush=false) |
| 构建一个新的日志记录资源适配器,它使用 upstream 来满足分配请求,并将每次分配/解除分配的信息记录到 filename 指定的文件。 更多...
|
|
| logging_resource_adaptor (device_async_resource_ref upstream, std::ostream &stream, bool auto_flush=false) |
| 构建一个新的日志记录资源适配器,它使用 upstream 来满足分配请求,并将每次分配/解除分配的信息记录到 stream 指定的输出流。 更多...
|
|
| logging_resource_adaptor (device_async_resource_ref upstream, std::initializer_list< rapids_logger::sink_ptr > sinks, bool auto_flush=false) |
| 构建一个新的日志记录资源适配器,它使用 upstream 来满足分配请求,并将每次分配/解除分配的信息记录到 stream 指定的输出流。 更多...
|
|
| logging_resource_adaptor (logging_resource_adaptor const &)=delete |
|
logging_resource_adaptor & | operator= (logging_resource_adaptor const &)=delete |
|
| logging_resource_adaptor (logging_resource_adaptor &&) noexcept=default |
| 默认移动构造函数。
|
|
logging_resource_adaptor & | operator= (logging_resource_adaptor &&) noexcept=default |
| 默认移动赋值运算符。 更多...
|
|
rmm::device_async_resource_ref | get_upstream_resource () const noexcept |
| 到上游资源的 rmm::device_async_resource_ref。 更多...
|
|
void | flush () |
| 刷新日志记录器内容。
|
|
std::string | header () const |
| 返回 CSV 头字符串。 更多...
|
|
| device_memory_resource (device_memory_resource const &)=default |
| 默认拷贝构造函数。
|
|
| device_memory_resource (device_memory_resource &&) noexcept=default |
| 默认移动构造函数。
|
|
device_memory_resource & | operator= (device_memory_resource const &)=default |
| 默认拷贝赋值运算符。 更多...
|
|
device_memory_resource & | operator= (device_memory_resource &&) noexcept=default |
| 默认移动赋值运算符。 更多...
|
|
void * | allocate (std::size_t bytes, cuda_stream_view stream=cuda_stream_view{}) |
| 分配大小至少为 bytes 的内存。 更多...
|
|
void | deallocate (void *p, std::size_t bytes, cuda_stream_view stream=cuda_stream_view{}) |
| 解除分配 p 指向的内存。 更多...
|
|
bool | is_equal (device_memory_resource const &other) const noexcept |
| 将此资源与另一个资源比较。 更多...
|
|
void * | allocate (std::size_t bytes, std::size_t alignment) |
| 分配大小至少为 bytes 的内存。 更多...
|
|
void | deallocate (void *p, std::size_t bytes, std::size_t alignment) |
| 解除分配 p 指向的内存。 更多...
|
|
void * | allocate_async (std::size_t bytes, std::size_t alignment, cuda_stream_view stream) |
| 分配大小至少为 bytes 的内存。 更多...
|
|
void * | allocate_async (std::size_t bytes, cuda_stream_view stream) |
| 分配大小至少为 bytes 的内存。 更多...
|
|
void | deallocate_async (void *p, std::size_t bytes, std::size_t alignment, cuda_stream_view stream) |
| 解除分配 p 指向的内存。 更多...
|
|
void | deallocate_async (void *p, std::size_t bytes, cuda_stream_view stream) |
| 解除分配 p 指向的内存。 更多...
|
|
bool | operator== (device_memory_resource const &other) const noexcept |
| 与另一个 device_memory_resource 的比较运算符。 更多...
|
|
bool | operator!= (device_memory_resource const &other) const noexcept |
| 与另一个 device_memory_resource 的比较运算符。 更多...
|
|