diff options
author | Jim Flynn <jim.flynn@arm.com> | 2022-03-13 16:57:04 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2022-03-13 16:57:04 +0000 |
commit | 0a013a779b2697ac0a4c9d3e91cb2d627dfb342d (patch) | |
tree | 20cea444df28e9aad62f591f8218188fe788bd2a /src/profiling/test/SendCounterPacketTests.cpp | |
parent | 6c9f17dc5fe58e23db0ba591302168766b38ab2a (diff) | |
download | armnn-0a013a779b2697ac0a4c9d3e91cb2d627dfb342d.tar.gz |
IVGCVSW-6849 Change ARMNN_NO_CONVERSION_WARN_BEGIN/END to ARM_PIPE_NO_CONVERSION_WARN_BEGIN/END in the profiling code
Change-Id: Id5571f9847289692f968ad30ceab064e96693cac
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/test/SendCounterPacketTests.cpp')
-rw-r--r-- | src/profiling/test/SendCounterPacketTests.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/profiling/test/SendCounterPacketTests.cpp b/src/profiling/test/SendCounterPacketTests.cpp index e94687119d..4ae2c5562b 100644 --- a/src/profiling/test/SendCounterPacketTests.cpp +++ b/src/profiling/test/SendCounterPacketTests.cpp @@ -13,10 +13,10 @@ #include <SendCounterPacket.hpp> #include <Processes.hpp> -#include <armnn/Conversion.hpp> #include <armnn/Utils.hpp> #include <common/include/Assert.hpp> +#include <common/include/Conversion.hpp> #include <common/include/Constants.hpp> #include <common/include/EncodeVersion.hpp> #include <common/include/NumericCast.hpp> @@ -605,7 +605,7 @@ TEST_CASE("CreateEventRecordTest") CHECK(eventRecordWord2[1] == counterInterpolation); // interpolation CHECK(std::memcmp(eventRecordWord34, &counterMultiplier, sizeof(counterMultiplier)) == 0); // multiplier - ARMNN_NO_CONVERSION_WARN_BEGIN + ARM_PIPE_NO_CONVERSION_WARN_BEGIN uint32_t eventRecordBlockSize = 8u * sizeof(uint32_t); uint32_t counterNameOffset = eventRecordBlockSize; // The name is the first item in pool uint32_t counterDescriptionOffset = counterNameOffset + // Counter name offset @@ -620,7 +620,7 @@ TEST_CASE("CreateEventRecordTest") 1u + // Null-terminator 2u; // Rounding to the next word - ARMNN_NO_CONVERSION_WARN_END + ARM_PIPE_NO_CONVERSION_WARN_END CHECK(eventRecord[5] == counterNameOffset); // name_offset CHECK(eventRecord[6] == counterDescriptionOffset); // description_offset @@ -729,7 +729,7 @@ TEST_CASE("CreateEventRecordNoUnitsTest") CHECK(eventRecordWord2[1] == counterInterpolation); // interpolation CHECK(std::memcmp(eventRecordWord34, &counterMultiplier, sizeof(counterMultiplier)) == 0); // multiplier - ARMNN_NO_CONVERSION_WARN_BEGIN + ARM_PIPE_NO_CONVERSION_WARN_BEGIN uint32_t eventRecordBlockSize = 8u * sizeof(uint32_t); uint32_t counterNameOffset = eventRecordBlockSize; // The name is the first item in pool uint32_t counterDescriptionOffset = counterNameOffset + // Counter name offset @@ -737,7 +737,7 @@ TEST_CASE("CreateEventRecordNoUnitsTest") counterName.size() + // 18u 1u + // Null-terminator 1u; // Rounding to the next word - ARMNN_NO_CONVERSION_WARN_END + ARM_PIPE_NO_CONVERSION_WARN_END CHECK(eventRecord[5] == counterNameOffset); // name_offset CHECK(eventRecord[6] == counterDescriptionOffset); // description_offset @@ -964,12 +964,12 @@ TEST_CASE("CreateCategoryRecordTest") size_t uint32_t_size = sizeof(uint32_t); - ARMNN_NO_CONVERSION_WARN_BEGIN + ARM_PIPE_NO_CONVERSION_WARN_BEGIN uint32_t categoryRecordBlockSize = 3u * uint32_t_size; uint32_t eventPointerTableOffset = categoryRecordBlockSize; // The event pointer table is the first item in pool uint32_t categoryNameOffset = eventPointerTableOffset + // Event pointer table offset categoryEventCount * uint32_t_size; // The size of the event pointer table - ARMNN_NO_CONVERSION_WARN_END + ARM_PIPE_NO_CONVERSION_WARN_END CHECK(categoryRecord[1] == eventPointerTableOffset); // event_pointer_table_offset CHECK(categoryRecord[2] == categoryNameOffset); // name_offset |