)]}'
{
  "commit": "79bb6531358d5a780e8e86bce99fd39ae847c2f4",
  "tree": "c818b67a263194947ba2181aa3b42de7ff86fc6e",
  "parents": [
    "bfa767ca56f9776e7dd3eecb4025cfeed87f9936"
  ],
  "author": {
    "name": "Matthew Bentham",
    "email": "matthew.bentham@arm.com",
    "time": "Fri Feb 11 08:29:42 2022 +0000"
  },
  "committer": {
    "name": "Matthew Bentham",
    "email": "matthew.bentham@arm.com",
    "time": "Fri Feb 11 12:29:03 2022 +0000"
  },
  "message": "Fix unit test where NeonMemoryManager was used instead of RefMemoryManager\n\nAlthough the Neon and Ref backends can use each other\u0027s TensorHandles,\ntheir TensorHandleFactories can\u0027t use each other\u0027s MemoryManagers.\nIncorrectly passing the NeonMemoryManager to the RefTensorHandleFactory\nin unit test utility code resulted in an incorrect static_pointer_cast\nand a warning from the Undefined Behaviour Sanitizer.\n\nThis change fixes the test code, and replaces use of static_pointer_cast\nwith armnn::PolymorphicPointerDowncast which will check that the cast is\nlegal in debug builds.\n\nAlso, remove MockWorkloadFactoryHelper.hpp as it is unused.\n\nSigned-off-by: Matthew Bentham \u003cmatthew.bentham@arm.com\u003e\nChange-Id: I2b425e86fccacd7cc5ff186521fc6e53e7e50c77\n",
  "tree_diff": [
    {
      "type": "delete",
      "old_id": "e9f2b2f6cf7904c94d60f0fc35b07c5034fbf6c7",
      "old_mode": 33188,
      "old_path": "include/armnnTestUtils/MockWorkloadFactoryHelper.hpp",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "e33fed77d784f7240c27bdcfdca621fe371fd9b4",
      "old_mode": 33261,
      "old_path": "src/armnnTestUtils/CMakeLists.txt",
      "new_id": "061dd90d3dc10fbed9f2f77c9bdaedb20869f69e",
      "new_mode": 33261,
      "new_path": "src/armnnTestUtils/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "f560720c9b915afa4a294bcf2eb4e1c19351eefb",
      "old_mode": 33188,
      "old_path": "src/armnnTestUtils/UnitTests.hpp",
      "new_id": "71324dbf818189a05c709fcfff065a2b158064e3",
      "new_mode": 33188,
      "new_path": "src/armnnTestUtils/UnitTests.hpp"
    },
    {
      "type": "modify",
      "old_id": "5cce0511ab6602d6ec4788c1a7b3e57e4bc13ba0",
      "old_mode": 33188,
      "old_path": "src/backends/neon/NeonTimer.cpp",
      "new_id": "a7d3032b1375d1b8c2e001cc4eaf6d58c6256e6c",
      "new_mode": 33188,
      "new_path": "src/backends/neon/NeonTimer.cpp"
    },
    {
      "type": "modify",
      "old_id": "e413d045f9582030b1c7e9ead3bb629973a8cef0",
      "old_mode": 33188,
      "old_path": "src/backends/reference/test/RefWorkloadFactoryHelper.hpp",
      "new_id": "f0a842de578833e224f2198d724acd3cd63bbd91",
      "new_mode": 33188,
      "new_path": "src/backends/reference/test/RefWorkloadFactoryHelper.hpp"
    }
  ]
}
