This is an archive of the discontinued LLVM Phabricator instance.

[StreamExecutor] Rename Executor to Device
ClosedPublic

Authored by jhen on Aug 24 2016, 1:22 PM.

Details

Diff Detail

Repository
rL LLVM

Event Timeline

jhen updated this revision to Diff 69163.Aug 24 2016, 1:22 PM
jhen retitled this revision from to [StreamExecutor] Rename Executor to Device.
jhen updated this object.
jhen added a reviewer: jlebar.
jhen added subscribers: parallel_libs-commits, jprice.
jlebar accepted this revision.Aug 24 2016, 1:31 PM
jlebar edited edge metadata.
jlebar added inline comments.
streamexecutor/lib/unittests/DeviceTest.cpp
476 ↗(On Diff #69163)

Looks like the file rename from ExecutorTest to DeviceTest was lost.

This revision is now accepted and ready to land.Aug 24 2016, 1:31 PM
jhen updated this revision to Diff 69169.Aug 24 2016, 2:01 PM
jhen edited edge metadata.

Explicitly rename ExecutorTest

jhen added inline comments.Aug 24 2016, 2:09 PM
streamexecutor/lib/unittests/DeviceTest.cpp
476 ↗(On Diff #69169)

I actually tried to fix this by redoing things with "git mv" to try to clue git in about the change, but it is still showing up as a separate deletion and addition. A little Googling suggests that this will happen if there are too many changes after the move because "git mv" is just an alias for "git rm && git add", so I think that's what happened here.

jlebar added inline comments.Aug 24 2016, 2:11 PM
streamexecutor/lib/unittests/DeviceTest.cpp
476 ↗(On Diff #69169)

Oh, I was hoping that git-svn would have something that would let you explicitly say "foo was renamed to bar". But it sounds like not:

Renamed and copied directories are not detected by Git and hence not tracked when committing to SVN. I do not plan on adding support for this as it’s quite difficult and time-consuming to get working for all the possible corner cases (Git doesn’t do it, either). Committing renamed and copied files is fully supported if they’re similar enough for Git to detect them.

https://git-scm.com/docs/git-svn

Oh well, not a big deal.

This revision was automatically updated to reflect the committed changes.
parallel-libs/trunk/streamexecutor/lib/unittests/DeviceTest.cpp