Skip to content

Add UMF_BUILD_OS_MEMORY_PROVIDER option to disable OS memory provider #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

ldorau
Copy link
Contributor

@ldorau ldorau commented Jan 9, 2024

No description provided.

@ldorau ldorau requested a review from a team as a code owner January 9, 2024 10:01
@ldorau ldorau force-pushed the Add_UMF_BUILD_OS_MEMORY_PROVIDER_option branch from 9c4c5c7 to 47fecb0 Compare January 9, 2024 10:19
LIBS jemalloc_pool)
endif()
else()
message(STATUS "The jemalloc_pool test is DISABLED, because UMF_BUILD_OS_MEMORY_PROVIDER is set to OFF")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jemalloc could use any memory provider to work - I would change this message to "The jemalloc_pool test is DISABLED, because it uses OS_MEMORY_PROVIDER, while UMF_BUILD_OS_MEMORY_PROVIDER flag is set to OFF" or similar

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

build_type: Release
compiler: {c: gcc, cxx: g++}
shared_library: 'ON'
os_provider: 'OFF'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the practical reason to test without the OS memory provider?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to test if the UMF_BUILD_OS_MEMORY_PROVIDER option works correctly.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vinser52 UR or oneCCL does not require an OS provider. oneCCL does not even have libnuma or hwloc installed on its CI systems.

@ldorau ldorau force-pushed the Add_UMF_BUILD_OS_MEMORY_PROVIDER_option branch from 47fecb0 to dc48e27 Compare January 9, 2024 12:48
@ldorau ldorau merged commit 2372e9f into oneapi-src:main Jan 9, 2024
@ldorau ldorau deleted the Add_UMF_BUILD_OS_MEMORY_PROVIDER_option branch January 9, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants