unified-memory-framework icon indicating copy to clipboard operation
unified-memory-framework copied to clipboard

Add an example of the DevDax memory provider with the jemalloc pool and the `disable_provider_free` parameter set to true

Open ldorau opened this issue 5 months ago • 0 comments

Add an example of the DevDax memory provider with the jemalloc pool and the disable_provider_free parameter set to true.

Rationale

The DevDax memory provider does not support the free operation (umfMemoryProviderFree() always returns UMF_RESULT_ERROR_NOT_SUPPORTED), so it should be used with a pool manager that will take over the managing of the provided memory - for example the jemalloc pool with the disable_provider_free parameter set to true.

Ref: https://github.com/oneapi-src/unified-memory-framework/pull/671#discussion_r1743193938

Description

Add an example of the DevDax memory provider with the jemalloc pool and the disable_provider_free parameter set to true.

ldorau avatar Sep 04 '24 08:09 ldorau