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

Temporarily skip hipGraph version of LargeIndices test #525

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 3 additions & 18 deletions test/rocprim/test_device_adjacent_difference.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -460,25 +460,10 @@ TYPED_TEST_SUITE(RocprimDeviceAdjacentDifferenceLargeTests,

TYPED_TEST(RocprimDeviceAdjacentDifferenceLargeTests, LargeIndices)
{
const int device_id = test_common_utils::obtain_device_from_ctest();

#ifdef _WIN32
if (TestFixture::use_graphs)
{
// Skip this test on Navi2x/3x on Windows, since check_output_iterator does not appear to work there.
hipDeviceProp_t props;
HIP_CHECK(hipGetDeviceProperties(&props, device_id));
std::string deviceName = std::string(props.gcnArchName);
if(deviceName.rfind("gfx1030", 0) == 0 ||
deviceName.rfind("gfx1100", 0) == 0 ||
deviceName.rfind("gfx1101", 0) == 0 ||
deviceName.rfind("gfx1102", 0) == 0)
{
// This is a Navi2x/3x device, so skip this test
GTEST_SKIP() << "Temporarily skipping test on Windows for on gfx1030, gfx1100, gfx1101, gfx1102";
}
}
#endif
GTEST_SKIP() << "Temporarily skipping test within hipGraphs. Will re-enable when issues with atomics inside graphs are resolved.";

const int device_id = test_common_utils::obtain_device_from_ctest();

SCOPED_TRACE(testing::Message() << "with device_id = " << device_id);
HIP_CHECK(hipSetDevice(device_id));
Expand Down