Class internal_blazing_device_memory_resource¶
Defined in File BlazingMemoryResource.h
Inheritance Relationships¶
Base Type¶
public device_memory_resource
Class Documentation¶
-
class
internal_blazing_device_memory_resource
: public device_memory_resource¶ This class represents the internal implementation of a custom device memory resource.
Public Functions
-
internal_blazing_device_memory_resource
(std::string allocation_mode, std::size_t initial_pool_size, std::size_t maximum_pool_size, std::string allocator_logging_file = "", float custom_threshold = 0.95)¶
-
virtual
~internal_blazing_device_memory_resource
() = default¶
-
size_t
get_memory_used
()¶
-
size_t
get_max_memory_used
()¶
-
size_t
get_from_driver_used_memory
()¶
-
size_t
get_total_memory
()¶
-
size_t
get_memory_limit
()¶
-
std::string
get_type
()¶
-
bool
supports_streams
() const noexcept override¶
-
bool
supports_get_mem_info
() const noexcept override¶
-
std::string
get_full_memory_summary
()¶
-
void
reset_max_memory_used
(size_t to = 0) noexcept¶
-