Skip to content
Draft
Show file tree
Hide file tree
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
2 changes: 0 additions & 2 deletions projects/hip-tests/catch/unit/device/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ set(TEST_SRC
hipChooseDevice.cc
hipDeviceComputeCapability.cc
hipDeviceGetByPCIBusId.cc
hipDeviceGetLimit_old.cc
hipDeviceGetName.cc
hipDeviceGetPCIBusId.cc
hipDeviceSetGetCacheConfig.cc
Expand All @@ -21,7 +20,6 @@ set(TEST_SRC
hipDeviceCanAccessPeer.cc
hipDeviceEnableDisablePeerAccess.cc
hipExtGetLinkTypeAndHopCount.cc
hipDeviceSetLimit_old.cc
hipDeviceSetGetLimit.cc
hipDeviceSetGetSharedMemConfig.cc
hipDeviceReset.cc
Expand Down
78 changes: 0 additions & 78 deletions projects/hip-tests/catch/unit/device/hipDeviceGetLimit_old.cc

This file was deleted.

107 changes: 0 additions & 107 deletions projects/hip-tests/catch/unit/device/hipDeviceSetLimit_old.cc

This file was deleted.

41 changes: 0 additions & 41 deletions projects/hip-tests/catch/unit/device/hipGetDeviceAttribute.cc
Original file line number Diff line number Diff line change
Expand Up @@ -407,47 +407,6 @@ void printAttributes(const AttributeToStringMap<n>& attributes, const int device
std::flush(std::cout);
}

/**
* Test Description
* ------------------------
* - Print out all device attributes in agreed upon format.
* Test source
* ------------------------
* - unit/device/hipGetDeviceAttribute.cc
* Test requirements
* ------------------------
* - HIP_VERSION >= 5.2
*/
TEST_CASE("Print_Out_Attributes") {
const auto device = GENERATE(range(0, HipTest::getDeviceCount()));
hipDeviceProp_t properties;
HIP_CHECK(hipGetDeviceProperties(&properties, device));

std::cout << std::left;
std::cout << std::setw(kW) << "device#: " << device << "\n";
std::cout << std::setw(kW) << "name: " << properties.name << "\n";

printAttributes(kCommonAttributes, device);

#if HT_NVIDIA
std::cout << "\nCUDA only\n";
std::cout << std::setw(kW)
<< "--------------------------------------------------------------------------------"
<< "\n";
printAttributes(kCudaOnlyAttributes, device);
#endif

#if HT_AMD
std::cout << "\nAMD only\n";
std::cout << std::setw(kW)
<< "--------------------------------------------------------------------------------"
<< "\n";
printAttributes(kAmdOnlyAttributes, device);
#endif

std::flush(std::cout);
}

/**
* Test Description
* ------------------------
Expand Down
15 changes: 0 additions & 15 deletions projects/hip-tests/catch/unit/device/hipGetDeviceCount.cc
Original file line number Diff line number Diff line change
Expand Up @@ -81,21 +81,6 @@ TEST_CASE("Unit_hipGetDeviceCount_HideDevices") {
}
}

/**
* Test Description
* ------------------------
* - Prints device count to the standard output.
* Test source
* ------------------------
* - unit/device/hipGetDeviceCount.cc
* Test requirements
* ------------------------
* - HIP_VERSION >= 5.2
*/
TEST_CASE("Print_Out_Device_Count") {
std::cout << "Device Count: " << HipTest::getDeviceCount() << std::endl;
}

/**
* End doxygen group DeviceTest.
* @}
Expand Down
Loading
Loading