Skip to content
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

GTEST/COMMON: Added test for cuda async allocated buffers. #10173

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

rakhmets
Copy link
Collaborator

What

Extended UCP AM RNDV tests by adding buffers allocated by cudaMallocAsync.

test/gtest/common/mem_buffer.cc Show resolved Hide resolved
test/gtest/common/mem_buffer.cc Outdated Show resolved Hide resolved
test/gtest/common/mem_buffer.cc Outdated Show resolved Hide resolved
test/gtest/common/mem_buffer.cc Show resolved Hide resolved
test/gtest/common/mem_buffer.h Outdated Show resolved Hide resolved
@brminich
Copy link
Contributor

brminich commented Oct 8, 2024

some CI errors are relevant:

/__w/1/s/ucx_src_89282/contrib/../test/gtest/common/mem_buffer.cc: In static member function 'static void* mem_buffer::allocate(size_t, ucs_memory_type_t, bool)':
/__w/1/s/ucx_src_89282/contrib/../test/gtest/common/mem_buffer.cc:242:23: error: 'cudaMallocAsync' was not declared in this scope
             CUDA_CALL(cudaMallocAsync(&ptr, size, 0), ": size=" << size);
                       ^

@brminich brminich requested a review from yosefe October 10, 2024 15:01
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.

3 participants