Skip to content

Commit

Permalink
Merge pull request #467 from ValeevGroup/powellsr/fix/hip-device-prop…
Browse files Browse the repository at this point in the history
…erty-compatibility

singleToDoublePrecPerfRatio hip device property does not exist before…
  • Loading branch information
evaleev authored Aug 27, 2024
2 parents d174eda + 5caa0d1 commit 38c4fbe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/device/ta_dense_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,7 @@ int try_main(int argc, char **argv) {
std::cout << "error(GetDeviceProperties) = " << error << std::endl;
}
std::cout << "Device #" << device_id << ": " << prop.name << std::endl
<< " managedMemory = " << prop.managedMemory << std::endl
<< " singleToDoublePrecisionPerfRatio = "
<< prop.singleToDoublePrecisionPerfRatio << std::endl;
<< " managedMemory = " << prop.managedMemory << std::endl;
int result;
error = TiledArray::device::deviceGetAttribute(
&result, TiledArray::device::DevAttrUnifiedAddressing, device_id);
Expand Down

0 comments on commit 38c4fbe

Please sign in to comment.