From a8d7e59dff3f007b4e48e74cb4fc444dcdb94c45 Mon Sep 17 00:00:00 2001 From: Tony Tye Date: Sun, 10 Jan 2021 00:09:52 +0000 Subject: [PATCH] [NFC] Move device::Info::targetId_ declaration Move declaration of device::Info::targetId_ to be adjacent to the other char* name fields. Change-Id: Iefb249e801765a87b243a2a5e6997e78e817be2b --- rocclr/device/device.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rocclr/device/device.hpp b/rocclr/device/device.hpp index 79493ac852..7413032b61 100644 --- a/rocclr/device/device.hpp +++ b/rocclr/device/device.hpp @@ -408,6 +408,9 @@ struct Info : public amd::EmbeddedObject { //! Device name string char name_[0x40]; + //! Target ID string + char targetId_[0x40]; + //! Vendor name string char vendor_[0x20]; @@ -560,9 +563,6 @@ struct Info : public amd::EmbeddedObject { //! large bar support. bool largeBar_; - //! Target ID string - char targetId_[0x40]; - uint32_t hmmSupported_; //!< ROCr supports HMM interfaces uint32_t hmmCpuMemoryAccessible_; //!< CPU memory is accessible by GPU without pinning/register uint32_t hmmDirectHostAccess_; //!< HMM memory is accessible from the host without migration