We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de6d31f commit 6f00906Copy full SHA for 6f00906
test/gtest/uct/cuda/test_switch_cuda_device.cc
@@ -581,6 +581,10 @@ class test_p2p_send_on_diff_device : public uct_p2p_test {
581
protected:
582
void init() override
583
{
584
+ if (!mem_buffer::is_mem_type_supported(UCS_MEMORY_TYPE_CUDA)) {
585
+ UCS_TEST_SKIP_R("CUDA is not supported");
586
+ }
587
+
588
ASSERT_EQ(cudaGetDeviceCount(&m_num_devices), cudaSuccess);
589
if (m_num_devices < 2) {
590
UCS_TEST_SKIP_R("less than two cuda devices available");
0 commit comments