Files
rocm-systems/projects/rccl/test/CommTests.cpp
T
Ameya Keshava Mallya 42d84317cf Add 'projects/rccl/' from commit '1f2f9f33bac3e8ecfd84c69af6063d7352c362fc'
git-subtree-dir: projects/rccl
git-subtree-mainline: 3fd8a0d393
git-subtree-split: 1f2f9f33ba
2025-12-11 20:46:05 +00:00

27 lines
547 B
C++

/*************************************************************************
* Copyright (c) 2025 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#include "gtest/gtest.h"
#include "comm.h"
namespace RcclUnitTesting
{
TEST(CommTests, Sorter)
{
// Configuration
ncclTaskCollSorter* me_ptr = new ncclTaskCollSorter;
me_ptr->head = nullptr;
ASSERT_EQ(ncclTaskCollSorterEmpty(me_ptr), true);
delete me_ptr;
}
}