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 bf6a643 commit c290317Copy full SHA for c290317
test/gtest/uct/cuda/test_switch_cuda_device.cc
@@ -596,6 +596,10 @@ class test_p2p_send_on_diff_device : public uct_p2p_test {
596
protected:
597
void init() override
598
{
599
+ if (!mem_buffer::is_mem_type_supported(UCS_MEMORY_TYPE_CUDA)) {
600
+ UCS_TEST_SKIP_R("CUDA is not supported");
601
+ }
602
+
603
ASSERT_EQ(cudaGetDeviceCount(&m_num_devices), cudaSuccess);
604
if (m_num_devices < 2) {
605
UCS_TEST_SKIP_R("less than two cuda devices available");
0 commit comments