)]}' { "commit": "df8bfc52d29d4f7a30d9ed3add6f25d492fc5b9e", "tree": "b12d48a214b151027023fe39b8b77162b97e68dc", "parents": [ "d6c7f39d47258e6a1f185eb876d020d5f8ecb34c" ], "author": { "name": "Jason Henline", "email": "jhen@google.com", "time": "Mon Sep 12 17:20:43 2016 +0000" }, "committer": { "name": "Copybara-Service", "email": "copybara-worker@google.com", "time": "Tue Sep 01 01:04:31 2020 -0700" }, "message": "[SE] Clean up device and host memory slices\n\nSummary:\n* Add LLVM_ATTRIBUTE_UNUSED_RESULT used to slicing methods in order to\n emphasize that the slicing is not done in place.\n* Change device memory slice function name from `drop_front` to `slice`\n in order to match the naming convention of `llvm::ArrayRef` and host\n memory slice.\n* Change the parameter names of host memory slice functions to\n `DropCount` and `TakeCount` to match device memory slice declarations.\n\nReviewers: jlebar\n\nSubscribers: jprice, parallel_libs-commits\n\nDifferential Revision: https://reviews.llvm.org/D24464\n\nllvm-svn: 281239\nGitOrigin-RevId: c16fb8748d0e8bbc72853f26cda012302206359b\n", "tree_diff": [ { "type": "modify", "old_id": "ee4ebb621e9db022fe779358a7a0c40b8388e419", "old_mode": 33188, "old_path": "streamexecutor/include/streamexecutor/DeviceMemory.h", "new_id": "bad6f6c99a14cb8e1b75e03580ded1ba6bea56fc", "new_mode": 33188, "new_path": "streamexecutor/include/streamexecutor/DeviceMemory.h" }, { "type": "modify", "old_id": "2e8e961aca17b4629d6d3877eb0ec65621eca532", "old_mode": 33188, "old_path": "streamexecutor/include/streamexecutor/HostMemory.h", "new_id": "cea98f4ed741a174641e23838c2ccda5388047f6", "new_mode": 33188, "new_path": "streamexecutor/include/streamexecutor/HostMemory.h" }, { "type": "modify", "old_id": "897399c02a8c494ce112ee49eca3d7ceb1a98d9a", "old_mode": 33188, "old_path": "streamexecutor/unittests/CoreTests/DeviceTest.cpp", "new_id": "8537f0a3af0abeef448f2723466c17f70e4f719d", "new_mode": 33188, "new_path": "streamexecutor/unittests/CoreTests/DeviceTest.cpp" }, { "type": "modify", "old_id": "34516e2c2dae0c4f37c2bf39c09bb1c63a523acf", "old_mode": 33188, "old_path": "streamexecutor/unittests/CoreTests/StreamTest.cpp", "new_id": "f353ec28c90ac47c66d4ef6043459ea8414e7d49", "new_mode": 33188, "new_path": "streamexecutor/unittests/CoreTests/StreamTest.cpp" } ] }